text
string
label
int64
{'name': 'get_apps@test/test_apps/test_apps.py', 'description': 'Get all apps from apps_dir. If the WHITELIST contains any elements,\nit only obtains those apps. Skips the BLACKLIST apps.\n\nReturns the list of apps.', 'signature': 'def get_apps(apps_dir):'}</s>{'name': 'Application@test/test_apps/test_apps.py', 'descr...
1
{'name': 'test_image_upgrade_01030@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\n- User explicitly sets default values for several options.\n- ``policy_changed`` ...
0
{'name': 'test_trino_query_response_headers@tests/unit/test_client.py', 'description': 'Validates that the `TrinoQuery.execute` function can take addtional headers\nthat are pass the the provided request instance post function call and it\nreturns a `TrinoResult` instance.', 'signature': 'def test_trino_query_response_...
0
{'name': 'plot_on_site_potential@macrodensity/plotting.py', 'description': "Plot on-site electrostatic potential for a specific species.\n\nThis function reads the electronic potential from the specified VASP\noutput file (LOCPOT) and the atomic coordinates from the POSCAR file.\nIt then calculates the on-site electros...
0
{'name': 'TimeUnit._normalize_unit@graphite_beacon/units.py', 'description': "Resolve a unit to its real name if it's an alias.\n\n:param unit str: the unit to normalize\n:return: the normalized unit, or None one isn't found\n:rtype: Union[None, str]", 'signature': 'def _normalize_unit(cls, unit):'}</s>NUMBER_RE = re.c...
0
{'name': 'U3.loadConfig@src/u3.py', 'description': 'Name: U3.loadConfig( configParserObj ) \nArgs: configParserObj, A Config Parser object to load in\nDesc: Takes a configuration and updates the U3 to match it.', 'signature': 'def loadConfig(self, configParserObj):'}</s>{'name': 'BitStateWrite@src/u3.py', 'description'...
0
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>KEY_KP_...
0
{'name': 'Region.__add__@polytope/polytope.py', 'description': 'Return union with Polytope or Region.\n\nApplies convex simplification if possible.\nTo turn off this check,\nuse Region.union\n\n@type other: L{Polytope} or L{Region}\n@rtype: L{Region}', 'signature': 'def __add__(self, other):'}</s>{'name': '_rotate@poly...
0
{'name': 'EstimateFeeTest.setup_network@qa/rpc-tests/smartfees.py', 'description': "We'll setup the network to have 3 nodes that all mine with different parameters.\nBut first we need to use one node to create a lot of small low priority outputs\nwhich we will use to generate our transactions.", 'signature': 'def setup...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_SET_AUTH_REC = 90
0
{'name': 'adjust_viewbox@make_svg_font.py', 'description': 'Changes viewbox\'s values.\n\nThe regex match will contain 4 groups:\n 1. String from \'<svg\' up to the space before \'viewBox\'\n 2. The whole \'viewBox\' property (e.g. \' viewBox="0 100 128 128"\')\n 3. The \'viewBox\' values\n 4. Remainder of ...
0
{'name': 'LndNode.__init__@lndmanage/lib/node.py', 'description': ':param config_file: path to the config file\n:param lnd_home: path to lnd home folder\n:param lnd_host: lnd host of format "127.0.0.1:9735"\n:param regtest: if the node is representing a regtest node', 'signature': 'def __init__(self, config_file: Optio...
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': 'ModelRunner.write_classification_outputs@araelectra/run_finetuning.py', 'description': 'Write classification predictions to disk.', 'signature': 'def write_classification_outputs(self, tasks, trial, split):'}</s>{'name': 'log_config@araelectra/util/utils.py', 'description': 'DOCSTRING', 'code': 'def log_confi...
0
{'name': '_get_stream_parameters@sounddevice.py', 'description': 'Get parameters for one direction (input or output) of a stream.', 'signature': 'def _get_stream_parameters(kind, device, channels, dtype, latency,'}</s>{'name': '_wrap_callback@sounddevice.py', 'description': 'Invoke callback function and check for custo...
0
{'name': 'HAProxy.show_acl@haproxyadmin/haproxy.py', 'description': 'Dump info about acls.\n\nWithout argument, the list of all available acls is returned.\nIf a aclid is specified, its contents are dumped.\n\n:param aclid: (optional) acl id or a file\n:type aclid: ``integer`` or a file path passed as ``string``\n:retu...
1
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Permission@infoblox_client/objects.py', 'description': "Permission: Permissio...
0
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
0
{'name': 'show_settings@versions/speed-cam_13.07.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>{'name': 'subdir_checks@versions/speed-cam_13.07.py', 'description': 'Check if motion SubDir needs to be created', 'code': 'def subdir_checks(ma...
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_ci_delete_asr_template@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_delete_asr_template():\n response = ...
0
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature...
0
{'name': 'ProcessFileData@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file...
0
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
0
{'name': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>{'name': 'ResponseNotReady@src/future/backports/http/client.py', 'description': 'DOCSTRING', 'base_classes': ['ImproperConnectionState'], 'methods': []}
0
{'name': 'RunInReactorTests.test_signature@crochet/tests/test_api.py', 'description': 'The function decorated with the run_in_reactor decorator has the same\nsignature as the original function.', 'signature': 'def test_signature(self):'}</s>{'name': 'ResultRegistryTests@crochet/tests/test_api.py', 'description': 'Tests...
0
{'name': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'test_callback@responses/tests/test_responses.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>pid = run_dir + "/pid.txt"
0
{'name': 'Command.tosieve@sievelib/commands.py', 'description': 'Generate the sieve syntax corresponding to this command\n\nRecursive method.\n\n:param indentlevel: current indentation level\n:param target: opened file pointer where the content will be printed', 'signature': 'def tosieve(self, indentlevel: int = 0, tar...
0
{'name': 'remove_nan@source/tomopy/misc/corr.py', 'description': 'Replace NaN values in array with a given value.\n\nParameters\n----------\narr : ndarray\n Input array.\nval : float, optional\n Values to be replaced with NaN values in array.\nncore : int, optional\n Number of cores that will be assigned to jo...
0
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'add_translation_fields@modeltranslation/translator.py', 'description': 'Monkey patches the original model class to pr...
0
{'name': 'edge_blocked_comparisons@snippets/ch09/resolve.py', 'description': 'A generator of pairwise comparisons, that highlights comparisons\nbetween nodes that have an edge to the same entity.', 'signature': 'def edge_blocked_comparisons(G):'}</s>{'name': 'similarity@snippets/ch09/resolve.py', 'description': "Return...
0
{'name': 'direct_periodogram@ftperiodogram/tests/test_modeler.py', 'description': 'computes periodogram at a given frequency directly,\nusing grid search for the best phase shift', 'signature': 'def direct_periodogram(freq, template, data, nshifts=50):'}</s>{'name': 'convert_template@ftperiodogram/tests/test_modeler.py...
0
{'name': 'parse_arguments@cwl_airflow/utilities/parser.py', 'description': 'Parses provided through argsl arguments.\nAll relative paths will be resolved relative\nto the cwd or current working directory.\nSet argsl to [""] if empty to prevent argparse from failing', 'signature': 'def parse_arguments(argsl, cwd=None):'...
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': '_ConfigFlagTestCase.assert_equal_configs@ml_collections/config_flags/tests/config_overriding_test.py', 'description': 'Checks if two configs are identical.', 'signature': 'def assert_equal_configs(self, config1, config2):'}</s>_TYPEERROR_CONFIG_FILE = '{}/typeerror_config.py'.format(_TEST_DIRECTORY)
0
{'name': 'AGFusionDBBManager.fetch_refseq_table@agfusion/database.py', 'description': 'fetch RefSeq IDS', 'signature': 'def fetch_refseq_table(self):'}</s>CODING_COMBINATIONS = list(itertools.product(JUNCTION_LOCATIONS, JUNCTION_LOCATIONS))
0
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': 'Match@scripts/cpplint.py', 'description': 'Matches the string with the pattern, caching the compiled regexp.', 'code': 'def Match(pattern, ...
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': 'to_int_special@src/python_scripts/afnipy/afni_util.py', 'description': 'basically return int(cval), but if cval==s...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQPROTO_MQTTV311 = 4
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': '_z3_assert@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def _z3_assert(cond, msg):\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': '_stream_callback@jupylet/audio/device.py', 'description': 'Compute and set the sound data to be played in a few milliseconds.\n\nArgs:\n outdata (ndarray): The sound device output buffer.\n frames (int): The number of frames to compute and set into the output\n buffer.\n _time (struct): A bunc...
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'UafWatchpoint@gef.py', 'description': 'Custo...
0
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'choose@src/python_scripts/afnipy/afni_util.py', 'description': 'r...
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>MQ_COMM_INFO_NAME_LENGTH = 48
0
{'name': 'build_libraries@capstone/bindings/python/setup_cython.py', 'description': "Prepare the capstone directory for a binary distribution or installation.\nBuilds shared libraries and copies header files.\n\nWill use a src/ dir if one exists in the current directory, otherwise assumes it's in the repo", 'signature'...
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_RESOLVED_LOCAL_Q_MGR = 3194
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_Q_NAMES = 3011
0
{'name': 'textures_locate_cmd@cjio/cjio.py', 'description': 'Output the location of the texture files.', 'signature': 'def textures_locate_cmd():'}</s>{'name': 'save_cmd@cjio/cjio.py', 'description': "Save to a CityJSON file.\n\nSave to a file on disk, or 'stdout' pipes the file to the standart output.\n\nUsage example...
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': 'train@s5/train.py', 'description': 'Main function to train over a certain number of epochs', 'signature': 'def train(args):'}</s>Datasets = { # Other loaders. "mnist-classification": create_mnist_classification_dataset, "pmnist-classification": create_pmnist_classification_dataset, "cifar-classification":...
1
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>OP_NUMEQUAL = CScriptOp(0x9c)
0
{'name': 'test_skip_decorators@tests/test_coverage.py', 'description': 'Tests ignoring of property decorators', 'signature': 'def test_skip_decorators(ignore_setter, ignore_deleter, ignore_property, coverage):'}</s>{'name': 'test_legacy_save_to_file_printer_empty_file@tests/test_coverage.py', 'description': 'DOCSTRING'...
0
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>{'name': 'parse_date@src/back/kite/bottle.py', 'descripti...
0
{'name': 'ExpressionEngine._convert_text@src/chameleon/compiler.py', 'description': 'Converts value given by ``target`` to text.', 'signature': 'def _convert_text(self, target, char_escape):'}</s>{'name': 'identifier@src/chameleon/compiler.py', 'description': 'DOCSTRING', 'code': 'def identifier(prefix: str, suffix: st...
0
{'name': '_parse_args@ez_setup.py', 'description': 'Parse the command line for options.', 'signature': 'def _parse_args():'}</s>{'name': 'download_setuptools@ez_setup.py', 'description': "Download setuptools from a specified location and return its filename.\n\n`version` should be a valid setuptools version number that...
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': 'SciQuery.get_rdb_compute_domain@py3/SciServer/SciQuery.py', 'description': "Returns an object of class RDBComputeDomain, either defined by the input name or identifiers, or that\nwhich is set in the SciQuery instance.\n\n:param rdb_compute_domain: defines a domain or environment of multiple databases where us...
0
{'name': 'Configuration.__init__@python-build-with-qt/sip-4.11.2/sipconfig.py', 'description': 'Initialise an instance of the class.\n\nsub_cfg is the list of sub-class configurations. It should be None\nwhen called normally.', 'signature': 'def __init__(self, sub_cfg=None):'}</s>{'name': 'Configuration@python-build-w...
1
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'num_found_in_pa...
0
{'name': '_nested_lookup@src/libs/util.py', 'description': 'Lookup a key in a nested document, yield a value', 'signature': 'def _nested_lookup(key, values, document, wild=False, return_parent=False):'}</s>{'name': 'get_region_scope_first_match@src/libs/util.py', 'description': 'DOCSTRING', 'code': 'def get_region_scop...
0
{'name': 'parse_numbers@verif/util.py', 'description': 'Parses numbers from an input string. Recognizes MATLAB syntax, such as:\n3 single numbers\n3,4,5 list of numbers\n3:5 number range\n3:2:12 number range with a step size of 2\n3,4:6,2:5:9,6 combinations\n\nAborts if the num...
0
{'name': 'associate_all@Pose2Sim/personAssociation.py', 'description': "For each frame,\n- Find all possible combinations of detected persons\n- Triangulate 'tracked_keypoint' for all combinations\n- Reproject the point on all cameras\n- Take combination with smallest reprojection error\n- Write json file with only one...
0
{'name': 'loadSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the swagger definitions for APIs\n:return: None', 'signature': 'def loadSwagger():'}</s>apim_version = ""
0
{'name': 'AllMsgGenerator.get_coupon_data@spider_project/dzdp/details/crawler.py', 'description': '优惠券', 'signature': 'def get_coupon_data(self):'}</s>{'name': 'ShopModel@spider_project/dzdp/details/crawler.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
0
{'name': 'test_style_override_precedence_dark@tests/test_cli.py', 'description': 'Test that dump styles works correctly\n ', 'signature': 'def test_style_override_precedence_dark(tmpdir):'}</s>{'name': 'BulletsSchema@lookatme/schemas.py', 'description': 'DOCSTRING', 'base_classes': ['Schema'], 'methods': []}
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>MQRC_CFIN_ERROR = 2237
0
{'name': 'get_operand_registers@peachpy/x86_64/operand.py', 'description': 'Returns a set of registers that comprise the operand', 'signature': 'def get_operand_registers(operand):'}</s>{'name': 'is_r32@peachpy/x86_64/operand.py', 'description': 'DOCSTRING', 'code': 'def is_r32(operand):\n import peachpy.x86_64.regi...
0
{'name': 'request_get_body@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the canonical signature input for a prepared request.', 'signature': 'def request_get_body(handle: RequestHandle) -> str:'}</s>{'name': 'pool_submit_request@wrappers/python/indy_vdr/bindings.py', 'description': 'Publishes a prepared r...
0
{'name': 'BisectRunner.run@nix_bisect/bisect_runner.py', 'description': 'Finds the first bad commit', 'signature': 'def run(self, bisect_fun):'}</s>{'name': 'parents@nix_bisect/git.py', 'description': 'Returns all parent revisions of a revision', 'code': 'def parents(rev):\n """Returns all parent revisions of a revi...
0
{'name': 'pose_vec2mat@inverse_warp.py', 'description': 'Convert 6DoF parameters to transformation matrix.\n\nArgs:s\n vec: 6DoF parameters in the order of tx, ty, tz, rx, ry, rz -- [B, 6]\nReturns:\n A transformation matrix -- [B, 3, 4]', 'signature': "def pose_vec2mat(vec, rotation_mode='euler'):"}</s>{'name': ...
0
{'name': 'LambdaSupportTest.test_parameters_with_mixed_inferred_and_declared_types@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'this tests that lambda type specification mixing is considered\ninvalid as per the specifications.', 'signature': 'def test_parameters_with_mixed_inferred_and_de...
0
{'name': 'is_same_transform@transformations.py', 'description': 'Return True if two matrices perform same transformation.\n\n>>> is_same_transform(numpy.identity(4), numpy.identity(4))\nTrue\n>>> is_same_transform(numpy.identity(4), random_rotation_matrix())\nFalse', 'signature': 'def is_same_transform(matrix0, matrix1...
0
{'name': 'sevenZipTest@common.py', 'description': 'Validate/Test a 7-zip archive.\n\n:param archive_path: The path to the archive to test\n:return: The 7-zip return code as an int (0 is Success),', 'signature': 'def sevenZipTest(archive_path):'}</s>{'name': 'aria@common.py', 'description': 'Calls aria2c with some defau...
0
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro...
0
{'name': 'LossModel.load_model_parameters@pelicun/model/loss_model.py', 'description': 'Load loss model parameters.\n\nParameters\n----------\ndata_paths: list of (string | DataFrame)\n List of paths to data or files with loss model\n information. Default XY datasets can be accessed as\n PelicunDefault/XY. Ord...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQADOPT_TYPE_SDR = 4
0
{'name': 'detach@aegea/ebs.py', 'description': 'Detach an EBS volume from an EC2 instance.\n\nIf *volume_id* does not start with "vol-", it is interpreted as a mountpoint on the local instance,\nmapped to its underlying EBS volume, unmounted and detached.', 'signature': 'def detach(args):'}</s>logger = logging.getLogge...
1
{'name': 'data_mnist@utils/mnist.py', 'description': 'Preprocess MNIST dataset', 'signature': 'def data_mnist(one_hot=True):'}</s>{'name': 'modelB@utils/mnist.py', 'description': 'DOCSTRING', 'code': "def modelB():\n model = Sequential()\n model.add(Dropout(0.2, input_shape=(gv.IMAGE_ROWS,\n ...
0
{'name': 'Node.has_children@hamlish_jinja.py', 'description': 'returns False if children is empty or contains only empty lines else True.', 'signature': 'def has_children(self):'}</s>{'name': 'ExtendedJinjaTag@hamlish_jinja.py', 'description': 'DOCSTRING', 'base_classes': ['Node'], 'methods': []}
0
{'name': 'Lorentzian_asymmetric._function@dynaphopy/analysis/fitting/fitting_functions.py', 'description': 'Lorentzian asymmetric function\nx: frequency coordinate\na: peak position\nb: half width\nc: area proportional parameter\nd: base line\ns: asymmetry parameter', 'signature': 'def _function(self, x, a, b, c, d, s)...
1
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>SERVICE_LOAD_SCHEDULE = "load_schedule"
0
{'name': 'create_role@lib/workshop.py', 'description': 'Creates a new role if there is not already a role by that name', 'signature': 'def create_role(iam, policy_name, assume_role_policy_document, inline_policy_name=None, policy_str=None, managed_policy=None):'}</s>{'name': 'commit_files@lib/workshop.py', 'description...
0
{'name': 'filter_unique_threaded@qm9_filter_generated.py', 'description': 'Identify duplicate molecules among a large amount of generated structures using\nmultiple CPU-threads. The first found structure of each kind is kept as valid\noriginal and all following duplicating structures are marked as invalid (the\nmolecul...
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': 'SameDocumentReference@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ...
0
{'name': 'PySRRegressor.from_file@pysr/sr.py', 'description': 'Create a model from a saved model checkpoint or equation file.\n\nParameters\n----------\nrun_directory : str\n The directory containing outputs from a previous run.\n This is of the form `[output_directory]/[run_id]`.\n Default is `None`.\nbinary_...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRO_DISCARD_MSG = 134217728
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': 'test_forward_reference@tests/test_make.py', 'description': 'Build schemas from classes that are defined below their containing class.', 'signature': 'def test_forward_reference('}</s>_assert_dump_load = fixture_from_dict( name="assert_dump_load", id_to_value={ "load": _assert_load, "du...
0
{'name': 'main@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Main function of this program', 'signature': 'def main():'}</s>{'name': 'TLSProgram@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Base class for generate server/client command.', 'base_classes'...
0
{'name': 'initialize_runtime_options@da/common.py', 'description': "Sets and sanitizes runtime options.\n\n'options' should be a dict-like object containing mappings from options\nnames to corresponding values.", 'signature': 'def initialize_runtime_options(options=None):'}</s>VERSION_BYTES = _version_as_bytes()
0
{'name': 'DistModel.initialize@libs/PerceptualSimilarity/models/dist_model.py', 'description': "INPUTS\n model - ['net-lin'] for linearly calibrated network\n ['net'] for off-the-shelf network\n ['L2'] for L2 distance in Lab colorspace\n ['SSIM'] for ssim in RGB colorspace\n net -...
0
{'name': 'identify_token@sqf/parser.py', 'description': 'The function that converts a token from tokenize to a BaseType.', 'signature': 'def identify_token(token):'}</s>{'name': 'parse_block@sqf/parser.py', 'description': 'DOCSTRING', 'code': 'def parse_block(all_tokens, analyze_tokens, start=0, initial_lvls=None, stop...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>ICMP6_DST_UNREACH_NOTNEIGHBOR = 2
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': 'Grid.from_dataset@uxarray/grid/grid.py', 'description': 'Constructs a ``Grid`` object from a dataset.\n\nParameters\n----------\ndataset : xr.Dataset or path-like\n ``xarray.Dataset`` containing unstructured grid coordinates and connectivity variables or a directory\n containing ASCII files represents...
1
{'name': 'wald@diffxpy/testing/tests.py', 'description': 'Perform Wald test for differential expression for each gene.\n\n:param data: Input data matrix (observations x features) or (cells x genes).\n:param factor_loc_totest: str, list of strings\n List of factors of formula to test with Wald test.\n E.g. "condit...
1
{'name': 'speed_of_sound@src/zignal/audio.py', 'description': 'The speed of sound is depending on the medium and the temperature. For air at\na temperature of 20 degree Celcius the speed of sound is approximately 343 [m/s]', 'signature': "def speed_of_sound(temperature=20, medium='air'):"}</s>{'name': 'Noise@src/zignal...
0
{'name': 'PerImageEvaluation._get_overlaps_and_scores_mask_mode@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/per_image_evaluation.py', 'description': 'Computes overlaps and scores between detected and groudntruth masks.\n\nArgs:\n detected_boxes: A numpy array of shape [N, 4] representing detected box\...
1