text
string
label
int64
{'name': 'space_minify@htmlmin/minify.py', 'description': 'recursive function to reduce space characters in html code.\n\n:param soup: a BeautifulSoup of the code to reduce\n:type soup: bs4.BeautifulSoup\n:param ignore_comments: whether or not to keep comments in the\n result\n:type ignore_commen...
1
{'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': 'http_get@gef.py', 'description': 'Basic HTTP wrapper for GET request. Return the body of the page if HTTP co...
0
{'name': 'MurrForm.clean_tags@MurrCard/forms.py', 'description': 'Cleaning tags from backslashes and strip html-tags', 'signature': 'def clean_tags(self):'}</s>{'name': 'CommentForm@MurrCard/forms.py', 'description': 'DOCSTRING', 'base_classes': ['forms.ModelForm'], 'methods': [{'name': 'CommentForm.clean_content@MurrC...
0
{'name': 'getShutterSetting@source/pi-timolo.py', 'description': 'Calculate a shutter speed based on image pixel average', 'signature': 'def getShutterSetting(pxAve):'}</s>{'name': 'videoRepeat@source/pi-timolo.py', 'description': "This is a special dash cam video mode\nthat overrides both timelapse and motion tracking...
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': 'stripplot@nelpy/plotting/miscplot.py', 'description': 'Plot epochs as segments on a line.\nParameters\n----------\n*eps : EpochArrays\nvoffset : float\nlw : float\nlabels : array-like of str', 'signature': 'def stripplot(*eps, voffset=None, lw=None, labels=None):'}</s>{'name': 'no_yticklabels@nelpy/plotting/u...
0
{'name': 'Tester._compute_kp@tester.py', 'description': 'Compute Keypoints.\n\nLATER: Clean up code', 'signature': 'def _compute_kp(self):'}</s>{'name': 'Network@networks/lift.py', 'description': 'The LIFT Network\n\nLATER\n- Do proper mean/std normalization?', 'base_classes': ['object'], 'methods': [{'name': 'Network....
0
{'name': 'generate_data_tables@tools/unicode_properties_parse/unicode_properties_data_gen.py', 'description': 'Generate Unicode data for inclusion into <format> from\nGraphemeBreakProperty.txt, emoji-data.txt, DerivedGeneralCategory.txt, DerivedCoreProperties.txt,\nand EastAsianWidth.txt.\n\nGraphemeBreakProperty.txt c...
0
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>{'name': 'sync_mempools@qa/rpc-tests/test_framework/util.py', 'description': 'Wait until everybody...
0
{'name': 'SchemaBuilder.add_schema@genson/schema/builder.py', 'description': 'Merge in a JSON schema. This can be a ``dict`` or another\n``SchemaBuilder``\n\n:param schema: a JSON Schema\n\n.. note::\n There is no schema validation. If you pass in a bad schema,\n you might get back a bad schema.', 'signature': 'd...
0
{'name': '_verify_ssl_from_first@cr8/clients.py', 'description': "Check if SSL validation parameter is passed in URI\n\n>>> _verify_ssl_from_first(['https://myhost:4200/?verify_ssl=false'])\nFalse\n\n>>> _verify_ssl_from_first(['https://myhost:4200/'])\nTrue\n\n>>> _verify_ssl_from_first([\n... 'https://h1:4200/?v...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIMPO_QUERY_LENGTH = 4
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_VERIFY = CScriptOp(0x69)
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>MQIACF_PERMIT_STANDBY = 1325
0
{'name': 'Router.route_from_constraints@lndmanage/lib/routing.py', 'description': 'Calculates a route that leaves over send_channels and enters via\nreceive_channels.\n\n:param send_channels: channel ids to send from\n:param receive_channels: channel ids to receive to\n:param amt_msat: payment amount in msat\n\n:return...
0
{'name': 'insert_from_sql@cr8/insert_from_sql.py', 'description': 'Insert data read from another SQL source into table.', 'signature': 'def insert_from_sql(*,'}</s>{'name': 'SqlException@cr8/clients.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'SqlException.__init__@cr8/clients.p...
1
{'name': 'CalculateTestLists@security/nss/external_tests/google_test/gtest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>{'name': 'GetTestCases@security/nss/external_tests/google_test/gtest/test/gtest_shuffle_test.py',...
0
{'name': 'AddImagesToTargetFiles@tools/releasetools/add_img_to_target_files.py', 'description': 'Creates and adds images (boot/recovery/system/...) to a target_files.zip.\n\nIt works with either a zip file (zip mode), or a directory that contains the\nfiles to be packed into a target_files.zip (dir mode). The latter is...
1
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>ICMP_PHOTURIS_AUTH_FAILED = 2
0
{'name': 'ChEMBLDatasetProvider.from_source@kinoml/datasets/chembl.py', 'description': 'Create a MultiDatasetProvider out of the raw data contained in the zip file.\n\nParameters\n----------\npath_or_url: str, optional\n path or URL to a (zipped) CSV file containing activities from ChEMBL,\n using schema detailed...
1
{'name': 'GTestListTestsUnitTest.testWithFilterFlags@third-party/googletest/googletest/test/googletest-list-tests-unittest.py', 'description': 'Tests that --gtest_list_tests takes into account the\n--gtest_filter flag.', 'signature': 'def testWithFilterFlags(self):'}</s>{'name': 'Run@third-party/googletest/googletest/t...
0
{'name': 'Client.cleanup@pypsexec/client.py', 'description': 'Cleans up any old services or payloads that may have been left behind\non a previous failure. This will search C:\\Windows for any files\nstarting with PAExec-*.exe and delete them. It will also stop and\nremove any services that start with PAExec-* if they ...
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_exporttype_vec_new@language-bindings/python/src/wamr/wasmcapi/b...
0
{'name': 'JSONEncoder.encode@simplejson/encoder.py', 'description': 'Return a JSON string representation of a Python data structure.\n\n>>> from simplejson import JSONEncoder\n>>> JSONEncoder().encode({"foo": ["bar", "baz"]})\n\'{"foo": ["bar", "baz"]}\'', 'signature': 'def encode(self, o):'}</s>HAS_UTF8 = re.compile(r...
0
{'name': 'bustools_count@kb_python/count.py', 'description': 'Runs `bustools count`.\n\nArgs:\n bus_path: Path to BUS file to correct\n out_prefix: Prefix of the output files to generate\n t2g_path: Path to output transcript-to-gene mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n ...
0
{'name': 'Logger.level_matches@bootstrap.py', 'description': '>>> l = Logger([])\n>>> l.level_matches(3, 4)\nFalse\n>>> l.level_matches(3, 2)\nTrue\n>>> l.level_matches(slice(None, 3), 3)\nFalse\n>>> l.level_matches(slice(None, 3), 2)\nTrue\n>>> l.level_matches(slice(1, 3), 1)\nTrue\n>>> l.level_matches(slice(2, 3), 1)...
0
{'name': 'main@pyngrok/ngrok.py', 'description': "Entry point for the package's ``console_scripts``. This initializes a call from the command\nline and invokes :func:`~pyngrok.ngrok.run`.\n\nThis method is meant for interacting with ``ngrok`` from the command line and is not necessarily\ncompatible with non-blocking AP...
0
{'name': 'BaseImage.convex_hull@wand/image.py', 'description': "Find the smallest convex polygon, and returns a list of points.\n\n.. note:: Requires ImageMagick-7.0.10 or greater.\n\nYou can pass the list of points directly to\n:meth:`Drawing.polygon() <wand.drawing.Drawing.polygon>` method\nto draw the convex hull sh...
0
{'name': 'Win32Serial.setRTS@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set terminal status line: Request To Send', 'signature': 'def setRTS(self, level=1):'}</s>ClearCommError = _stdcall_libraries['kernel32'].ClearCommError
0
{'name': 'scale_matrix@utils/transformations.py', 'description': 'Return matrix to scale by factor around origin in direction.\n\nUse factor -1 for point symmetry.\n\n>>> v = (numpy.random.rand(4, 5) - 0.5) * 20\n>>> v[3] = 1\n>>> S = scale_matrix(-1.234)\n>>> numpy.allclose(numpy.dot(S, v)[:3], -1.234*v[:3])\nTrue\n>>...
0
{'name': 'create_app@app/__init__.py', 'description': 'Create an application context with blueprints.', 'signature': 'def create_app(debug=False):'}</s>fmt = "%(levelname)-5s %(module)s:%(funcName)s():"
0
{'name': 'TestCli.test_spec@tests/test_cli.py', 'description': 'Tests that spec is set correctly in NbInteract initialization', 'signature': 'def test_spec(self):'}</s>{'name': 'TestCli@tests/test_cli.py', 'description': 'Tests for cli.py.', 'base_classes': ['object'], 'methods': [{'name': 'TestCli.test_basic@tests/tes...
1
{'name': 'take_calibration_image@versions/speed-camera 13.2/speed-cam.py', 'description': 'Create a calibration image for determining value of IMG_VIEW_FT variable\nCreate calibration hash marks', 'signature': 'def take_calibration_image(speed, filename, cal_image):'}</s>{'name': 'speed_image_add_lines@versions/speed-c...
1
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'TerzoIntermediarioOSoggettoEmittente@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': []}
0
{'name': 'compute_loss_on_dataset@notebooks/test_sparse_loss.py', 'description': 'Computes the loss for the given number of iterations\n\n:param dcn:\n:type dcn:\n:param data_loader:\n:type data_loader:\n:param num_iterations:\n:type num_iterations:\n:return:\n:rtype:', 'signature': 'def compute_loss_on_dataset(dcn, da...
1
{'name': 'test_linkauth_rw_pb@tests/bundles/test_hframe.py', 'description': 'Write LINKAUTH PBs to disk and back.\n:return:', 'signature': 'def test_linkauth_rw_pb():'}</s>{'name': 'parse_return_val@disdat/hyperframe.py', 'description': 'Interpret the return values and create an HFrame to wrap them.\nThis means setting...
0
{'name': 'Upstream2D.__init__@oggm/core/sia2d.py', 'description': "Create a new 2D model from gridded data.\n\nParameters\n----------\nbed_topo : 2d array\n the topography\ninit_ice_thick : 2d array (optional)\n the initial ice thickness (default is zero everywhere)\ndx : float\n map resolution (m)\ndy : float...
0
{'name': 'get_free_memory_mb@bioconda_utils/utils.py', 'description': 'Return free memory as megabytes', 'signature': 'def get_free_memory_mb():'}</s>{'name': 'changed_since_master@bioconda_utils/utils.py', 'description': "Return filenames changed since master branch.\n\nNote that this uses ``origin``, so if you are wo...
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>URL_INTERNAL_LIMITS_MAX_DEVICES = "/tenant/{tid}/limits/max_devices"
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': 'WSCTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'parse_alignment@fairseq/utils.py', 'description': 'Parses a single line from the alingmen...
0
{'name': 'trainNetwork@QNN/qnn.py', 'description': 'Train a quantum neural network on inputs data and\nlabels, using backend backend. Returns the parameters\nlearned.', 'signature': 'def trainNetwork(data, labels, backend):'}</s>{'name': 'convertToClass@QNN/qnn.py', 'description': 'Given a set of network outputs, retur...
1
{'name': 'ResidualBlock@wgan_gp.py', 'description': "resample: None, 'down', or 'up'", 'signature': 'def ResidualBlock(name, input_dim, output_dim, filter_size, inputs, MODE, resample=None, he_init=True):'}</s>slim = tf.contrib.slim
0
{'name': 'get_local_file_content@etc/scripts/utils_thirdparty.py', 'description': 'Return the content at `url` as text. Return the content as bytes is\n`as_text` is False.', 'signature': 'def get_local_file_content(path, as_text=True):'}</s>{'name': 'check_about@etc/scripts/utils_thirdparty.py', 'description': 'DOCSTRI...
0
{'name': 'add_translation_fields@modeltranslation/translator.py', 'description': 'Monkey patches the original model class to provide additional fields for\nevery language.\n\nAdds newly created translation fields to the given translation options.', 'signature': 'def add_translation_fields(model: type[Model], opts: Tran...
0
{'name': 'Task.from_requests@transformer/task.py', 'description': 'Generates a set of Tasks from a given set of Requests.', 'signature': 'def from_requests('}</s>{'name': 'FunctionCall@transformer/python.py', 'description': 'The invocation of a function or method.', 'base_classes': ['Expression'], 'methods': [{'name': ...
0
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>_FLAGS_QR_RESPONSE = 32768
0
{'name': 'timolo@source/pi-timolo.py', 'description': 'Main motion and or motion tracking\ninitialization and logic loop', 'signature': 'def timolo():'}</s>TIMELAPSE_PATH = os.path.join(BASE_DIR, TIMELAPSE_DIR)
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': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'on_delete_pilot@src/server/server.py', 'description': 'Delete pilot.', 'code': "def on_delete_pilot(data):\n '''Delete pilot.'''\n result = RaceContext.rhdata.delete...
0
{'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
{'name': 'Metric.compute_through@metrics.py', 'description': 'Precomputes df -> split df and apply compute() -> postcompute.', 'signature': 'def compute_through(self, df, split_by: Optional[List[Text]] = None):'}</s>{'name': 'Quantile@metrics.py', 'description': 'Quantile estimator.\n\nAttributes:\n var: Column to com...
0
{'name': 'Lists.__init__@mailchimp3/entities/lists.py', 'description': 'Initialize the endpoint', 'signature': 'def __init__(self, *args, **kwargs):'}</s>{'name': 'BaseApi@mailchimp3/baseapi.py', 'description': 'Simple class to buid path for entities', 'base_classes': ['object'], 'methods': [{'name': 'BaseApi.__init__@...
0
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found....
0
{'name': 'netbox_device@pyats-to-netbox/netbox_utils.py', 'description': 'Get or Create a device in netbox based on a genie device object.\n ', 'signature': 'def netbox_device(genie_device):'}</s>netbox_url = os.getenv("NETBOX_URL")
0
{'name': 'test_admin_works_with_host_special_values@test/io/test_io.py', 'description': 'Should get a success from the admin live and ready endpoints when using special host values for the main app', 'signature': 'def test_admin_works_with_host_special_values(specialhostvalue, defaultenv):'}</s>{'name': 'wait_until_sta...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>IPTOS_THROUGHPUT = 8
0
{'name': 'Discriminator.__init__@layers/discriminator.py', 'description': 'Discriminator: cLSTM + output projection to probability', 'signature': 'def __init__(self, input_size, hidden_size, num_layers=2):'}</s>{'name': 'Discriminator@layers/discriminator.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], ...
1
{'name': 'SectionedFile._read_file@paver/doctools.py', 'description': 'Do the work of reading the file.', 'signature': 'def _read_file(self, f):'}</s>{'name': 'cog@paver/doctools.py', 'description': 'Runs the cog code generator against the files matching your \nspecification. By default, cog will run against any .rst f...
0
{'name': '_get_tuple_type_str_and_dims@eth_utils/abi.py', 'description': 'Takes a JSON ABI type string. For tuple type strings, returns the separated\nprefix and array dimension parts. For all other strings, returns ``None``.', 'signature': 'def _get_tuple_type_str_and_dims(s: str) -> Optional[Tuple[str, Optional[str...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_EXPIRY_ERROR = 2013
0
{'name': 'main@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Main function of this program', 'signature': 'def main():'}</s>{'name': 'OpenSSLBase@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Generate base test commands for OpenSSL.', 'base_classes': ['T...
0
{'name': 'readFile@impedance/preprocessing.py', 'description': 'A wrapper for reading in many common types of impedance files\n\nParameters\n----------\nfilename: string\n Filename to extract impedance data from\ninstrument: string\n Type of instrument file\n\nReturns\n-------\nfrequencies : np.ndarray\n Array...
1
{'name': 'test_is_data_homogenous@tests/test_utils.py', 'description': 'Test for is_data_homogeneous.', 'signature': 'def test_is_data_homogenous():'}</s>{'name': 'is_data_diverging@nxviz/utils.py', 'description': 'We want to use this to check whether the data are diverging or not.\n\nThis is a simple check, can be mad...
0
{'name': 'test_stderr_pattern@integration/test_script.py', 'description': 'test stderr with pattern lines', 'signature': 'def test_stderr_pattern(f, result):'}</s>{'name': 'parse_pattern@integration/test_script.py', 'description': 'Create a standard regex string from the custom pattern file', 'code': 'def parse_pattern...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO_SUB_DUR_HIGHWATER = 775
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': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'seq3@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def seq3(args, lp="(", rp=")"):\n if len(args) == 0:\n return compose(to_f...
0
{'name': 'TestCiderCore.test_unlink@tests/test_core.py', 'description': 'Tests that:\n1. Each symlink is moved back to its original location.\n2. Symlinks are removed from bootstrap.\n3. Cache is updated with targets removed.\n4. Symlink directory is removed if empty.\n\nExpected errors:\n- StowError is raised if no sy...
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': 'CheckStyle@third_party/cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc....
0
{'name': 'joydata@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': "joydata reads data/joydata.txt file and returns the data'\nParameters\n standardized: If True, performs standardization or \n feature scaling such that mean is 0 and std dev = 1.0\n shuffled: If True...
0
{'name': 'PipelinesCmdLine.clone@qds_sdk/pipelines.py', 'description': 'Commandline method to clone pipeline\n:param args:\n:return:', 'signature': 'def clone(args):'}</s>log = logging.getLogger("qds_actions")
0
{'name': 'PortManager.check_modem_lines@serial/rfc2217.py', 'description': 'read control lines from serial port and compare the last value sent to remote.\nsend updates on changes.', 'signature': 'def check_modem_lines(self, force_notification=False):'}</s>SERVER_SET_STOPSIZE = b'h'
0
{'name': 'arcball_map_to_sphere@DenseFusion/lib/transformations.py', 'description': 'Return unit sphere coordinates from window coordinates.', 'signature': 'def arcball_map_to_sphere(point, center, radius):'}</s>{'name': '_import_module@DenseFusion/lib/transformations.py', 'description': 'Try import all public attribut...
0
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>{'name': 'is_ascii_str@mako/filters.py', 'description': 'DOCSTRING', 'code': 'def is_ascii_str(text):\n return isinstance(text, str) and _A...
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>JS_EVENT_AXIS = 2
1
{'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': 'test_out_of_bounds@tests/test_haversine_vector.py', 'description': 'Test makes sure that a ValueError is raised when latitude or longitude values are out of bounds.', 'signature': 'def test_out_of_bounds(oob_from, oob_to):'}</s>{'name': 'test_haversine_vector_comb@tests/test_haversine_vector.py', 'description...
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'SetAdd@src/api/python/z3/z3.py', 'des...
0
{'name': 'main@mne_bids_pipeline/steps/sensor/_01_make_evoked.py', 'description': 'Run evoked.', 'signature': 'def main(*, config: SimpleNamespace) -> None:'}</s>{'name': 'failsafe_run@mne_bids_pipeline/_run.py', 'description': 'DOCSTRING', 'code': 'def failsafe_run(\n *,\n get_input_fnames: Callable[..., Any] | ...
0
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'get_ngrok_process@pyngrok/ngrok.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not installed at :class:`~pyngrok.conf.PyngrokConfig`'s ``ngrok_path``, calling this method\nwill first download and install ``ngrok``.\n\nIf ``ngrok`` is not runnin...
0
{'name': 'validate_known_curve@ace/validation/validate_smoothers.py', 'description': 'Validate on a sin function.', 'signature': 'def validate_known_curve():'}</s>{'name': 'SuperSmootherWithPlots@ace/supersmoother.py', 'description': 'Auxiliary subclass for researching/understanding the SuperSmoother.', 'base_classes':...
0
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier...
0
{'name': 'PanDataSet._setEvents@src/pangaeapy/pandataset.py', 'description': 'Initializes the list of Events from a metadata XML file for a given pangaea dataset.', 'signature': 'def _setEvents(self, panXMLEvents):'}</s>{'name': 'PanDataSet@src/pangaeapy/pandataset.py', 'description': "PANGAEA DataSet\nThe PANGAEA PanD...
1
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<...
0
{'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
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier...
0
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>TYPE_APP_CATEGORIES = 5
0
{'name': 'show_structure_mesh@poisson_square_experiments_utils.py', 'description': 'Shows mesh on top of image', 'signature': 'def show_structure_mesh(G, writer=None, epoch=0):'}</s>{'name': 'create_mesh_list@poisson_square_experiments_utils.py', 'description': 'DOCSTRING', 'code': "def create_mesh_list(num_datasets, s...
0
{'name': 'make_server@src-python/lab-service/traffexam/kilda/traffexam/rest.py', 'description': 'Create a new WSGI server listening on `host` and `port` for `app`', 'signature': 'def make_server(host, port, app, thread_count=None,'}</s>{'name': 'address_emmit_tcp_packet@src-python/lab-service/traffexam/kilda/traffexam/...
0
{'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
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'freeport@test/i...
0
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>button_fault_2 = "Anomalia del bottone.."
0
{'name': 'test_single_build_pkg_dir@test/test_utils.py', 'description': 'Builds the "one" recipe with pkg_dir.', 'signature': 'def test_single_build_pkg_dir(recipes_fixture):'}</s>{'name': 'recipes_fixture@test/test_utils.py', 'description': 'Writes example recipes (based on test_case.yaml), figures out the package\npa...
1