text
string
label
int64
{'name': 'cpython_tags@gyp/pylib/packaging/tags.py', 'description': "Yields the tags for a CPython interpreter.\n\nThe tags consist of:\n- cp<python_version>-<abi>-<platform>\n- cp<python_version>-abi3-<platform>\n- cp<python_version>-none-<platform>\n- cp<less than python_version>-abi3-<platform> # Older Python versi...
0
{'name': 'sample_obj@dynamic_raw_id/tests/test_integrity.py', 'description': 'Create a bit of sample data we can use to assign.', 'signature': 'def sample_obj(db: Any) -> dict[str, Any]:'}</s>{'name': 'IntPrimaryKeyModel@dynamic_raw_id/tests/testapp/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model...
1
{'name': 'scnym_api@scnym/api.py', 'description': 'scNym: Semi-supervised adversarial neural networks for\nsingle cell classification [Kimmel2020]_.\n\nscNym is a cell identity classifier that transfers annotations from one\nsingle cell experiment to another. The model is implemented as a neural\nnetwork that employs M...
0
{'name': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>{'name': 'ProcessContainer@da/sim.py', 'description': 'An abstract base class for process containers.\n\nOne ProcessContainer instance runs one DistAlgo process instance. ...
0
{'name': 'TestInvoiceGenerationCommand.test_2nd_sub_billing_after_trial_with_some_consumed_units_overflow@silver/tests/commands/test_generate_docs.py', 'description': 'The subscription:\n * start_date=2015-05-20\n * trial_end=2015-06-03\n * first billing_date=2015-06-01\n * second billing_date=2015-06-04 (r...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFI_AFLAG_BROADCAST = 2
0
{'name': 'CreateStyleFromConfig@tools/yapf/yapf/yapflib/style.py', 'description': 'Create a style dict from the given config.\n\nArguments:\n style_config: either a style name or a file name. The file is expected to\n contain settings. It can have a special BASED_ON_STYLE setting naming the\n style which it deri...
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': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>ICMP_ROUTERADVERT = 9
0
{'name': 'Dataset.__init__@lib/imdb_util.py', 'description': "This function reads in all datasets to be used in training and stores ANY relevant\ninformation which may be needed during training as a list of edict()\n(referred to commonly as 'imobj').\n\nThe function also optionally stores the image database (imdb) file...
0
{'name': 'add_fields@util/structs_gen.py', 'description': 'Loops through the fields of the json of a register, passed as parameter.\nReturns the structs and enums entries relative to the register, already\nindented.\n\n:param register_json: the json-like description of a register\n:return: the strings of the the struct...
0
{'name': '_EpanetRule.add_control_condition@wntr/epanet/io.py', 'description': 'Add a ControlCondition from an IfThenElseControl', 'signature': "def add_control_condition(self, condition, prefix=' IF'):"}</s>_PUMP_ENTRY = " {name:20s} {node1:20s} {node2:20s} {ptype:8s} {params:20s} {com:>3s} "
0
{'name': 'raw_in_count@h8mail/utils/localsearch.py', 'description': 'StackOverflow trick to rapidly count lines in big files.\nReturns total line number.', 'signature': 'def raw_in_count(filename):'}</s>{'name': 'local_search_single@h8mail/utils/localsearch.py', 'description': 'DOCSTRING', 'code': 'def local_search_sin...
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': 'pad@v2/nacos/utils/aes_util.py', 'description': 'pkcs5 padding', 'signature': 'def pad(byte_array: bytes) -> bytes:'}</s>{'name': 'str_to_bytes@v2/nacos/utils/encode_util.py', 'description': "将字符串转换为字节。\n\n:param text: 要转换的字符串\n:param encoding: 字符串的编码方式,默认为 'utf-8'\n:return: 转换后的字节", 'code': 'def str_to_bytes...
0
{'name': 'Table@src/python/bcc/table.py', 'description': 'Table(bpf, map_id, map_fd, keytype, leaftype, **kwargs)\n\nCreate a python object out of a reference to a bpf table handle', 'signature': 'def Table(bpf, map_id, map_fd, keytype, leaftype, name, **kwargs):'}</s>BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4
1
{'name': 'SyntaxTreeWidget.find_item@astviewer/tree.py', 'description': 'Finds the deepest node item that highlights the position at line_nr column_nr, and\nhas a position defined itself.\n\n:param tree_item: look within this QTreeWidgetItem and its child items\n:param position: (line_nr, column_nr) tuple', 'signature'...
1
{'name': 'main@alphapy/__main__.py', 'description': 'AlphaPy Main Program\n\nNotes\n-----\n(1) Initialize logging.\n(2) Parse the command line arguments.\n(3) Get the model configuration.\n(4) Create the model object.\n(5) Call the main AlphaPy pipeline.', 'signature': 'def main(args=None):'}</s>{'name': 'Partition@alp...
0
{'name': 'Logger.enable@local/clogging.py', 'description': ":param level is None: Enable logger and all its parents.\n:param level is other: Setting the root instance's `disable` attribute.", 'signature': 'def enable(self, level=None):'}</s>_logFiles = {}
0
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>{'name': 'IUSequenceRunAllocation@custom_components/irrigation_unlimited/irrigation_unlimited.py', ...
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_visionintpara...
0
{'name': '_draw_text_bbox@src/mplhep/plot.py', 'description': "Draw legend() and fetch it's bbox", 'signature': 'def _draw_text_bbox(ax):'}</s>{'name': 'process_histogram_parts@src/mplhep/utils.py', 'description': 'Parameters\n----------\n\n H : object\n Histogram object with containing values and optionally ...
0
{'name': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >...
0
{'name': '_Renderer.from_dict@neurodocker/reproenv/renderers.py', 'description': 'Instantiate a new renderer from a dictionary of instructions.', 'signature': 'def from_dict(cls, d: Mapping) -> _Renderer:'}</s>{'name': '_install@neurodocker/reproenv/renderers.py', 'description': 'DOCSTRING', 'code': 'def _install(pkgs:...
0
{'name': 'format_time@twitter_ads/utils.py', 'description': 'Formats a datetime as an ISO 8601 compliant string.', 'signature': 'def format_time(time):'}</s>{'name': 'get_version@twitter_ads/utils.py', 'description': 'Returns a string representation of the current SDK version.', 'code': 'def get_version():\n """Retu...
0
{'name': 'IntervalArray.__add__@nelpy/core/_intervalarray.py', 'description': 'add length to start and stop of each interval, or join two interval arrays without merging', 'signature': 'def __add__(self, other):'}</s>{'name': 'is_odd@nelpy/utils.py', 'description': 'Returns True if n is odd, and False if n is even.\nAs...
0
{'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': 'resolveAndSplit@ValveFileSystem/path.py', 'description': "recursively expands all environment variables and '..' tokens in a pathname", 'signature': 'def resolveAndSplit(path, envDict=None, raiseOnMissing=False):'}</s>{'name': 'projectRelativePath@ValveFileSystem/valve.py', 'description': 'returns a path inst...
0
{'name': 'REPL.run@hy/repl.py', 'description': 'Start running the REPL. Return 0 when done.', 'signature': 'def run(self):'}</s>{'name': 'enable_readers@hy/macros.py', 'description': 'DOCSTRING', 'code': 'def enable_readers(module, reader, names):\n _, namespace = derive_target_module(module, inspect.stack()[1][0])\...
0
{'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>EXCLUDES_FIELD = ErrorDefinition(0x06, 'excludes')
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'IntVector@src/api/python/z3/z3.py', 'description': "Return a list of integer constants of size `sz`.\n\n>>> X = ...
0
{'name': 'MGWRResults.__init__@stwr/gwr.py', 'description': 'Initialize class', 'signature': 'def __init__(self, model, params, predy, S, CCT, R, w):'}</s>{'name': 'STWRResultsLite@stwr/gwr.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'STWRResultsLite.__init__@stwr/gwr.py', 'descrip...
0
{'name': '_prepare_app_state_for_checkpoint@torchtnt/framework/callbacks/_checkpoint_utils.py', 'description': 'Prepares the application state for checkpointing.', 'signature': 'def _prepare_app_state_for_checkpoint('}</s>{'name': '_remove_app_state_keys@torchtnt/framework/callbacks/_checkpoint_utils.py', 'description'...
1
{'name': 'run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(tmpdir, allow_ips, connect_to, addresses, expected):'}</s>bitco...
1
{'name': 'get_all_news_by_type@Chapter13/NewsOrchestrator/views.py', 'description': 'Get all new by type', 'signature': 'def get_all_news_by_type(news_type, num_page, limit):'}</s>{'name': 'add_news@Chapter13/NewsOrchestrator/views.py', 'description': 'DOCSTRING', 'code': "def add_news(news_type):\n post_data = requ...
0
{'name': 'add_child_classes@sphinx_panels/panels.py', 'description': 'Add classes to specific child nodes.', 'signature': 'def add_child_classes(node):'}</s>DEFAULT_CARD = "shadow"
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': 'test_polort_const@src/python_scripts/afnipy/afni_util.py', 'description': 'compute the correla...
0
{'name': 'load_existing_model@models/utils.py', 'description': "Load an existing model from disk based on the provided metadata.\n\nArgs:\n model_metadata (dict): Metadata dictionary containing information about the model.\n dataset (torchvision.datasets): Dataset object used to instantiate the model.\n device...
0
{'name': 'log_to_csv@versions/speed-cam_12.06.py', 'description': 'Store date to a comma separated value file', 'signature': 'def log_to_csv(data_to_append):'}</s>configFilePath = os.path.join(baseDir, "config.py")
0
{'name': 'distance_between_points@private/api/great_circle_calculator/great_circle_calculator.py', 'description': 'This function computes the distance between two points in the unit given in the unit parameter. It will\ncalculate the distance using the haversine unless the user specifies haversine to be False. Then l...
1
{'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_movie@picasso/io.py', 'descri...
0
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>{'name': 'Device@src/LabJackPython.py', 'description': 'Device(handle, localId = None, serialNumber = None, ipAddress = "", devType = None...
0
{'name': 'EnumMeta._create_@plugins/sublime/enum-dist/enum/__init__.py', 'description': 'Convenience method to create a new Enum class.\n\n`names` can be:\n\n* A string containing member names, separated either with spaces or\n commas. Values are auto-numbered from 1.\n* An iterable of member names. Values are auto-...
0
{'name': 'createFamilies@python/app/mob_loc.py', 'description': 'creates families', 'signature': 'def createFamilies(config, residenceLocList, numWorkLoc, numSchoolLoc, personTypes):'}</s>{'name': 'loadConfig@python/app/mob_loc.py', 'description': 'load config file', 'code': 'def loadConfig(configFile):\n\t"""\n\tload ...
0
{'name': 'ProcessLine@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the fi...
0
{'name': 'TaprootTest.gen_test_vectors@test/functional/feature_taproot.py', 'description': 'Run a scenario that corresponds (and optionally produces) to BIP341 test vectors.', 'signature': 'def gen_test_vectors(self):'}</s>VALID_SIGHASHES_ECDSA = [ SIGHASH_ALL, SIGHASH_NONE, SIGHASH_SINGLE, SIGHASH_ANYO...
0
{'name': '_get_unique_value@pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py', 'description': 'Match attribute in text and return unique match.\n\n:returns: Single match.', 'signature': 'def _get_unique_value(attribute, text):'}</s>{'name': '_get_line_and_value@pkgs/development/in...
0
{'name': 'X509.save@src/M2Crypto/X509.py', 'description': 'Saves X.509 certificate to a file. Default output\nformat is PEM.\n\n:param filename: Name of the file the cert will be saved to.\n\n:param format: Controls what output format is used to save the cert.\n Either FORMAT_PEM or FORMAT_DER to save in ...
0
{'name': 'AbstractCodeEditorView._format@airflow_code_editor/code_editor_view.py', 'description': 'Sort imports and format code', 'signature': 'def _format(cls):'}</s>__all__ = ["AbstractCodeEditorView"]
0
{'name': 'Serial._reconfigure_port@serial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>{'name': 'N11_OVERLAPPED4DOLLAR_48E@serial/win32.py', 'description': 'DOCSTRING', 'base_classes': ['Union'], 'methods': []}
0
{'name': 'Slides.generate@d2lbook/slides.py', 'description': 'Get all slide blocks and write to file.', 'signature': 'def generate(self, nb: notebooknode.NotebookNode, output_fn: str):'}</s>{'name': 'get_files_to_rm@d2lbook/utils.py', 'description': 'Return files under tgt_dir whose corresponding src file is removed un...
0
{'name': 'check_format_of_annotation_in_file@tools/task-SI_scorer.py', 'description': ':param row: a list of fields describing the annotation elements (technique name, start_span, end_span)\n:param i:\n:return:', 'signature': 'def check_format_of_annotation_in_file(row, i, techniques_names, filename):'}</s>logger = log...
1
{'name': 'user_timeline@twitter_to_sqlite/cli.py', 'description': 'Save tweets posted by specified user', 'signature': 'def user_timeline('}</s>RATE_LIMIT_ERROR_CODE = 88
0
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'mat2euler@lib/util.py', 'description': 'DOCSTRING', 'code': "def mat2euler(R):\n\n sy = ma...
0
{'name': 'eval_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer):'}</s>BN_INIT_DECAY = 0.5
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'ControlInterface.udpclient@xled/control.py', 'description': 'Client for sending UDP packets to the realtime port\n\n:return: the UDP client\n :py:class:`~.udp_client.UDPClient()`.\n:rtype: udp_client.UDPClient', 'signature': 'def udpclient(self):'}</s>SHARED_KEY_CHALLANGE = b'evenmoresecret!!'
0
{'name': 'get_mouse_position@examples/wechat_windows.py', 'description': '获取鼠标位置', 'signature': 'def get_mouse_position():'}</s>{'name': 'weixin_operation@examples/wechat_windows.py', 'description': 'DOCSTRING', 'code': 'def weixin_operation(hwd, msg):\n # 点击联系人\n left_click_position(hwd, 200, 100, 0.1)\n # 写入...
0
{'name': 'Decoder.decode_list@transit/decoder.py', 'description': "Special case decodes map-as-array.\nOtherwise lists are treated as Python lists.\n\nArguments follow the same convention as the top-level 'decode'\nfunction.", 'signature': 'def decode_list(self, node, cache, as_map_key):'}</s>PY3 = sys.version_info[0] ...
0
{'name': 'get_handler_object@bin/crankd.py', 'description': 'Return a single instance of class_name, instantiating it if necessary.', 'signature': 'def get_handler_object(class_name):'}</s>{'name': 'add_fs_notification@bin/crankd.py', 'description': 'Adds an FSEvent notification for the specified path.', 'code': 'def a...
0
{'name': 'DepthImage.open@autolab_core/image.py', 'description': 'Creates a DepthImage from a file.\n\nParameters\n----------\nfilename : :obj:`str`\n The file to load the data from. Must be one of .png, .jpg,\n .npy, or .npz.\n\nframe : :obj:`str`\n A string representing the frame of reference in which the ne...
0
{'name': 'parse_return_val@disdat/hyperframe.py', 'description': 'Interpret the return values and create an HFrame to wrap them.\nThis means setting the correct presentation bit in the HFrame so that\nwe call downstream tasks with parameters as the author intended.\n\nPOLICY / NOTE: An non-HF output is a Presentable.\...
0
{'name': 'safe_dump@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Serialize a Python object into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump(data, stream=None, **kwds):'}</s>{'name': 'SafeDumper@Others_Labs/code/...
1
{'name': 'TestThresholdBased.test_basic@verif/tests/test_metric.py', 'description': 'Test the basic threshold-based metrics ', 'signature': 'def test_basic(self):'}</s>{'name': 'TestObsFcstBased@verif/tests/test_metric.py', 'description': 'DOCSTRING', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'TestObs...
0
{'name': 'TDClient.hours@tdameritrade/client.py', 'description': "get market hours\n\nArgs:\n market (str): market to get hours for, in ('EQUITY', 'OPTION', 'FUTURE', 'BOND', 'FOREX')\n date (str): date to get hours for, yyyy-MM-dd or yyyy-MM-dd'T'HH:mm::ssz", 'signature': 'def hours(self, market="EQUITY", date=N...
0
{'name': 'SimpleIngestManager.__init__@snowflake/ingest/simple_ingest_manager.py', 'description': 'Simply instantiates all of our local state\n:param account: the name of the account who is loading\n:param user: the name of the user who is loading\n:param pipe: the name of the pipe which we want to use for ingesting\n:...
0
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>UNICODE_REPLACEMENT_CHAR = 65533
0
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>DATA_KEY = "wb_irrigation.devices"
0
{'name': 'NDInputAttrTree._renameAttr@scripts/mpylib/ui/mpynode_designer.py', 'description': 'Triggered when the user renames an attribute using the UI', 'signature': 'def _renameAttr(self, item, col):'}</s>{'name': 'NDScriptEditor@scripts/mpylib/ui/mpynode_designer.py', 'description': 'DOCSTRING', 'base_classes': ['Qt...
0
{'name': 'edge_to_surface_pts@voxelmorph/py/utils.py', 'description': 'Converts edges to surface points.', 'signature': 'def edge_to_surface_pts(X_edges, nb_surface_pts=None):'}</s>{'name': 'default_unet_features@voxelmorph/py/utils.py', 'description': 'DOCSTRING', 'code': 'def default_unet_features():\n nb_features...
0
{'name': 'diff@dictdiffer/__init__.py', 'description': "Compare two dictionary/list/set objects, and returns a diff result.\n\nReturn an iterator with differences between two objects. The diff items\nrepresent addition/deletion/change and the item value is a *deep copy*\nfrom the corresponding source or destination obj...
0
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d...
0
{'name': 'HTTPRequest.read_request_line@cheroot/server.py', 'description': "Read and parse first line of the HTTP request.\n\nReturns:\n bool: True if the request line is valid or False if it's malformed.", 'signature': 'def read_request_line(self): # noqa: C901 # FIXME'}</s>{'name': 'MaxSizeExceeded@cheroot/error...
0
{'name': '_Printer._FieldToJsonObject@python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>{'name': 'Default@python/google/protobuf/symbol_database.py', 'description': 'Returns the default Sy...
0
{'name': 'test_make_importer@elpis/transformer/test_transformer.py', 'description': 'Use the make_importer function to create an importer data transformer.', 'signature': 'def test_make_importer(tdtaf, tmpdir):'}</s>{'name': 'test_dt_import_files_direct_call@elpis/transformer/test_transformer.py', 'description': 'Check...
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>{'name': 'PFGid@pf/rule.py', 'description': 'Class representing a group ID.', 'base_classes': ['PFOp'], 'methods': [{'name': 'PFGid.__init__@pf/rule.py', 'description': 'Ch...
0
{'name': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'CloseMatch@SneakerBot 2019/venv/lib/python3.7...
0
{'name': 'test_simple_reroute_2@tests/test_traffic_scheduling_problem.py', 'description': 'to loads on a collision path.\n\n[1]<-->[2]<-->[3]<-->[4]\n | ^\n +---->[5]-->[6]------+', 'signature': 'def test_simple_reroute_2():'}</s>{'name': 'NoSolution@graph/traffic_scheduling_problem.py', 'description...
0
{'name': 'run@onlinejudge_command/subcommand/login.py', 'description': ':returns: whether it is logged in or not.', 'signature': 'def run(args: argparse.Namespace) -> bool:'}</s>user_data_dir = utils.user_data_dir
0
{'name': 'InitializerListTestCase.test@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test(self):'}</s>{'name': 'run_to_breakpoint_...
0
{'name': 'GeoNetcdf.__init__@salem/datasets.py', 'description': 'Open the file and try to understand it.\n\nParameters\n----------\nfile: path to the netcdf file\ngrid: a Grid object. This will override the normal behavior of\nGeoNetcdf, which is to try to understand the grid automatically.\ntime: a time array. This wi...
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': 'DummyModule1@tests/test_modules/modules.py', 'description': 'This is a dummy module.', 'base_classes': ['module.BaseModule'], 'methods': [{'na...
1
{'name': 'run@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>_DATA_URL = "http://yann.lecun.com/exdb/mnist/"
0
{'name': 'font_size_splitter@art/utils.py', 'description': 'Split fonts to 4 category (small,medium,large,xlarge) by maximum length of letter in each font.\n\n:param font_map: input fontmap\n:type font_map : dict\n:return: splitted fonts as dict', 'signature': 'def font_size_splitter(font_map):'}</s>TEXT_XLARGE_THRESHO...
0
{'name': 'test_issue_x000D@tests/test_files.py', 'description': 'Fix _x000D_ issue\nhttps://stackoverflow.com/questions/29976234/openpyxl-unicode-values', 'signature': 'def test_issue_x000D(temp_file):'}</s>{'name': 'test_issue_30_cell_range_value@tests/test_files.py', 'description': 'DOCSTRING', 'code': 'def test_issu...
0
{'name': 'API.lamps@pymyq/api.py', 'description': 'Return only those devices that are lamps.', 'signature': 'def lamps(self) -> Dict[str, MyQLamp]:'}</s>{'name': 'MyQDevice@pymyq/device.py', 'description': 'Define a generic device.', 'base_classes': [], 'methods': [{'name': 'MyQDevice.__init__@pymyq/device.py', 'descri...
0
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme...
0
{'name': 'load@robopianist/music/__init__.py', 'description': 'Make a MidiFile object from a path or name.\n\nArgs:\n path_or_name: Path or name of the midi file.\n stretch: Temporal stretch factor. Values greater than 1.0 slow down a song, and\n values less than 1.0 speed it up.\n shift: Number of semi...
1
{'name': 'HKY85@treetime/nuc_models.py', 'description': 'Hasegawa, Kishino and Yano 1985 model. Allows different concentrations of the\nnucleotides (as in F81) + distinguishes between transition/transversionsubstitutions\n(similar to K80). Link:\nHasegawa, Kishino, Yano (1985), J. Mol. Evol. 22 (2): 160–174. doi:10.100...
0
{'name': '_Printer._FieldToJsonObject@python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>_FEATURESET_FIELD_PRESENCE_LEGACY_REQUIRED = 3
0
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>yaccdebug = True
0
{'name': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>{'name': 'test_cls_lookup_map_fail@tests/test_bare.py', 'description': 'DOCSTRING', 'code': "def test_cls_lookup_map_fail():...
0
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'plot_3D_point@lib/util.py', 'description': 'DOCSTRING', 'code': "def plot_3D_point(fig, point...
0
{'name': 'Connection.trailing_data@h11/_connection.py', 'description': "Data that has been received, but not yet processed, represented as\na tuple with two elements, where the first is a byte-string containing\nthe unprocessed data itself, and the second is a bool that is True if\nthe receive connection was closed.\n\...
0
{'name': 'inv_mel_spectrogram@utils/audio.py', 'description': 'Converts mel spectrogram to waveform using librosa', 'signature': 'def inv_mel_spectrogram(mel_spectrogram, hparams):'}</s>{'name': 'inv_spectrogram@utils/audio.py', 'description': 'DOCSTRING', 'code': 'def inv_spectrogram(spectrogram,hparams):\n S = _db...
0
{'name': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as fast as it can, pigz -> bgzip -> gzip', 'signature': 'def Fzip(input, output, cpus):'}</s>{'name': 'fastalen2dict@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def fastalen2dict(input):\n Lengths = {}\n with open(input, 'r') as infil...
0
{'name': 'get_measures@gnocchi/rest/aggregates/processor.py', 'description': 'Get aggregated measures of multiple entities.\n\n:param storage: The storage driver.\n:param metrics_and_aggregations: List of metric+agg_method tuple\n measured to aggregate.\n:param from timestamp: The timest...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PF_POOL_RANDOM = 2
0
{'name': 'collect_inventory_license_expression@src/attributecode/model.py', 'description': 'Read the inventory file at location and return a list of ABOUT objects without\nvalidation. The purpose of this is to speed up the process for `gen_license` command.', 'signature': 'def collect_inventory_license_expression(loca...
0