text
string
label
int64
{'name': '_getInputFromUser@packstack/installer/run_setup.py', 'description': 'this private func reads the data from the user\nfor the given param', 'signature': 'def _getInputFromUser(param):'}</s>{'name': 'process_add_quotes_around_values@packstack/installer/processors.py', 'description': 'Add a single quote characte...
0
{'name': 'DatasetWriter.__new__@accelerator/dataset.py', 'description': "columns can be {'name': 'type'} or {'name': ('type', none_support)}.\nIt can also be {'name': DatasetColumn} to simplify basing your dataset on another.", 'signature': "def __new__(cls, columns={}, filename=None, hashlabel=None, hashlabel_override...
0
{'name': 'split_dataset_into_train_val_test@datasets/make_files/generate_datasets.py', 'description': 'Split single-label into training/validation/testing sets.', 'signature': 'def split_dataset_into_train_val_test(save: bool = False) -> None:'}</s>{'name': 'get_class_weights@enzynet/tools.py', 'description': 'Gets cla...
0
{'name': 'gf_poly_eval@reedsolo6.py', 'description': "Evaluates a polynomial in GF(2^p) given the value for x. This is based on Horner's scheme for maximum efficiency.", 'signature': 'def gf_poly_eval(poly, x):'}</s>{'name': 'rs_find_errors@reedsolo6.py', 'description': "Find the roots (ie, where evaluation = zero) of ...
0
{'name': 'test_genetic_operations@gplearn/tests/test_genetic.py', 'description': "Check all genetic operations are stable and don't change programs", 'signature': 'def test_genetic_operations():'}</s>log1 = _Function(function=_protected_log, name='log', arity=1)
0
{'name': 'auto_from_dict@a38/fattura.py', 'description': 'Given the equivalent of a Fattura.to_jsonable() data structure,\nreconstruct the fattura', 'signature': 'def auto_from_dict('}</s>{'name': 'StringField@a38/fields.py', 'description': 'DOCSTRING', 'base_classes': ['ChoicesField[str]'], 'methods': [{'name': 'Strin...
0
{'name': 'predict_structure@colabfold/batch.py', 'description': 'Predicts structure using AlphaFold for the given sequence.', 'signature': 'def predict_structure('}</s>{'name': 'download_alphafold_params@colabfold/download.py', 'description': 'DOCSTRING', 'code': 'def download_alphafold_params(model_type: str, data_dir...
0
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>OP_PUSHDATA2 = CScriptOp(0x4d)
0
{'name': 'gcp_project_number@google-cloud-jupyter-config/google/cloud/jupyter_config/config.py', 'description': 'Helper method to get the project number for the project configured through gcloud', 'signature': 'def gcp_project_number():'}</s>{'name': 'gcp_project@google-cloud-jupyter-config/google/cloud/jupyter_config/...
1
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'followers@friendship/views.py', 'description': "List this user's followers", 'signature': 'def followers(request, username, template_name="friendship/follow/followers_list.html"):'}</s>{'name': 'block_add@friendship/views.py', 'description': 'Create a following relationship', 'code': 'def block_add(request, b...
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': 'Tempo.__init__@oqupy/tempo.py', 'description': 'Create a Tempo object. ', 'signature': 'def __init__('}</s>{'name': 'MeanFieldDynamics@oqupy/dynamics.py', 'description': 'Represents a time evolution of one or more system density matrices\nand a coherent field comprising a MeanFieldSystem.\n\nparameters\n-----...
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': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ICMP6_TIME_EXCEEDED = 3
0
{'name': 'guess_tempo_parameters@oqupy/tempo.py', 'description': 'Function to roughly estimate appropriate parameters for a TEMPO\ncomputation.\n\n.. warning::\n\n No guarantee that resulting TEMPO calculation converges towards the\n correct dynamics! Please refer to the TEMPO documentation and check\n converg...
0
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'check_executable@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Checks if the ...
0
{'name': 'parse_file@src/pyradox/filetype/txt.py', 'description': 'Parse a single file and return a Tree.\npath, game: \n If game is None, path is a full path and the game is determined from that.\n Or game can be supplied, in which case path is a path relative to the game directory.', 'signature': 'def parse_fil...
0
{'name': 'process_inspq_data@refreshdata.py', 'description': 'Processes new INSPQ data.\n\nParameters\n----------\nsources_dir : str\n Absolute path to source data dir.\nprocessed_dir : str\n Absolute path to processed data dir.\ndate : str\n Date of data to append (yyyy-mm-dd).', 'signature': 'def process_ins...
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>{'name': 'test_dependencies_on_boolean_field_with_one_value@cerberus/tests/...
0
{'name': '_to_typedef@swagger_to/elm_client.py', 'description': 'Translate the intermediate type definition to a definition of an Elm type.\n\n:param intermediate_typedef: intermediate type definition\n:return: definition of an Elm type', 'signature': 'def _to_typedef(intermediate_typedef: swagger_to.intermediate.Typed...
1
{'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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_SYSTEM_NAME_LENGTH = 8
0
{'name': 'generate_distance_list@tools/calibration-96tof1/tof_calib/sweep_calibration.py', 'description': 'Generate the list of distance steps given a target. min, max and step. \nThe distance has to pivot based on the target_distance. \ne.g. target_distance = 10, min_dist = 3, max_dist = 15, dist_step = 3\nthen the re...
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': 'predict_structure@colabfold/batch.py', 'description': 'Predicts structure using AlphaFold for the given sequence.', 'signature': 'def predict_structure('}</s>{'name': 'predicted_tm_score_modified@colabfold/alphafold/extra_ptm.py', 'description': 'Computes predicted TM alignment or predicted interface TM align...
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>MQCACF_FROM_PROCESS_NAME = 3003
0
{'name': 'getToolTips@qt4c/util.py', 'description': '获取系统的浮动tips\n\n:type className: 字符串\n:param className: 类名,默认值为"tooltips_class32"\n:type retry: 整数\n:param retry: 尝试次数,每个0.5秒尝试一次', 'signature': "def getToolTips(className='tooltips_class32', retry=10):"}</s>{'name': 'getEncoding@qt4c/util.py', 'description': "获取字符串的编...
0
{'name': 'RemoteTest.fill_default_arguments@tests/run_all_tests.py', 'description': 'Fills in default arguments for the RemoteTest object.\n\nThis method fills in default arguments for the RemoteTest object based\non the specified test name. It sets default values for test name filters,\nMinIO configurations, Google te...
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': 'DeviceThermalComfort.__init__@custom_components/thermal_comfort/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__('}</s>{'name': 'SensorThermalComfort@custom_components/thermal_comfort/sensor.py', 'description': 'Representation of a Thermal Comfort Sensor.', 'base_classes': ['Sen...
0
{'name': 'TestDateUtils.test_datetime_to_timestamp_implicit_utc@tests/test_dateutils.py', 'description': 'onedrivesdk-python returns datetime objects that do not have tzinfo but onedrive_client wants it to be explicit.\nThis test case check if the machine and program can handle implicit UTC.', 'signature': 'def test_da...
0
{'name': 'GetPostCtrl.post_detail@back/controller/posts.py', 'description': '用户点击文章链接跳详情页的数据接口,返回在这里找\n:param post_info:\n:return:', 'signature': 'def post_detail(post_info):'}</s>{'name': 'PostCategoryCtrl@back/controller/categories.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'PostCategor...
0
{'name': 'download_papers_given_url_and_group_id@lib/openreview.py', 'description': 'downlaod papers for the given web url and the paper group id\n:param save_dir: str, paper save path\n:type save_dir: str\n:param year: int, iclr year, current only support year >= 2018\n:type year: int\n:param base_url: str, paper webs...
0
{'name': 'Translator.get_options_for_model@modeltranslation/translator.py', 'description': 'Thin wrapper around ``_get_options_for_model`` to preserve the\nsemantic of throwing exception for models not directly registered.', 'signature': 'def get_options_for_model(self, model: type[Model]) -> TranslationOptions:'}</s>{...
0
{'name': 'test_correct_build_distribution_values@write_metrics/main_test.py', 'description': 'Test whether the correct distribution values are built given a timeseries input', 'signature': 'def test_correct_build_distribution_values():'}</s>{'name': 'build_request@write_metrics/main_test.py', 'description': 'Build a Pu...
0
{'name': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>supervised_learners = classifiers + regressors
0
{'name': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCNO_STANDARD_BINDING = 0
0
{'name': 'user_can_push@src/oca_github_bot/manifest.py', 'description': 'Check if the user is maintainer of all modified addons.\n\nAssuming, addons_dir is a git clone of an addons repository,\nreturn true if username is declared in the maintainers key\non the target branch, for all addons modified in the current branc...
0
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_DELETE_LOADBALANCER_POLICIES = "DeleteLoadBalancerPolicies"
0
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': 'make_mask_none@venv/Lib/site-packages/numpy/ma/core.py', 'descripti...
0
{'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': 'check_shapely_version@pygeos/io.py', 'description': 'This function will try to import shapely and extracts some necessary classes and functions from the package.\nIt also looks if Shapely and PyGEOS use the same GEOS version, as this means the conversion can be faster.\n\nThis function sets a few global varia...
0
{'name': 'humanbytes@resources/lib/util.py', 'description': 'Return the given bytes as a human friendly KB, MB, GB, or TB string', 'signature': 'def humanbytes(B):'}</s>NAME = "ARD und ZDF"
0
{'name': 'get_language_pack@jupyterlab_server/translation_utils.py', 'description': 'Get a language pack for a given `locale_` and update with any installed\npackage locales.\n\nReturns\n-------\ntuple\n A tuple in the form `(locale_data_dict, message)`.\n\nNotes\n-----\nWe call `_get_installed_language_pack_locales...
0
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ...
0
{'name': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>{'name': ...
0
{'name': 'get_n_batch@src/deepwave/common.py', 'description': 'Get the size of the batch dimension.', 'signature': 'def get_n_batch(args: List[Optional[Tensor]]) -> int:'}</s>{'name': 'check_extents_match_wavefields_shape@src/deepwave/common.py', 'description': 'DOCSTRING', 'code': 'def check_extents_match_wavefields_s...
0
{'name': 'chapters@module/save.py', 'description': 'create chapters folder ', 'signature': 'def chapters(url, course_folder_path):'}</s>{'name': 'animate_characters@module/message.py', 'description': 'printing ASCII arts line by line', 'code': "def animate_characters(color, string, speed):\n '''printing ASCII arts l...
0
{'name': 'yolov5m@ressources/yolov5/hubconf.py', 'description': 'YOLOv5-medium model from https://github.com/ultralytics/yolov5\n\nArguments:\n pretrained (bool): load pretrained weights into the model, default=False\n channels (int): number of input channels, default=3\n classes (int): number of model classes...
0
{'name': 'Neo4jTest.fill_default_arguments@tests/run_all_tests.py', 'description': 'Fills in default arguments for the Neo4jTest object\n\nThis function fills in default arguments for the Neo4jTest object\nbased on the specified test name. It sets default values for test name\nfilters, VDMS configurations, MinIO values...
0
{'name': 'IAMDataCollection.__get_iam_data@premise/data_collection.py', 'description': 'Read the IAM result file and return an `xarray` with dimensions:\n\n* region\n* variable\n* year\n\n:param key: encryption key, if provided by user\n:param filedir: file path to IAM file\n:param variables: list of variables to extra...
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': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'make_checkbox@src/python_scripts/afnipy/lib_qt_gui.py', 'description': 'DOCSTRING', 'code': "def make_checkbox(tex...
0
{'name': 'ewma@stock_pandas/commands/over_bought_or_sold.py', 'description': 'Exponentially weighted moving average\nhttps://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average\n\nwith\n- init value as `50.0`\n- alpha as `1 / period`', 'signature': 'def ewma('}</s>{'name': 'hhv@stock_pandas/commands/over_bo...
0
{'name': 'set_bar@library/dothat/backlight.py', 'description': 'Does nothing.\n\nImplemented for library compatibility with Dot3k backlight.', 'signature': 'def set_bar(index, value):'}</s>g_channel_gamma = [int(value / 1.6) for value in sn3218.default_gamma_table]
0
{'name': 'check_youtube_movie@get_new_ub_standalone.py', 'description': 'check youtube movie from user input\n\nif movie has error, exit program\n\nArgs:\n url_result (str): movie error type\n\nReturns:', 'signature': 'def check_youtube_movie(url_result):'}</s>{'name': 'analyze_movie@get_new_ub_standalone.py', 'desc...
0
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>{'name': 'AtomicAction@robopianist/viewer/util.py', 'description': 'An action that cannot be interrupted.', 'base_classes': [], 'methods': [{'name'...
0
{'name': 'TileMatrixSet.rasterio_crs@morecantile/models.py', 'description': 'Return rasterio CRS.', 'signature': 'def rasterio_crs(self):'}</s>{'name': '_parse_tile_arg@morecantile/utils.py', 'description': 'Parse the *tile arg of module functions\n\nCopy from https://github.com/mapbox/mercantile/blob/master/mercantile...
0
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>ICMP_REDIRECT_TOSNET = 2
0
{'name': 'fit@src/SparseSC/fit.py', 'description': ':param features: Matrix of features\n:type features: matrix of floats\n\n:param targets: Matrix of targets\n:type targets: matrix of floats\n\n:param model_type: Type of model being\n fit. One of ``"retrospective"``, ``"prospective"``,\n ``"prospective-restrict...
0
{'name': 'init@python/taichi/lang/misc.py', 'description': 'Initializes the Taichi runtime.\n\nThis should always be the entry point of your Taichi program. Most\nimportantly, it sets the backend used throughout the program.\n\nArgs:\n arch: Backend to use. This is usually :const:`~taichi.lang.cpu` or :const:`~taich...
0
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>HISTORY_EXPLANATION = [2008]
0
{'name': 'post_processing@ytmdl/main.py', 'description': 'Handle all the activities post search of the song.\n\nThis function will handle the following:\nConvert, Trim, Metadata, Cleaning up.', 'signature': 'def post_processing('}</s>{'name': 'is_valid@ytmdl/utility.py', 'description': 'Check if passed path is valid or...
0
{'name': 'build_conv_layer@mmdet/models/utils/conv_module.py', 'description': 'Build convolution layer\n\nArgs:\n cfg (None or dict): cfg should contain:\n type (str): identify conv layer type.\n layer args: args needed to instantiate a conv layer.\n\nReturns:\n layer (nn.Module): created conv layer...
0
{'name': 'Batcher.batch_sentences@language_model/bilm_tf/bilm/data.py', 'description': "Batch the sentences as character ids\nEach sentence is a list of tokens without <s> or </s>, e.g.\n[['The', 'first', 'sentence', '.'], ['Second', '.']]", 'signature': 'def batch_sentences(self, sentences: List[List[str]]):'}</s>{'na...
0
{'name': 'CallbackHandlerTest.test_callback_handler@tests/framework/test_callback_handler.py', 'description': 'Test CallbackHandler with all of the hooks on Callback', 'signature': 'def test_callback_handler(self) -> None:'}</s>{'name': 'CallbackHandlerTest@tests/framework/test_callback_handler.py', 'description': 'DOC...
1
{'name': 'find_path_dfs@One_Stroke/Find_Path.py', 'description': '利用深度优先算法快速求解满足条件的所有的路径,只要经过的网格的个数等于可以走的网格的个数,就是一个解\n:param node_list: 表示走过的网格列表,[[node_index], node_sign]],元素为网格索引和这个网格已经去往周围网格的个数,用于回溯\n:param map: 表示图的数组\n:param solution_list: 存储所有的是解的路径\n:param h: 图的竖直方向网格的个数\n:param w: 图的水平方向网格的个数\n:param s_i: 不可以走的...
1
{'name': 'UserGenericPermsMixin.has_module_perms@protector/models.py', 'description': 'Returns True if the user has any permissions in the given app label.\nUses pretty much the same logic as has_perm, above.', 'signature': 'def has_module_perms(self, app_label):'}</s>{'name': 'get_view_permission@protector/helpers.py'...
0
{'name': 'cleanup_mems@panoramix/simplify.py', 'description': "for every setmem, replace future occurences of it with it's value,\nif possible", 'signature': 'def cleanup_mems(trace):'}</s>{'name': 'to_real_int@panoramix/core/arithmetic.py', 'description': 'DOCSTRING', 'code': 'def to_real_int(exp):\n if type(exp) =...
0
{'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_119 = Badge("mout...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_APPL_INFO_ATTRS = 1425
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>{'name': 'run_command@versioneer.py', 'description': 'Call the given comm...
0
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\...
0
{'name': 'fmn@adv_lib/attacks/fast_minimum_norm.py', 'description': "Fast Minimum-Norm attack from https://arxiv.org/abs/2102.12827.\n\nParameters\n----------\nmodel : nn.Module\n Model to attack.\ninputs : Tensor\n Inputs to attack. Should be in [0, 1].\nlabels : Tensor\n Labels corresponding to the inputs if...
1
{'name': 'setup@jupyter_sphinx/__init__.py', 'description': 'A temporary setup function so that we can use it here and in execute.\n\nThis should be removed and converted into `setup` after a deprecation\ncycle.', 'signature': 'def setup(app: Sphinx):'}</s>{'name': 'JupyterCellNode@jupyter_sphinx/ast.py', 'description'...
1
{'name': 'TrinoQuery.cancel@trino/client.py', 'description': 'Cancel the current query', 'signature': 'def cancel(self) -> None:'}</s>{'name': 'close_executor@trino/client.py', 'description': 'DOCSTRING', 'code': 'def close_executor():\n executor.shutdown(wait=True)'}
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>MQSYSOBJ_YES = 0
0
{'name': 'from_jd@src/convertdate/gregorian.py', 'description': 'Return Gregorian date in a (Y, M, D) tuple', 'signature': 'def from_jd(jd):'}</s>HAVE_31_DAYS = (1, 3, 5, 7, 8, 10, 12)
0
{'name': 'main@nbinteract/cli.py', 'description': 'Parses command line options and runs nbinteract.', 'signature': 'def main():'}</s>DEFAULT_REQUIREMENTS_TXT = ''' numpy ipywidgets nbinteract '''.strip()
0
{'name': 'import_copy_file@imagegw/shifter_imagegw/transfer.py', 'description': 'Copy a file to the specified system', 'signature': 'def import_copy_file(filename, destfilename, system, logger=None):'}</s>{'name': 'pre_create_tempfile@imagegw/shifter_imagegw/transfer.py', 'description': 'Generate a tempfile for filenam...
1
{'name': 'GitlabTree.root_path@gitlabber/gitlab_tree.py', 'description': 'Get the root path for a node.\n\nArgs:\n node: Node to get path for\n \nReturns:\n Path string', 'signature': 'def root_path(self, node: Node) -> str:'}</s>log = logging.getLogger(__name__)
0
{'name': 'descriptor_loss_sparse@notebooks/test_sparse_loss.py', 'description': 'consider batches of descriptors\n:param descriptors:\n Output from descriptor head\n tensor [descriptors, Hc, Wc]\n:param descriptors_warped:\n Output from descriptor head of warped image\n tensor [descriptors, Hc, Wc]', 'signa...
1
{'name': 'HTTPConnectionPool.urlopen@blockchain-env/lib/python3.7/site-packages/urllib3/connectionpool.py', 'description': "Get a connection from the pool and perform an HTTP request. This is the\nlowest level call for making a request, so you'll need to specify all\nthe raw details.\n\n.. note::\n\n More commonly, i...
0
{'name': 'hist2dplot@src/mplhep/plot.py', 'description': 'Create a 2D histogram plot from `np.histogram`-like inputs.\n\nParameters\n----------\nH : object\n Histogram object with containing values and optionally bins. Can be:\n\n - `np.histogram` tuple\n - `boost_histogram` histogram object\n - raw histogr...
0
{'name': 'libmain@da/__main__.py', 'description': "Main program entry point.\n\nParses command line options, sets up global variables, and calls the 'main'\nfunction of the DistAlgo program.", 'signature': 'def libmain():'}</s>{'name': 'setup_logging_for_module@da/common.py', 'description': 'Configures package level lo...
0
{'name': 'flux_balance_impact_degree@cameo/flux_analysis/analysis.py', 'description': 'Flux balance impact degree by Zhao et al 2013\n\nParameters\n----------\nmodel: cobra.Model\n Wild-type model\nknockouts: list\n Reactions to knockout\nmethod: str\n The method to compute the perturbation. default is "fva" -...
0
{'name': 'get_chunk_text_metadata@6_AI-ML/2_gemini_LLM/notebooks/gemini-course/utils/intro_multimodal_rag_utils.py', 'description': '* Extracts text from a given page object, chunks it, and generates embeddings for each chunk.\n* Takes a page object, character limit per chunk, overlap between chunks, and embedding size...
1
{'name': 'test_learner_performance_is_invariant_under_scaling@adaptive/tests/test_learners.py', 'description': 'Learners behave identically under transformations that leave\n the loss invariant.\n\nThis is a statement that the learner makes decisions based solely\non the loss function.', 'signature': 'def test_learne...
0
{'name': 'addresses@n26/cli.py', 'description': 'Show account addresses ', 'signature': 'def addresses():'}</s>{'name': 'statements@n26/cli.py', 'description': 'Show your n26 statements ', 'code': 'def statements(id: str or None, param_from: datetime or None, param_to: datetime or None, download: str or None):\n ""...
0
{'name': 'create_eval_input_fn@object_detection/inputs.py', 'description': 'Creates an eval `input` function for `Estimator`.\n\nArgs:\n eval_config: An eval_pb2.EvalConfig.\n eval_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator` in ...
0
{'name': 'UFPCA.transform@FDApy/preprocessing/dim_reduction/ufpca.py', 'description': "Apply dimensionality reduction to the data.\n\nThe functional principal components scores are defined as the\nprojection of the observation :math:`X_i` on the eigenfunction\n:math:`\\phi_k`. These scores are given by:\n\n.. math::\n ...
1
{'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': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_any_required@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_any_required():\n schema = S...
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': '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': '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>opts = flags.FLAGS
1
{'name': 'NVMeOFConnectorTestCase.test_extend_volume_unreplicated_nvme_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'nvme command fails, so it rescans, waits, and reads size.', 'signature': 'def test_extend_volume_unreplicated_nvme_fails('}</s>{'name': 'trace@os_brick/utils.py', 'descriptio...
0