text
string
label
int64
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
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>{'nam...
0
{'name': 'roi_init@analyze.py', 'description': 'init roi and thresh value\n\ninit roi for analyze and set thresh value\n\nArgs:\n video_type (int): movie resolution type\n\nReturns:', 'signature': 'def roi_init(video_type):'}</s>SPEED_DATA = []
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': 'rename_columns@snape/make_dataset.py', 'description': "Rename the columns of a dataframe to have X in front of them\n\n:param df: data frame we're operating on\n:param prefix: the prefix string", 'signature': "def rename_columns(df, prefix='x'):"}</s>{'name': 'load_config@snape/make_dataset.py', 'description'...
0
{'name': 'init_config@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'get config from environment\n ', 'signature': 'def init_config():'}</s>BATCH_INGESTION_POLICY = " {{ "MaximumBatchingTimeSpan":"{MAX_BATCHTIME}", "MaximumNumberOfItems":{MAX_ITEM...
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': 'combine_echodata@echopype/echodata/combine.py', 'description': 'Combines multiple ``EchoData`` objects into a single ``EchoData`` object.\n\nParameters\n----------\nechodata_list : list of EchoData object\n The list of ``EchoData`` objects to be combined\nchannel_selection: list of str or dict, optional\n ...
0
{'name': 'Maze.offset@examples/maze.py', 'description': 'Converts [x,y] co-ords into an offset in the maze data ', 'signature': 'def offset(self, coords):'}</s>NORTH = 1
0
{'name': 'TableOne._apply_alt_labels@tableone/tableone.py', 'description': 'Applies alternative labels to the variables if required.', 'signature': 'def _apply_alt_labels(self, table):'}</s>{'name': 'set_display_options@tableone/formatting.py', 'description': 'Set pandas display options. Display all rows and columns by...
0
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>{'name': 'CleanseComments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Removes //...
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'is_false@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is the Z3 false expression.\n\n>>> p = Bool('p')\n>>> i...
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': 'CodeGenTest.test_fgpu_agent_func_comments@tests/python/codegen/test_codegen.py', 'description': 'Comments and doc string should be removed and not translated', 'signature': 'def test_fgpu_agent_func_comments(self):'}</s>cpp_fgpu_for_graph_in_fns = "FLAMEGPU_AGENT_FUNCTION(func, flamegpu::MessageNone, flamegpu...
0
{'name': 'read_cameras_binary@colmap_runner/read_write_model.py', 'description': 'see: src/base/reconstruction.cc\n void Reconstruction::WriteCamerasBinary(const std::string& path)\n void Reconstruction::ReadCamerasBinary(const std::string& path)', 'signature': 'def read_cameras_binary(path_to_model_file):'}</s>{...
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': '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': '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': 'crop_sample_input@packnet_sfm/datasets/augmentations.py', 'description': "Crops the input information of a sample (i.e. that go to the networks)\n\nParameters\n----------\nsample : dict\n Dictionary with sample values (output from a dataset's __getitem__ method)\nborders : tuple\n Borders used for cropp...
0
{'name': 'generate_anchors@lib/rpn_util.py', 'description': 'Generates the anchors according to the configuration and\n(optionally) based on the imdb properties.', 'signature': 'def generate_anchors(conf, imdb, cache_folder):'}</s>{'name': 'clsInd2Name@lib/rpn_util.py', 'description': 'Converts a cls ind to string name...
0
{'name': 'XLNetPreTrainedModel.init_weights@source/pytorch_transformers/modeling_xlnet.py', 'description': 'Initialize the weights.\n ', 'signature': 'def init_weights(self, module):'}</s>WEIGHTS_NAME = "pytorch_model.bin"
0
{'name': 'Camera.gpsFromImage@cameratransform/camera.py', 'description': 'Convert points (Nx2) from the **image** coordinate system to the **gps** coordinate system.\n\nParameters\n----------\npoints : ndarray\n the points in **image** coordinates to transform, dimensions (2), (Nx2)\n\nReturns\n-------\npoints : nda...
0
{'name': '_text_replace_case_sensitive@fletcher/algorithms/string.py', 'description': 'Replace occurrences of ``pat`` with ``repl`` in the Series/Index with some other string. For every\nrow, only the first ``max_repl`` replacements will be performed. If ``max_repl = -1`` we consider that\nwe have no limit for the numb...
0
{'name': 'projection@polytope/polytope.py', 'description': 'Projects a polytope onto lower dimensions.\n\nAvailable solvers are:\n\n - "esp": Equality Set Projection;\n - "exthull": vertex projection;\n - "fm": Fourier-Motzkin projection;\n - "iterhull": iterative hull method.\n\nExample:\nTo project the polytope `...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>CAUSE_MACHINE_ECALL = 11
0
{'name': 'findpeaks.plot1d@findpeaks/findpeaks.py', 'description': 'Plot the 1D results.\n\nParameters\n----------\nlegend : bool, (default: True)\n Show the legend.\nfigsize : (int, int), (default: None)\n (width, height) in inches.\n\nReturns\n-------\nfig_axis : tuple containing axis for each figure.', 'signat...
0
{'name': 'auth@twitter_to_sqlite/cli.py', 'description': 'Save authentication credentials to a JSON file', 'signature': 'def auth(auth):'}</s>{'name': 'ad_mobile_conversions_attributed@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def ad_mobile_conversions_attributed(item):\n return item["ad"][...
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_table_as_ref@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def wasm_...
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': 'fast_overlap_NM@nonrad/nonrad.py', 'description': 'Compute the overlap between two displaced harmonic oscillators.\n\nThis function computes the overlap integral between two harmonic\noscillators with frequencies w1, w2 that are displaced by dQ for the\nquantum numbers n1, n2. The integral is computed using H...
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': 'train@qbert/extraction/run_squad.py', 'description': 'Train the model ', 'signature': 'def train(args, train_dataset, model, tokenizer):'}</s>ALL_MODELS = sum((tuple(conf.pretrained_config_archive_map.keys()) \ for conf in (BertConfig, XLNetConfig, XLMConfig)), ())
0
{'name': 'TestH8mail.test_000_simple@tests/test_h8mail.py', 'description': 'Simple test', 'signature': 'def test_000_simple(self):'}</s>{'name': 'h8mail@h8mail/utils/run.py', 'description': 'Handles most user arg logic. Creates a list() of targets from user input.\nStarts the target object factory loop; starts local se...
1
{'name': 'PathBase.load@tests/_lib_vendors/py/_path/common.py', 'description': '(deprecated) return object unpickled from self.read() ', 'signature': 'def load(self):'}</s>{'name': 'Visitor@tests/_lib_vendors/py/_path/common.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Visitor.__init__@tes...
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': 'add_run_number@bidskit/translate.py', 'description': 'Safely add run number to BIDS stub\nAllow protocol translator to override auto run numbering\n\n:param bids_stub, str\n:param run_no, int\n:return: new_bids_stub, str', 'signature': 'def add_run_number(bids_stub, run_no):'}</s>{'name': 'purpose_handling@bi...
0
{'name': 'TextNetworks.expand_bbox@camelot/parsers/network.py', 'description': 'Expand the bounding box based on closest textlines.\n\nParameters\n----------\nbbox : list of float\n The current bounding box.\nclosest_tls : dict\n The closest textlines found.\ntls_search_space : list\n The list of textlines ava...
0
{'name': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>{'name': 'NodeProcess@da/sim.py', 'description': 'DOCSTRING', 'base_classes': ['DistProcess'], 'methods': [{'name': 'NodeProcess.__init__@da/sim.py', 'description': 'DOCST...
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': 'aggregateUMIsPseudobulks@pipelines/pipeline_scxl.py', 'description': 'Aggregate UMI counts across cells within cluster to form pseudobulks.\n\nUseful for performing e.g. DESeq2 analysis of clusters from\nmultiple samples.', 'signature': 'def aggregateUMIsPseudobulks(infile, outfile):'}</s>RDIMS_VIS_COMP_2 = "...
0
{'name': 'findvalue@python/ipywidgets/ipywidgets/widgets/widget_selection.py', 'description': 'A function that uses the compare function to return a value from the list.', 'signature': 'def findvalue(array, value, compare = lambda x, y: x == y):'}</s>_doc_snippets = {}
0
{'name': 'PerfectModelEnsemble._compute_climatology@src/climpred/classes.py', 'description': "Verify a climatology forecast.\n\nArgs:\n metric: Metric to apply for verification, see `metrics <../metrics.html>`_\n comparison: How to compare the climatology against itself, see\n `comparisons <../comparisons....
0
{'name': 'Datasets.add_dataset@testrail_api/_category.py', 'description': 'Creates a new dataset.\n:param project_id: int\n The ID of the project to which the dataset should be added\n:param id: int\n The database ID of the dataset\n:param name: str\n Name of the dataset as provided\n:param variables: List[dic...
0
{'name': 'post_operation_with_one_ofs@tests/unit/conftest.py', 'description': 'Creates a new OpenAPI operation that makes heavy use of oneOfs and anyOfs.', 'signature': 'def post_operation_with_one_ofs() -> OpenAPIOperation:'}</s>{'name': 'update_operation@tests/unit/conftest.py', 'description': 'Creates the following ...
0
{'name': 'dict_indexer_with_default@yaql/standard_library/collections.py', 'description': ':yaql:operator indexer\n\nReturns value of a dictionary by given key or default if there is\nno such key.\n\n:signature: left[right, default]\n:arg left: input dictionary\n:argType left: dictionary\n:arg right: key\n:argType righ...
0
{'name': 'parse@docstring_parser/google.py', 'description': 'Parse the Google-style docstring into its components.\n\n:returns: parsed docstring', 'signature': 'def parse(text: str) -> Docstring:'}</s>EXAMPLES_KEYWORDS = {"example", "examples"}
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>MODEL = importlib.import_module(FLAGS.model)
0
{'name': 'MarketstoreServicer.Write@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Missing associated documentation comment in .proto file.', 'signature': 'def Write(self, request, context):'}</s>BOOL = 7
0
{'name': 'exec_check_and_lint@check_lint.py', 'description': "Utility function to unconditionally execute 'SublimeHaskellCHeckAndLint.run()' without worrying\nabout the command's status.", 'signature': 'def exec_check_and_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'sublime_colu...
0
{'name': 'c_s2@cmd/mcorr-fit/mcorr/lmfitFunctions.py', 'description': 'eq 24', 'signature': 'def c_s2(phi_s, w, f, l, theta_s, a):'}</s>{'name': 'c_s@cmd/mcorr-fit/mcorr/lmfitFunctions.py', 'description': 'eq 21', 'code': 'def c_s(phi_s, w, f, theta_s, a):\n """eq 21"""\n c_s = (phi_s*w*f)/(1+theta_s*a+phi_s*w*f)...
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': 'wind_deg_to_uv@pymeteo/dynamics.py', 'description': 'Converts direction and speed into u,v wind\n\n:param direction: wind direction (mathmatical angle)\n:param speed: wind magnitude\n:returns: u and v wind components', 'signature': 'def wind_deg_to_uv(direction, speed):'}</s>lv1 = xlv+(cpl-cpv)*T00
0
{'name': 'conv3x3@src/model/tsm/resnet.py', 'description': '3x3 convolution with padding', 'signature': 'def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1):'}</s>{'name': 'wide_resnet101_2@src/model/tsm/resnet.py', 'description': 'Wide ResNet-101-2 model from\n`"Wide Residual Networks" <https://arxiv.or...
0
{'name': 'ConfigUtilTest.testDontOverwriteEmptyLabelMapPath@object_detection/utils/config_util_test.py', 'description': 'Tests that label map path will not by overwritten with empty string.', 'signature': 'def testDontOverwriteEmptyLabelMapPath(self):'}</s>{'name': '_write_config@object_detection/utils/config_util_test...
1
{'name': 'download@ytmdl/core.py', 'description': 'Download the song by using the passed link.\n\nThe song will be saved with the passed title.\nReturn the saved path of the song.', 'signature': 'def download(link, yt_title, args) -> str:'}</s>{'name': 'scan_video@ytmdl/yt.py', 'description': 'Scan the link of the vide...
0
{'name': 'ProcessLine@tools/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 file,\n wi...
0
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>SERVICE_DISABLE = "disable"
0
{'name': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>HEADER_CLEAR_SESSION = "X-Trino-Clear-Session"
0
{'name': 'ArrowFactory.get@arrow/factory.py', 'description': "Returns an :class:`Arrow <arrow.arrow.Arrow>` object based on flexible inputs.\n\n:param locale: (optional) a ``str`` specifying a locale for the parser. Defaults to 'en-us'.\n:param tzinfo: (optional) a :ref:`timezone expression <tz-expr>` or tzinfo object....
1
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'Analysis@FastProject/Pipelines.py', 'description': 'Run the full FastProject analysis pipeline\n\nParameters\n----------\nexpressionMatrix : ExpressionData\nsignatures : list of Signatures.Signature\nprecomputed_signatures : dict\n Keys are precomputed signature names (str)\n Values are signature levels...
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>LIBC_HEAP_MAIN_ARENA_DEFAULT_NAME = "main_arena"
0
{'name': 'CreateTimeTemplate.create@vulfocus-api/dockerapi/views.py', 'description': '创建计时模式模版', 'signature': 'def create(self, request, *args, **kwargs):'}</s>{'name': 'create_image@vulfocus-api/tasks/tasks.py', 'description': '创建镜像名称', 'code': 'def create_image(task_id):\n """\n 创建镜像名称\n """\n task_info =...
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': 'favorites@twitter_to_sqlite/cli.py', 'description': 'Save tweets favorited by specified user', 'signature': 'def favorites(db_path, auth, user_id, screen_name, stop_after):'}</s>{'name': 'followers_ids@twitter_to_sqlite/cli.py', 'description': 'Populate followers table with IDs of account followers', 'code': ...
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': '_test_core@ci/weekly/test_stac_creation.py', 'description': 'Core function testing all data\n\nArgs:\n pattern (str): Pattern of the satellite\n prod_dir (str): Product directory\n debug (bool): Debug option', 'signature': 'def _test_core('}</s>{'name': 'test_s1@ci/weekly/test_stac_creation.py', 'des...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQSUBTYPE_USER = -2
0
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>{'name': '_populate_face_centerpoints@ux...
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': 'MaintenanceModeMiddlewareTestCase.test_enabled_middleware_with_template@testproject/app/tests.py', 'description': 'Enabling the middleware having a 503.html in any of the template\nlocations should return the rendered template', 'signature': 'def test_enabled_middleware_with_template(self):'}</s>{'name': 'Mai...
1
{'name': 'preprocess_objdump_out@tools/asm-differ/diff.py', 'description': 'Preprocess the output of objdump into a format that `process()` expects.\nThis format is suitable for saving to disk with `--write-asm`.\n\n- Optionally filter the output to a single function (`restrict`)\n- Otherwise, strip objdump header (7 l...
1
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
0
{'name': 'FeedSource.sensor_config@tests/feedsource.py', 'description': 'Return sensor_config.', 'signature': 'def sensor_config(self: "FeedSource") -> "FeedConfig":'}</s>DATA_PATH = TESTS_PATH / "data"
0
{'name': 'nestedExpr@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pypa...
0
{'name': 'map_zones@pymultimatic/model/mapper.py', 'description': 'Map *zones*.', 'signature': 'def map_zones(json) -> List[Zone]:'}</s>{'name': '_map_quick_mode@pymultimatic/model/mapper.py', 'description': 'DOCSTRING', 'code': 'def _map_quick_mode(json) -> Optional[QuickMode]:\n if json.get("quickmode"):\n ...
0
{'name': 'coord_map@tools/caffe-sphereface/python/caffe/coord_map.py', 'description': 'Define the coordinate mapping by its\n- axis\n- scale: output coord[i * scale] <- input_coord[i]\n- shift: output coord[i] <- output_coord[i + shift]\ns.t. the identity mapping, as for pointwise layers like ReLu, is defined by\n(None...
0
{'name': '_parse_requested_output_file_names@pelicun/tools/DL_calculation.py', 'description': 'Parse the output file names from the output configuration.\n\nParameters\n----------\noutput_config : dict\n Configuration for output files.\n\nReturns\n-------\nset\n Set of requested output file names.', 'signature': ...
0
{'name': 'get_dates@msreward/worker/search.py', 'description': 'Returns a list of dates from today to x days ago in year, month, day format\n:param days_to_get: number of days to get from api\n:return: list of string of dates in year, month, day format', 'signature': 'def get_dates(days_to_get=4) -> str:'}</s>{'name': ...
0
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_CONTEXT_OPEN_ERROR = 6122
0
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'get_version_string@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def get_version_string():\n major = ctyp...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCAMO_MONITOR_CLASS = 2713
0
{'name': 'MetricsServiceStub.__init__@gen-python/opencensus/proto/agent/metrics/v1/metrics_service_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>{'name': 'MetricsServiceStub@gen-python/opencensus/proto/agent/metrics/v1/metrics_service...
1
{'name': 'TelegramHandler.get_message@graphite_beacon/handlers/telegram.py', 'description': 'Standart alert message. Same format across all\ngraphite-beacon handlers.', 'signature': 'def get_message(self, level, alert, value, **kwargs):'}</s>{'name': 'AbstractHandler@graphite_beacon/handlers/__init__.py', 'description'...
0
{'name': 'Portfolio.report@deep_q/env_trade.py', 'description': 'df_price = pd.DataFrame(self.all_price, index=self.all_date) \ndf_signal = pd.DataFrame(self.all_signal, index=self.all_date) \ndf_buy = df_price.where(df_signal==BUY) \ndf_sell =...
1
{'name': 'ProjectIdentity.__init__@client/tc/azext_tc/vendored_sdks/teamcloud/models/_models_py3.py', 'description': ':keyword project_id: Required.\n:paramtype project_id: str\n:keyword project_name: Required.\n:paramtype project_name: str\n:keyword organization: Required.\n:paramtype organization: str\n:keyword organ...
0
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>{'name': 'merge_to_one_glacier@oggm/core/flowline.py', 'description': 'Merge multiple tributary glacier flowlines to a main glacier\n\nThis function will merge ...
0
{'name': 'create_training_data@ochre/utils.py', 'description': "Create padded one-hot encoded data sets from aligned text.\n\nA sample consists of seq_length characters from text_in (e.g., the ocr\ntext) (may include empty characters), and seq_length characters from\ntext_out (e.g., the gold standard text) (may include...
1
{'name': 'load_tests@lang/py/avro/test/test_io.py', 'description': 'Generate test cases across many test schema.', 'signature': 'def load_tests(loader: unittest.TestLoader, default_tests: None, pattern: None) -> unittest.TestSuite:'}</s>LONG_RECORD_SCHEMA = avro.schema.parse( json.dumps( { "type...
0
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'ContentDisposition@src/future/backports/email/_header_value_parser.py', 'description': 'DOCS...
0
{'name': 'run_install_check@third-party/draco/src/draco/tools/install_test/test.py', 'description': 'Runs the install_check program.', 'signature': 'def run_install_check(install_path):'}</s>DRACO_SHARED_INSTALL_BIN_PATH = os.path.join(DRACO_SHARED_INSTALL_PATH, 'bin')
1
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>{'name': 'zone_cooling_manual_setpoint_temperature@pymultimatic/api/urls.py', 'descrip...
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': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft...
0
{'name': 'auto_populate@pelicun/resources/auto/Hazus_Earthquake_IM.py', 'description': 'Automatically creates a performance model for PGA-based Hazus EQ analysis.\n\nParameters\n----------\nAIM: dict\n Asset Information Model - provides features of the asset that can be\n used to infer attributes of the performan...
0
{'name': 'calculate_hidden_flow@experiments/causal_trace.py', 'description': 'Runs causal tracing over every token/layer combination in the network\nand returns a dictionary numerically summarizing the results.', 'signature': 'def calculate_hidden_flow('}</s>{'name': 'main@experiments/causal_trace.py', 'description': '...
0
{'name': 'field@pyfields/core.py', 'description': 'Returns a class-level attribute definition. It allows developers to define an attribute without writing an\n`__init__` method. Typically useful for mixin classes.\n\nLaziness\n--------\nThe field will be lazily-defined, so if you create an instance of the class, the fi...
0
{'name': 'process_value@rivalcfg/handlers/choice.py', 'description': 'Called by the :class:`rivalcfg.mouse.Mouse` class when processing a\n"choice" type setting.\n\n:param dict setting_info: The information dict of the setting from the\n device profile.\n:param choice: The selected choice.\n:rt...
0
{'name': 'HeroesMap.xyz2_set_terrain@h3m/phlm/phlm.py', 'description': 'Creates a terrain horizontally, vertically or diagonally\nfrom one coordinate to another. \n\nNOTE that there needs to be several adjacent tiles for terrain or \nit cannot exist, see what happens when you try to place e.g a row \nof terrain in the ...
0