id stringlengths 17 116 | task stringclasses 1
value | context_length stringclasses 1
value | documents listlengths 10 1.02k | question stringlengths 332 403 | question_with_choices stringlengths 332 403 | answer stringlengths 40 43.3k | answer_raw stringlengths 42 43.8k | n_chunks_full int64 10 61.9k | truncated bool 2
classes | repo stringlengths 7 54 | target_name stringlengths 1 72 | document_id int64 2.87k 144k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDU_FT/axialmarket/fsq/done | LDU_FT | [
"<BEGIN>\n## `barf`",
"Exit with a log message (usually a fatal error)\n<END>",
"<BEGIN>\n## `done_item`",
"Succeed or fail an item based on the return code of a program\n<END>",
"<BEGIN>\n## `setenv`",
"Set environment, based on item. Usually done in a baby fork\n<END>",
"<BEGIN>\n## `shout`",
"Log ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the done API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the done API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Wrapper for any type of finish, successful, permanant failure or
temporary failure | "Wrapper for any type of finish, successful, permanant failure or\n temporary failure" | 99 | false | axialmarket/fsq | done | 30,073 | |
LDU_FT/pudo/dataset/update | LDU_FT | [
"<BEGIN>\n## `normalize_column_name`",
"Check if a string is a reasonable thing to use as a column name.\n<END>",
"<BEGIN>\n## `normalize_table_name`",
"Check if the table name is obviously invalid.\n<END>",
"<BEGIN>\n## `safe_url`",
"Remove password from printed connection URLs.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update a row in the table.
The update is managed via the set of column names stated in ``keys``:
they will be used as filters for the data to be updated, using the
values in ``row``.
::
# update all entries with id matching 10, setting their title columns
data =... | "Update a row in the table.\n\n The update is managed via the set of column names stated in ``keys``:\n they will be used as filters for the data to be updated, using the\n values in ``row``.\n ::\n\n # update all entries with id matching 10, setting their title columns\n ... | 128 | false | pudo/dataset | update | 30,074 | |
LDU_FT/tijme/not-your-average-web-crawler/get_protocol | LDU_FT | [
"<BEGIN>\n## `get_new_requests`",
"Retrieve all the new request that were found in this request.",
" Returns:\n list(:class:`nyawc.http.Request`): A list of request objects.\n<END>",
"<BEGIN>\n## `__make_request`",
"Execute a request with the given data.",
" Args:\n url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_protocol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_protocol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get the protocol (e.g. http, https or ftp) of the given URL.
Args:
url (str): The URL to get the protocol from.
Returns:
str: The URL protocol | "Get the protocol (e.g. http, https or ftp) of the given URL.\n\n Args:\n url (str): The URL to get the protocol from.\n\n Returns:\n str: The URL protocol" | 220 | false | tijme/not-your-average-web-crawler | get_protocol | 30,075 | |
LDU_FT/marshallward/f90nml/logical_repr | LDU_FT | [
"<BEGIN>\n## `write`",
"Save a namelist to disk using either a file object or its file path.",
" File object usage:",
" >>> with open(nml_path, 'w') as nml_file:\n >>> f90nml.write(nml, nml_file)",
" File path usage:",
" >>> f90nml.write(nml, 'data.nml')",
" This function is equiva... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logical_repr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logical_repr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Set the string representation of logical values. | "Set the string representation of logical values." | 98 | false | marshallward/f90nml | logical_repr | 30,076 | |
LDU_FT/jeffh/rpi_courses/conflicts_with | LDU_FT | [
"<BEGIN>\n## `safeInt`",
"Throws an exception if the number starts with a 0 (may be significant).",
" If the value cannot be converted to an int, it is returned as is.\n<END>",
"<BEGIN>\n## `from_string`",
"Creates a new CourseCatalog instance from an string containing xml.\n<END>",
"<BEGIN>\n## `cross... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conflicts_with API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conflicts_with API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Checks this period conflicts with another period. | "Checks this period conflicts with another period." | 59 | false | jeffh/rpi_courses | conflicts_with | 30,077 | |
LDU_FT/CS207-Final-Project-Group-10/cs207-FinalProject/_parse_seed_tbl | LDU_FT | [
"<BEGIN>\n## `configuration_ES`",
"Get the positions and velocities of the earth and sun from date t0 to t1.\n Returned as a tuple q, v\n q: Nx3 array of positions (x, y, z) in the J2000.0 coordinate frame.\n<END>",
"<BEGIN>\n## `plot_ES`",
"Plot the earth-sun orbits.\n q is a Tx6 array. T indexes t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_seed_tbl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_seed_tbl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Parse a table of variable bindings (dictionary with key = variable name) | "Parse a table of variable bindings (dictionary with key = variable name)" | 92 | false | CS207-Final-Project-Group-10/cs207-FinalProject | _parse_seed_tbl | 30,078 | |
LDU_FT/mapbox/mapbox-sdk-py/handle_http_error | LDU_FT | [
"<BEGIN>\n## `_geom_points`",
"GeoJSON geometry to a sequence of point tuples\n<END>",
"<BEGIN>\n## `read_points`",
"Iterable of features to a sequence of point tuples\n Where \"features\" can be either GeoJSON mappings\n or objects implementing the geo_interface\n<END>",
"<BEGIN>\n## `encode_waypoint... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_http_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_http_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Converts service errors to Python exceptions
Parameters
----------
response : requests.Response
A service response.
custom_messages : dict, optional
A mapping of custom exception messages to HTTP status codes.
raise_for_status : bool, optional
... | "Converts service errors to Python exceptions\n\n Parameters\n ----------\n response : requests.Response\n A service response.\n custom_messages : dict, optional\n A mapping of custom exception messages to HTTP status codes.\n raise_for_status : bool, optional\n ... | 212 | false | mapbox/mapbox-sdk-py | handle_http_error | 30,079 | |
LDU_FT/BerkeleyAutomation/visualization/box | LDU_FT | [
"<BEGIN>\n## `figure`",
"Create a blank figure.",
" Parameters\n ----------\n bgcolor : (3,) float\n Color of the background with values in [0,1].\n size : (2,) int\n Width and height of the figure in pixels.\n<END>",
"<BEGIN>\n## `show`",
"Display the current... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the box API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the box API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Draws a box on the current plot.
Parameters
----------
b : :obj:`autolab_core.Box`
box to draw
line_width : int
width of lines on side of box
color : :obj:`str`
color of box
style : :obj:`str`
style of lines to draw | "Draws a box on the current plot.\n\n Parameters\n ----------\n b : :obj:`autolab_core.Box`\n box to draw\n line_width : int\n width of lines on side of box\n color : :obj:`str`\n color of box\n style : :obj:`str`\n style of lines to ... | 54 | false | BerkeleyAutomation/visualization | box | 30,080 | |
LDU_FT/MagicStack/asyncpg/fetchval | LDU_FT | [
"<BEGIN>\n## `fetch`",
"r\"\"\"Return the next *n* rows as a list of :class:`Record` objects.",
" :param float timeout: Optional timeout value in seconds.",
" :return: A list of :class:`Record` instances.\n<END>",
"<BEGIN>\n## `fetchrow`",
"r\"\"\"Return the next row.",
" :param flo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchval API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchval API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Run a query and return a value in the first row.
:param str query: Query text.
:param args: Query arguments.
:param int column: Numeric index within the record of the value to
return (defaults to 0).
:param float timeout: Optional timeout value in seconds.
... | "Run a query and return a value in the first row.\n\n :param str query: Query text.\n :param args: Query arguments.\n :param int column: Numeric index within the record of the value to\n return (defaults to 0).\n :param float timeout: Optional timeout value in secon... | 284 | false | MagicStack/asyncpg | fetchval | 30,081 | |
LDU_FT/d11wtq/dockerpty/size | LDU_FT | [
"<BEGIN>\n## `before_all`",
"Pulls down busybox:latest before anything is tested.\n<END>",
"<BEGIN>\n## `after_scenario`",
"Cleans up docker containers used as test fixtures after test completes.\n<END>",
"<BEGIN>\n## `set_blocking`",
"Set the given file-descriptor blocking or non-blocking.",
" Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return a tuple (rows,cols) representing the size of the TTY `fd`.
The provided file descriptor should be the stdout stream of the TTY.
If the TTY size cannot be determined, returns None. | "Return a tuple (rows,cols) representing the size of the TTY `fd`.\n\n The provided file descriptor should be the stdout stream of the TTY.\n\n If the TTY size cannot be determined, returns None." | 66 | false | d11wtq/dockerpty | size | 30,082 | |
LDU_FT/digidotcom/python-streamexpect/search | LDU_FT | [
"<BEGIN>\n## `_flatten`",
"Recursively flatten a mixed sequence of sub-sequences and items\n<END>",
"<BEGIN>\n## `wrap`",
"Wrap a stream to implement expect functionality.",
" This function provides a convenient way to wrap any Python stream (a\n file-like object) or socket with an appropriate :class:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Search the provided buffer for a match to the object's regex.
Search the provided buffer for a match to the object's regex. If the
*match* is found, returns a :class:`RegexMatch` object, otherwise
returns ``None``.
:param buf: Buffer to search for a match.
:return: :class:`Rege... | "Search the provided buffer for a match to the object's regex.\n\n Search the provided buffer for a match to the object's regex. If the\n *match* is found, returns a :class:`RegexMatch` object, otherwise\n returns ``None``.\n\n :param buf: Buffer to search for a match.\n :return: :cla... | 42 | false | digidotcom/python-streamexpect | search | 30,083 | |
LDU_FT/blackecho/Deep-Learning-TensorFlow/_create_variables | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model to the given data.",
" :param train_set: training data\n :param test_set: test data\n<END>",
"<BEGIN>\n## `_run_train_step`",
"Run a single training step.",
" :param data: input data\n :param mode: 'train' or 'test'.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create the TensorFlow variables for the model.
:param n_features: number of features
:param n_classes: number of classes
:return: self | "Create the TensorFlow variables for the model.\n\n :param n_features: number of features\n :param n_classes: number of classes\n :return: self" | 284 | false | blackecho/Deep-Learning-TensorFlow | _create_variables | 30,084 | |
LDU_FT/pytorch/text/numericalize | LDU_FT | [
"<BEGIN>\n## `load_vectors`",
"Arguments:\n vectors: one of or a list containing instantiations of the\n GloVe, CharNGram, or Vectors classes. Alternatively, one\n of or a list of available pretrained vectors:\n charngram.100d\n fasttext.en.30... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the numericalize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the numericalize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Turn a batch of examples that use this field into a Variable.
If the field has include_lengths=True, a tensor of lengths will be
included in the return value.
Arguments:
arr (List[List[str]], or tuple of (List[List[str]], List[int])):
List of tokenized and padded ex... | "Turn a batch of examples that use this field into a Variable.\n\n If the field has include_lengths=True, a tensor of lengths will be\n included in the return value.\n\n Arguments:\n arr (List[List[str]], or tuple of (List[List[str]], List[int])):\n List of tokenized and p... | 131 | false | pytorch/text | numericalize | 30,085 | |
LDU_FT/otto-torino/django-baton/get_app_voice | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns a json representing the menu voices\n in a format eaten by the js menu.\n Raised ImproperlyConfigured exceptions can be viewed\n in the browser console\n<END>",
"<BEGIN>\n## `get_title_voice`",
"Title voice\n Returns the js menu compati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_voice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_voice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | App voice
Returns the js menu compatible voice dict if the user
can see it, None otherwise | "App voice\n Returns the js menu compatible voice dict if the user\n can see it, None otherwise" | 20 | false | otto-torino/django-baton | get_app_voice | 30,086 | |
LDU_FT/klmitch/tendril/shutdown | LDU_FT | [
"<BEGIN>\n## `send_frame`",
"Sends a frame to the other end of the connection.\n<END>",
"<BEGIN>\n## `start`",
"Starts the TendrilManager.",
" :param acceptor: If given, specifies a callable that will be\n called with each newly received Tendril;\n that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shutdown API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shutdown API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Unconditionally shuts the TendrilManager down, killing all
threads and closing all tendrils. | "Unconditionally shuts the TendrilManager down, killing all\n threads and closing all tendrils." | 92 | false | klmitch/tendril | shutdown | 30,087 | |
LDU_FT/MagicStack/asyncpg/executemany | LDU_FT | [
"<BEGIN>\n## `fetch`",
"r\"\"\"Return the next *n* rows as a list of :class:`Record` objects.",
" :param float timeout: Optional timeout value in seconds.",
" :return: A list of :class:`Record` instances.\n<END>",
"<BEGIN>\n## `fetchrow`",
"r\"\"\"Return the next row.",
" :param flo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the executemany API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the executemany API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Execute an SQL *command* for each sequence of arguments in *args*.
Pool performs this operation using one of its connections. Other than
that, it behaves identically to
:meth:`Connection.executemany() <connection.Connection.executemany>`.
.. versionadded:: 0.10.0 | "Execute an SQL *command* for each sequence of arguments in *args*.\n\n Pool performs this operation using one of its connections. Other than\n that, it behaves identically to\n :meth:`Connection.executemany() <connection.Connection.executemany>`.\n\n .. versionadded:: 0.10.0" | 284 | false | MagicStack/asyncpg | executemany | 30,088 | |
LDU_FT/django-fluent/django-fluent-dashboard/get_application_groups | LDU_FT | [
"<BEGIN>\n## `init_with_context`",
"Find the current URL based on the context.\n It uses :func:`get_edited_object` to find the model,\n and calls ``get_absolute_url()`` to get the frontend URL.\n<END>",
"<BEGIN>\n## `get_edited_object`",
"Return the object which is currently being edited.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_application_groups API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_application_groups API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Return the applications of the system, organized in various groups.
These groups are not connected with the application names,
but rather with a pattern of applications. | "Return the applications of the system, organized in various groups.\n\n These groups are not connected with the application names,\n but rather with a pattern of applications." | 28 | false | django-fluent/django-fluent-dashboard | get_application_groups | 30,089 | |
LDU_FT/geomet/geomet/_dump_multipolygon | LDU_FT | [
"<BEGIN>\n## `block_splitter`",
"Creates a generator by slicing ``data`` into chunks of ``block_size``.",
" >>> data = range(10)\n >>> list(block_splitter(data, 2))\n [[0, 1], [2, 3], [4, 5], [6, 7], [8, 9]]",
" If ``data`` cannot be evenly divided by ``block_size``, the last block will\n simpl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dump_multipolygon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dump_multipolygon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Dump a GeoJSON-like `dict` to a multipolygon WKB string.
Input parameters and output are similar to :funct:`_dump_point`. | "Dump a GeoJSON-like `dict` to a multipolygon WKB string.\n\n Input parameters and output are similar to :funct:`_dump_point`." | 120 | false | geomet/geomet | _dump_multipolygon | 30,090 | |
LDU_FT/AllTheWayDown/turgles/shape | LDU_FT | [
"<BEGIN>\n## `shape`",
"We need to shift buffers in order to change shape\n<END>",
"<BEGIN>\n## `new`",
"Return the last currently unused chunk, resizing if needed.",
" If init is passed, chunk will be initialised to that data\n<END>",
"<BEGIN>\n## `resize`",
"Create a new larger array, and copy ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shape API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shape API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | We need to shift buffers in order to change shape | "We need to shift buffers in order to change shape" | 22 | false | AllTheWayDown/turgles | shape | 30,091 | |
LDU_FT/mojaie/chorus/add_properties | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draw molecule structure image.",
" Args:\n canvas: draw.drawable.Drawable\n mol: model.graphmol.Compound\n<END>",
"<BEGIN>\n## `smiles_to_compound`",
"Convert SMILES text to compound object",
" Raises:\n ValueError: SMILES with unsupported format\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | apply properties to the molecule object
Returns:
None (alter molecule object directly) | "apply properties to the molecule object\n\n Returns:\n None (alter molecule object directly)" | 158 | false | mojaie/chorus | add_properties | 30,092 | |
LDU_FT/matheuscas/pyIE/start | LDU_FT | [
"<BEGIN>\n## `start`",
"Checks the number valiaty for the Rondônia state\n<END>",
"<BEGIN>\n## `start`",
"Checks the number valiaty for the São Paulo state\n<END>",
"<BEGIN>\n## `start`",
"Checks the number valiaty for the Pernanbuco state\n<END>",
"<BEGIN>\n## `start`",
"Checks the number valiaty for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Checks the number valiaty for the Minas Gerais state | "Checks the number valiaty for the Minas Gerais state" | 30 | false | matheuscas/pyIE | start | 30,093 | |
LDU_FT/avara1986/ardy/set_artefact_path | LDU_FT | [
"<BEGIN>\n## `run`",
"Run deploy the lambdas defined in our project.\n Steps:\n * Build Artefact\n * Read file or deploy to S3. It's defined in config[\"deploy\"][\"deploy_method\"]\n * Reload conf with deploy changes\n * check lambda if exist\n * Create Lambda\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_artefact_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_artefact_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Set the route to the local file to deploy
:param path_to_zip_file:
:return: | "Set the route to the local file to deploy\n :param path_to_zip_file: \n :return:" | 17 | false | avara1986/ardy | set_artefact_path | 30,094 | |
LDU_FT/potash/drain/components_to_df | LDU_FT | [
"<BEGIN>\n## `y_score`",
"Score examples from a new matrix X\n Args:\n estimator: an sklearn estimator object\n X: design matrix with the same features that the estimator was trained on",
" Returns: a vector of scores of the same length as X",
" Note that estimator.predict_proba is pref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the components_to_df API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the components_to_df API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Convert components to a join table with columns id1, id2
Args:
components: A collection of components, each of which is a set of vertex ids.
If a dictionary, then the key is the id for the component. Otherwise,
the component id is determined by applying id_func to the component.
... | "Convert components to a join table with columns id1, id2\n Args:\n components: A collection of components, each of which is a set of vertex ids.\n If a dictionary, then the key is the id for the component. Otherwise,\n the component id is determined by applying id_func to the component.... | 165 | false | potash/drain | components_to_df | 30,095 | |
LDU_FT/dshean/demcoreg/get_snodas_ds | LDU_FT | [
"<BEGIN>\n## `get_nlcd_fn`",
"Calls external shell script `get_nlcd.sh` to fetch:",
" 2011 Land Use Land Cover (nlcd) grids, 30 m",
" http://www.mrlc.gov/nlcd11_leg.php\n<END>",
"<BEGIN>\n## `get_bareground_fn`",
"Calls external shell script `get_bareground.sh` to fetch:",
" ~2010 global bare g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_snodas_ds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_snodas_ds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Function to fetch and process SNODAS snow depth products for input datetime
http://nsidc.org/data/docs/noaa/g02158_snodas_snow_cover_model/index.html
Product codes:
1036 is snow depth
1034 is SWE
filename format: us_ssmv11036tS__T0001TTNATS2015042205HP001.Hdr | "Function to fetch and process SNODAS snow depth products for input datetime\n\n http://nsidc.org/data/docs/noaa/g02158_snodas_snow_cover_model/index.html\n\n Product codes:\n 1036 is snow depth\n 1034 is SWE\n\n filename format: us_ssmv11036tS__T0001TTNATS2015042205HP001.Hdr" | 63 | false | dshean/demcoreg | get_snodas_ds | 30,096 | |
LDU_FT/relekang/python-semantic-release/frigg | LDU_FT | [
"<BEGIN>\n## `parse_commit_message`",
"Parses a commit message according to the 1.0 version of python-semantic-release. It expects\n a tag of some sort in the commit message and will use the rest of the first line as changelog\n content.",
" :param message: A string of a commit message.\n :raises Un... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frigg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frigg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Performs necessary checks to ensure that the frigg build is one
that should create releases.
:param branch: The branch the environment should be running against. | "Performs necessary checks to ensure that the frigg build is one\n that should create releases.\n\n :param branch: The branch the environment should be running against." | 103 | false | relekang/python-semantic-release | frigg | 30,097 | |
LDU_FT/victorlei/smop/p_func_stmt | LDU_FT | [
"<BEGIN>\n## `callgraph`",
"Build callgraph of func_list, ignoring\n built-in functions\n<END>",
"<BEGIN>\n## `recordtype`",
"Returns a new class with named fields.",
" @keyword field_defaults: A mapping from (a subset of) field names to default \n values.\n @keyword default: If provided, th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_func_stmt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_func_stmt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | func_stmt : FUNCTION ident lambda_args SEMI
| FUNCTION ret EQ ident lambda_args SEMI | "func_stmt : FUNCTION ident lambda_args SEMI\n | FUNCTION ret EQ ident lambda_args SEMI" | 69 | false | victorlei/smop | p_func_stmt | 30,098 | |
LDU_FT/SavinaRoja/OpenAccess_EPUB/nav_creators | LDU_FT | [
"<BEGIN>\n## `make_EPUB`",
"Standard workflow for creating an EPUB document.",
" make_EPUB is used to produce an EPUB file from a parsed article. In addition\n to the article it also requires a path to the appropriate image directory\n which it will insert into the EPUB file, as well the output directo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nav_creators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nav_creators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Frontiers method.
Given an Article class instance, this is responsible for returning the
names for creators of the article. For our purposes, it is sufficient to
list only the authors, returning their name, role=aut, and file-as name.
This returns a list of Creator(name, role, file_as) | "Frontiers method.\n\n Given an Article class instance, this is responsible for returning the\n names for creators of the article. For our purposes, it is sufficient to\n list only the authors, returning their name, role=aut, and file-as name.\n\n This returns a list of Creator(name, role, f... | 245 | false | SavinaRoja/OpenAccess_EPUB | nav_creators | 30,099 | |
LDU_FT/thejunglejane/datums/delete | LDU_FT | [
"<BEGIN>\n## `run_migrations_offline`",
"Run migrations in 'offline' mode.",
" This configures the context with just a URL\n and not an Engine, though an Engine is acceptable\n here as well. By skipping the Engine creation\n we don't even need a DBAPI to be available.",
" Calls to context.exec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | If a record matching the instance id exists in the database, delete it. | "If a record matching the instance id exists in the database, delete it." | 30 | false | thejunglejane/datums | delete | 30,100 | |
LDU_FT/digidotcom/python-devicecloud/get_devicecore_api | LDU_FT | [
"<BEGIN>\n## `_parse_command_response`",
"Parse an SCI command response into ElementTree XML",
" This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.",
" :param response... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_devicecore_api API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_devicecore_api API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns a :class:`.DeviceCoreAPI` bound to this device cloud instance
This provides access to the same API as :attr:`.DeviceCloud.devicecore` but will create
a new object (with a new cache) each time called.
:return: devicecore API object bound to this device cloud account
:rtype: :cla... | "Returns a :class:`.DeviceCoreAPI` bound to this device cloud instance\n\n This provides access to the same API as :attr:`.DeviceCloud.devicecore` but will create\n a new object (with a new cache) each time called.\n\n :return: devicecore API object bound to this device cloud account\n :rtyp... | 366 | false | digidotcom/python-devicecloud | get_devicecore_api | 30,101 | |
LDU_FT/jlesquembre/jlle/_read_configfile | LDU_FT | [
"<BEGIN>\n## `no_input`",
"Return whether the user wants to run in no-input mode.",
" Enable this mode by adding a ``no-input`` option::",
" [zest.releaser]\n no-input = yes",
" The default when this option has not been set is False.",
" Standard config rules app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_configfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_configfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Read the config file and store it (when valid) | "Read the config file and store it (when valid)" | 77 | false | jlesquembre/jlle | _read_configfile | 30,102 | |
LDU_FT/gunthercox/ChatterBot/remove | LDU_FT | [
"<BEGIN>\n## `get_response`",
"Return the bot's response based on the input.",
" :param statement: An statement object or string.\n :returns: A response to the input.\n :rtype: Statement",
" :param additional_response_selection_parameters: Parameters to pass to the\n cha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Removes the statement that matches the input text.
Removes any responses from statements where the response text matches
the input text. | "Removes the statement that matches the input text.\n Removes any responses from statements where the response text matches\n the input text." | 158 | false | gunthercox/ChatterBot | remove | 30,103 | |
LDU_FT/vallis/libstempo/add_jitter | LDU_FT | [
"<BEGIN>\n## `calczeta`",
"Calculate the angular separation between position (phi1, theta1) and\n (phi2, theta2)\n<END>",
"<BEGIN>\n## `dlmk`",
"returns value of d^l_mk as defined in allen, ottewill 97.\n Called by Dlmk\n<END>",
"<BEGIN>\n## `Dlmk`",
"returns value of D^l_mk as defined in allen, ott... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_jitter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_jitter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Add correlated quadrature noise of rms `ecorr` [s],
with coarse-graining time `coarsegrain` [days].
Optionally take a pseudorandom-number-generator seed. | "Add correlated quadrature noise of rms `ecorr` [s],\n with coarse-graining time `coarsegrain` [days].\n Optionally take a pseudorandom-number-generator seed." | 160 | false | vallis/libstempo | add_jitter | 30,104 | |
LDU_FT/MacHu-GWU/crawl_zillow-project/float_filter | LDU_FT | [
"<BEGIN>\n## `user_process`",
":param input_data:\n :return: output_data, list of next model instance. For example, if\n model is :class:`~crawl_zillow.model.State`, then next model is\n :class:`~crawl_zillow.model.County`.\n<END>",
"<BEGIN>\n## `get_html`",
"Use Google Cached Url.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the float_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the float_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Extract float from text.
**中文文档**
摘除文本内的小数。 | "Extract float from text.\n\n **中文文档**\n\n 摘除文本内的小数。" | 27 | false | MacHu-GWU/crawl_zillow-project | float_filter | 30,105 | |
LDU_FT/fananimi/pyzk/__recieve_tcp_data | LDU_FT | [
"<BEGIN>\n## `make_commkey`",
"take a password and session_id and scramble them to send to the machine.\n copied from commpro.c - MakeKey\n<END>",
"<BEGIN>\n## `__create_tcp_top`",
"witch the complete packet set top header\n<END>",
"<BEGIN>\n## `__create_header`",
"Puts a the parts that make up a packe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __recieve_tcp_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __recieve_tcp_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | data_recv, raw tcp packet
must analyze tcp_length
must return data, broken | "data_recv, raw tcp packet\n must analyze tcp_length\n\n must return data, broken" | 77 | false | fananimi/pyzk | __recieve_tcp_data | 30,106 | |
LDU_FT/svinota/mdns/read_utf | LDU_FT | [
"<BEGIN>\n## `to_string`",
"String representation with additional information\n<END>",
"<BEGIN>\n## `answered_by`",
"Returns true if the question is answered by the record\n<END>",
"<BEGIN>\n## `reset_ttl`",
"Sets this record's TTL and created time to that of\n another record.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_utf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_utf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Reads a UTF-8 string of a given length from the packet | "Reads a UTF-8 string of a given length from the packet" | 67 | false | svinota/mdns | read_utf | 30,107 | |
LDU_FT/openvax/pyensembl/normalize_init_values | LDU_FT | [
"<BEGIN>\n## `_write_csv`",
"Parameters\n ----------\n df : pandas.DataFrame",
" csv_path : str",
" chunksize : int\n Number of rows to write at a time. Helps to limit memory\n consumption while writing a CSV.\n<END>",
"<BEGIN>\n## `cached_dataframe`",
"If... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_init_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_init_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Normalizes the arguments which uniquely specify an EnsemblRelease
genome. | "Normalizes the arguments which uniquely specify an EnsemblRelease\n genome." | 234 | false | openvax/pyensembl | normalize_init_values | 30,108 | |
LDU_FT/petrjasek/eve-elastic/should_highlight | LDU_FT | [
"<BEGIN>\n## `get_dates`",
"Return list of datetime fields for given schema.\n<END>",
"<BEGIN>\n## `set_filters`",
"Put together all filters we have and set them as 'and' filter\n within filtered query.",
" :param query: elastic query being constructed\n :param base_filters: all filters set outside... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the should_highlight API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the should_highlight API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Check the given argument parameter to decide if highlights needed.
argument value is expected to be '0' or '1' | "Check the given argument parameter to decide if highlights needed.\n\n argument value is expected to be '0' or '1'" | 106 | false | petrjasek/eve-elastic | should_highlight | 30,109 | |
LDU_FT/c0ntrol-x/p4rr0t007/colorize_logger | LDU_FT | [
"<BEGIN>\n## `json_response`",
"Useful for restful APIs\n :param data: a native python object, must be json serialiable, otherwise will be handled by :py:meth:`Application.json_handle_weird`\n :param code: the http status code\n :param indent: how many characters to indent when generating the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colorize_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colorize_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | resets the handlers and formatters in a given logger, and sets it up with Colorful() logs | "resets the handlers and formatters in a given logger, and sets it up with Colorful() logs" | 31 | false | c0ntrol-x/p4rr0t007 | colorize_logger | 30,110 | |
LDU_FT/jaraco/irc/parse | LDU_FT | [
"<BEGIN>\n## `handle_nick`",
"Handle the initial setting of the user's nickname and nick changes.\n<END>",
"<BEGIN>\n## `handle_user`",
"Handle the USER command which identifies the user to the server.\n<END>",
"<BEGIN>\n## `handle_join`",
"Handle the JOINing of a user to a channel. Valid channel names st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | r"""
>>> Tag.parse('x') == {'key': 'x', 'value': None}
True
>>> Tag.parse('x=yes') == {'key': 'x', 'value': 'yes'}
True
>>> Tag.parse('x=3')['value']
'3'
>>> Tag.parse('x=red fox\\:green eggs')['value']
'red fox;green eggs'
>>> Tag.parse('x=red... | "r\"\"\"\n >>> Tag.parse('x') == {'key': 'x', 'value': None}\n True\n\n >>> Tag.parse('x=yes') == {'key': 'x', 'value': 'yes'}\n True\n\n >>> Tag.parse('x=3')['value']\n '3'\n\n >>> Tag.parse('x=red fox\\\\:green eggs')['value']\n 'red fox;green eggs'\n\n >... | 193 | false | jaraco/irc | parse | 30,111 | |
LDU_FT/remind101/stacker_blueprints/create_record_set_group | LDU_FT | [
"<BEGIN>\n## `create_sqs_policy`",
"This method creates the SQS policy needed for an SNS subscription. It\n also takes the ARN of the SQS queue and converts it to the URL needed\n for the subscription, as that takes a URL rather than the ARN.\n<END>",
"<BEGIN>\n## `create_topic`",
"Creates the S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_record_set_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_record_set_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Accept a record_set dict. Return a Troposphere record_set object. | "Accept a record_set dict. Return a Troposphere record_set object." | 53 | false | remind101/stacker_blueprints | create_record_set_group | 30,112 | |
LDU_FT/asyrjasalo/RESTinstance/boolean | LDU_FT | [
"<BEGIN>\n## `set_client_cert`",
"*Sets the client cert for the requests.*",
" The cert is either a path to a .pem file, or a JSON array, or a list\n having the cert path and the key path.",
" Values ``null`` and ``${None}`` can be used for clearing the cert.",
" *Examples*",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the boolean API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the boolean API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | *Asserts the field as JSON boolean.*
The field consists of parts separated by spaces, the parts being
object property names or array indices starting from 0, and the root
being the instance created by the last request (see `Output` for it).
For asserting deeply nested properties or mul... | "*Asserts the field as JSON boolean.*\n\n The field consists of parts separated by spaces, the parts being\n object property names or array indices starting from 0, and the root\n being the instance created by the last request (see `Output` for it).\n\n For asserting deeply nested properties... | 135 | false | asyrjasalo/RESTinstance | boolean | 30,113 | |
LDU_FT/pyroscope/pyrocore/lookup | LDU_FT | [
"<BEGIN>\n## `resolve_slashed`",
"Resolve symlinked directories if they end in a '/',\n remove trailing '/' otherwise.\n<END>",
"<BEGIN>\n## `guarded`",
"Catch exceptions thrown by filesystem calls, and don't really\n execute them in dry-run mode.\n<END>",
"<BEGIN>\n## `_make_it_so`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Try to find field C{name}.
@return: Field descriptions, see C{matching.ConditionParser} for details. | "Try to find field C{name}.\n\n @return: Field descriptions, see C{matching.ConditionParser} for details." | 247 | false | pyroscope/pyrocore | lookup | 30,114 | |
LDU_FT/Noneus/slojsonrpc/handle_request | LDU_FT | [
"<BEGIN>\n## `register`",
"register all methods for of an object as json rpc methods",
" obj - object with methods\n<END>",
"<BEGIN>\n## `_validate_format`",
"Validate jsonrpc compliance of a jsonrpc-dict.",
" req - the request as a jsonrpc-dict",
" raises SLOJSONRPCError on validat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | handle a jsonrpc request
req - request as jsonrpc-dict
validate - validate the request? (default: True)
returns jsonrpc-dict with result or error | "handle a jsonrpc request\n\n req - request as jsonrpc-dict\n validate - validate the request? (default: True)\n\n returns jsonrpc-dict with result or error" | 19 | false | Noneus/slojsonrpc | handle_request | 30,115 | |
LDU_FT/telefonicaid/fiware-sdc/launch_request | LDU_FT | [
"<BEGIN>\n## `_xml_to_dict`",
"Convert RAW XML string to Python dict\n :param xml_to_convert: XML to convert (string/text)\n :return: Python dict with all XML data\n<END>",
"<BEGIN>\n## `response_body_to_dict`",
"Convert a XML or JSON response in a Python dict\n :param http_requests_response: 'Reques... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the launch_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the launch_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Launch HTTP request to the API with given arguments
:param uri_pattern: string pattern of the full API url with keyword arguments (format string syntax)
:param body: Raw Body content (string) (Plain/XML/JSON to be sent)
:param method: HTTP ver to be used in the request [GET | POST | PUT | DELETE... | "Launch HTTP request to the API with given arguments\n :param uri_pattern: string pattern of the full API url with keyword arguments (format string syntax)\n :param body: Raw Body content (string) (Plain/XML/JSON to be sent)\n :param method: HTTP ver to be used in the request [GET | POST | PUT | DE... | 60 | false | telefonicaid/fiware-sdc | launch_request | 30,116 | |
LDU_FT/inveniosoftware/invenio-marc21/serialize | LDU_FT | [
"<BEGIN>\n## `transform_record`",
"Transform record into an intermediate representation.",
" :param pid: The :class:`invenio_pidstore.models.PersistentIdentifier`\n instance.\n :param record: The :class:`invenio_records.api.Record` instance.\n :param links_factory: The link facto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Serialize a single record and persistent identifier.
:param pid: The :class:`invenio_pidstore.models.PersistentIdentifier`
instance.
:param record: The :class:`invenio_records.api.Record` instance.
:param links_factory: Factory function for the link generation,
which are... | "Serialize a single record and persistent identifier.\n\n :param pid: The :class:`invenio_pidstore.models.PersistentIdentifier`\n instance.\n :param record: The :class:`invenio_records.api.Record` instance.\n :param links_factory: Factory function for the link generation,\n wh... | 18 | false | inveniosoftware/invenio-marc21 | serialize | 30,117 | |
LDU_FT/jameslyons/python_speech_features/deframesig | LDU_FT | [
"<BEGIN>\n## `framesig`",
"Frame a signal into overlapping frames.",
" :param sig: the audio signal to frame.\n :param frame_len: length of each frame measured in samples.\n :param frame_step: number of samples after the start of the previous frame that the next frame should begin.\n :param winfunc:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deframesig API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deframesig API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Does overlap-add procedure to undo the action of framesig.
:param frames: the array of frames.
:param siglen: the length of the desired signal, use 0 if unknown. Output will be truncated to siglen samples.
:param frame_len: length of each frame measured in samples.
:param frame_step: number of samples ... | "Does overlap-add procedure to undo the action of framesig.\n\n :param frames: the array of frames.\n :param siglen: the length of the desired signal, use 0 if unknown. Output will be truncated to siglen samples.\n :param frame_len: length of each frame measured in samples.\n :param frame_step: number of sa... | 42 | false | jameslyons/python_speech_features | deframesig | 30,118 | |
LDU_FT/pyparsing/pyparsing/if_end_action | LDU_FT | [
"<BEGIN>\n## `parse`",
"Accepts an input string containing an LA equation, e.g.,\r\n \"M3_mymatrix = M3_anothermatrix^-1\" returns C code function\r\n calls that implement the expression.\n<END>",
"<BEGIN>\n## `fprocess`",
"Scans an input file for LA equations between double square brackets,\r\n e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the if_end_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the if_end_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Code executed after recognising a whole if statement | "Code executed after recognising a whole if statement" | 132 | false | pyparsing/pyparsing | if_end_action | 30,119 | |
LDU_FT/SCIP-Interfaces/PySCIPOpt/flp | LDU_FT | [
"<BEGIN>\n## `gpp`",
"gpp -- model for the graph partitioning problem\n Parameters:\n - V: set/list of nodes in the graph\n - E: set/list of edges in the graph\n Returns a model, ready to be solved.\n<END>",
"<BEGIN>\n## `gpp_soco`",
"gpp -- model for the graph partitioning problem in soco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | flp -- model for the capacitated facility location problem
Parameters:
- I: set of customers
- J: set of facilities
- d[i]: demand for customer i
- M[j]: capacity of facility j
- f[j]: fixed cost for using a facility in point j
- c[i,j]: unit cost of servicing demand ... | "flp -- model for the capacitated facility location problem\n Parameters:\n - I: set of customers\n - J: set of facilities\n - d[i]: demand for customer i\n - M[j]: capacity of facility j\n - f[j]: fixed cost for using a facility in point j\n - c[i,j]: unit cost of servicing... | 220 | false | SCIP-Interfaces/PySCIPOpt | flp | 30,120 | |
LDU_FT/bitlabstudio/django-development-fabfile/create_db | LDU_FT | [
"<BEGIN>\n## `require_server`",
"Checks if the user has called the task with a server name.",
" Fabric tasks decorated with this decorator must be called like so::",
" fab <server name> <task name>",
" If no server name is given, the task will not be executed.\n<END>",
"<BEGIN>\n## `run_deplo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_db API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_db API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Creates the local database.
:param with_postgis: If ``True``, the postgis extension will be installed. | "Creates the local database.\n\n :param with_postgis: If ``True``, the postgis extension will be installed." | 77 | false | bitlabstudio/django-development-fabfile | create_db | 30,121 | |
LDU_FT/pedrotgn/pyactor/join | LDU_FT | [
"<BEGIN>\n## `set_context`",
"This function initializes the context of execution deciding which\n type of threads are being used: classic python threads or green\n threads, provided by Gevent.",
" This should be called first of all in every execution, otherwise,\n the library would not work.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | if join returns false, the node did not entry the ring. Retry it | "if join returns false, the node did not entry the ring. Retry it" | 102 | false | pedrotgn/pyactor | join | 30,122 | |
LDU_FT/graphql-python/graphql-core/get_field_def | LDU_FT | [
"<BEGIN>\n## `is_valid_value`",
"Given a type and any value, return True if that value is valid.\n<END>",
"<BEGIN>\n## `get_key_for_schema_and_document_string`",
"This method returns a unique key given a schema and a request_string\n<END>",
"<BEGIN>\n## `document_from_string`",
"This method returns a Grap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_def API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_def API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | This method looks up the field on the given type defintion.
It has special casing for the two introspection fields, __schema
and __typename. __typename is special because it can always be
queried as a field, even in situations where no other fields
are allowed, like on a Union. __schema could get automa... | "This method looks up the field on the given type defintion.\n It has special casing for the two introspection fields, __schema\n and __typename. __typename is special because it can always be\n queried as a field, even in situations where no other fields\n are allowed, like on a Union. __schema could get a... | 128 | false | graphql-python/graphql-core | get_field_def | 30,123 | |
LDU_FT/google/identity-toolkit-python-client/UploadUsers | LDU_FT | [
"<BEGIN>\n## `DownloadAccount`",
"Downloads multiple accounts from Gitkit server.",
" Args:\n next_page_token: string, pagination token.\n max_results: pagination size.",
" Returns:\n An array of accounts.\n<END>",
"<BEGIN>\n## `UploadAccount`",
"Uploads multiple accounts to Gitkit se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the UploadUsers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the UploadUsers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Uploads multiple users to Gitkit server.
Args:
hash_algorithm: string, the hash algorithm.
hash_key: array, raw key of the hash algorithm.
accounts: list of GitkitUser.
Returns:
A dict of failed accounts. The key is the index of the 'accounts' list,
starting from 0. | "Uploads multiple users to Gitkit server.\n\n Args:\n hash_algorithm: string, the hash algorithm.\n hash_key: array, raw key of the hash algorithm.\n accounts: list of GitkitUser.\n\n Returns:\n A dict of failed accounts. The key is the index of the 'accounts' list,\n starting from 0.... | 63 | false | google/identity-toolkit-python-client | UploadUsers | 30,124 | |
LDU_FT/tbobm/etnawrapper/get_logs | LDU_FT | [
"<BEGIN>\n## `_request_api`",
"Wrap the calls the url, with the given arguments.",
" :param str url: Url to call with the given arguments\n :param str method: [POST | GET] Method to use on the request\n :param int status: Expected status code\n<END>",
"<BEGIN>\n## `get_infos_with_id`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get a user's logs.
:param str login: User's login (Default: self._login)
:return: JSON | "Get a user's logs.\n\n :param str login: User's login (Default: self._login)\n :return: JSON" | 39 | false | tbobm/etnawrapper | get_logs | 30,125 | |
LDU_FT/ooici/elasticpy/bool | LDU_FT | [
"<BEGIN>\n## `ids`",
"http://www.elasticsearch.org/guide/reference/query-dsl/ids-filter.html\nFilters documents that only have the provided ids. Note, this filter does not require the _id field to be indexed since it works using the _uid field.\n<END>",
"<BEGIN>\n## `geo_bounding_box`",
"http://www.elasticsea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | http://www.elasticsearch.org/guide/reference/query-dsl/bool-query.html
A query that matches documents matching boolean combinations of other queris. The bool query maps to Lucene BooleanQuery. It is built using one of more boolean clauses, each clause with a typed occurrence. The occurrence types are:
'... | "http://www.elasticsearch.org/guide/reference/query-dsl/bool-query.html\n A query that matches documents matching boolean combinations of other queris. The bool query maps to Lucene BooleanQuery. It is built using one of more boolean clauses, each clause with a typed occurrence. The occurrence types are:\n ... | 89 | false | ooici/elasticpy | bool | 30,126 | |
LDU_FT/bovee/Aston/delta13c_craig | LDU_FT | [
"<BEGIN>\n## `simple_integrate`",
"Integrate each peak naively; without regard to overlap.",
" This is used as the terminal step by most of the other integrators.\n<END>",
"<BEGIN>\n## `drop_integrate`",
"Resolves overlap by breaking at the minimum value.\n<END>",
"<BEGIN>\n## `_integrate_mpwrap`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delta13c_craig API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delta13c_craig API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Algorithm from Craig 1957.
From the original Craig paper, we can set up a pair of equations
and solve for d13C and d18O simultaneously:
d45 * r45 = r13 * d13
+ 0.5 * r17 * d18
d46 = r13 * ((r17**2 + r17 - r18) / a) * d13
+ 1 - 0.5 * r17 * ((r13**2 + r13 - r18) / a... | "Algorithm from Craig 1957.\n\n From the original Craig paper, we can set up a pair of equations\n and solve for d13C and d18O simultaneously:\n\n d45 * r45 = r13 * d13\n + 0.5 * r17 * d18\n d46 = r13 * ((r17**2 + r17 - r18) / a) * d13\n + 1 - 0.5 * r17 * ((r13**2 + r13 -... | 89 | false | bovee/Aston | delta13c_craig | 30,127 | |
LDU_FT/welbornprod/colr/format | LDU_FT | [
"<BEGIN>\n## `main`",
"Main entry point, expects doctopt arg dict as argd.\n<END>",
"<BEGIN>\n## `print_err`",
"A wrapper for print() that uses stderr by default.\n<END>",
"<BEGIN>\n## `walk_dir_animated`",
"Walk a directory, printing status updates along the way.\n<END>",
"<BEGIN>\n## `walk_dir_progres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Like str.format, except it returns a Colr. | "Like str.format, except it returns a Colr." | 316 | false | welbornprod/colr | format | 30,128 | |
LDU_FT/jonhadfield/python-hosts/populate_entries | LDU_FT | [
"<BEGIN>\n## `get_entry_type`",
"Return the type of entry for the line of hosts file passed\n :param hosts_entry: A line from the hosts file\n :return: 'comment' | 'blank' | 'ipv4' | 'ipv6'\n<END>",
"<BEGIN>\n## `str_to_hostentry`",
"Transform a line from a hosts file into an instance of HostsEn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populate_entries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populate_entries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Called by the initialiser of Hosts. This reads the entries from the local hosts file,
converts them into instances of HostsEntry and adds them to the Hosts list of entries.
:return: None | "Called by the initialiser of Hosts. This reads the entries from the local hosts file,\n converts them into instances of HostsEntry and adds them to the Hosts list of entries.\n :return: None" | 28 | false | jonhadfield/python-hosts | populate_entries | 30,129 | |
LDU_FT/jorahn/icy/rmspe | LDU_FT | [
"<BEGIN>\n## `ae`",
"Computes the absolute error.",
" This function computes the absolute error between two numbers,\n or for element between a pair of lists or numpy arrays.",
" Parameters\n ----------\n actual : int, float, list of numbers, numpy array\n The ground truth value\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rmspe API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rmspe API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Computes the root mean square percentage error between two lists
of numbers. Ignores elements where actual[n] == 0.
Parameters
----------
actual : list of numbers, numpy array
The ground truth value
predicted : same type as actual
The predicted value
Returns
... | "Computes the root mean square percentage error between two lists\n of numbers. Ignores elements where actual[n] == 0.\n \n Parameters\n ----------\n actual : list of numbers, numpy array\n The ground truth value\n predicted : same type as actual\n The predicted value\n\n ... | 86 | false | jorahn/icy | rmspe | 30,130 | |
LDU_FT/jcrobak/parquet-python/read_plain | LDU_FT | [
"<BEGIN>\n## `_get_footer_size`",
"Read the footer size in bytes, which is serialized as little endian.\n<END>",
"<BEGIN>\n## `_read_footer`",
"Read the footer from the given file object and returns a FileMetaData object.",
" This method assumes that the fo references a valid parquet file.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_plain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_plain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Read `count` items `type` from the fo using the plain encoding. | "Read `count` items `type` from the fo using the plain encoding." | 71 | false | jcrobak/parquet-python | read_plain | 30,131 | |
LDU_FT/biolink/biolink-model/forward_reference | LDU_FT | [
"<BEGIN>\n## `cli`",
"Generate JSON Schema representation of a biolink model\n<END>",
"<BEGIN>\n## `root_representer`",
"YAML callback -- used to filter out empty values (None, {}, [] and false)",
" @param dumper: data dumper\n @param data: data to be dumped\n @return:\n<END>",
"<BEGIN>\n## `cli`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward_reference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward_reference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Determine whether slot_range is a forward reference | "Determine whether slot_range is a forward reference" | 119 | false | biolink/biolink-model | forward_reference | 30,132 | |
LDU_FT/nccgroup/Scout2/is_throttled | LDU_FT | [
"<BEGIN>\n## `get_keys`",
"Copies the value of keys from source object to dest object",
" :param src:\n :param dst:\n :param keys:\n :return:\n<END>",
"<BEGIN>\n## `no_camel`",
"Converts CamelCase to camel_case",
" :param name:\n :return:\n<END>",
"<BEGIN>\n## `is_throttled`",
"Deter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_throttled API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_throttled API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Determines whether the exception is due to API throttling.
:param e: Exception raised
:return: True if it's a throttling exception else False | "Determines whether the exception is due to API throttling.\n\n :param e: Exception raised\n :return: True if it's a throttling exception else False" | 166 | false | nccgroup/Scout2 | is_throttled | 30,133 | |
LDU_FT/marshmallow-code/apispec/field2default | LDU_FT | [
"<BEGIN>\n## `load_operations_from_docstring`",
"Return a dictionary of OpenAPI operations parsed from a\n a docstring.\n<END>",
"<BEGIN>\n## `resolve_schema_instance`",
"Return schema instance for given schema (instance or class)",
" :param type|Schema|str schema: instance, class or class name of mar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field2default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field2default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return the dictionary containing the field's default value
Will first look for a `doc_default` key in the field's metadata and then
fall back on the field's `missing` parameter. A callable passed to the
field's missing parameter will be ignored.
:param Field field: A marshmallow field.... | "Return the dictionary containing the field's default value\n\n Will first look for a `doc_default` key in the field's metadata and then\n fall back on the field's `missing` parameter. A callable passed to the\n field's missing parameter will be ignored.\n\n :param Field field: A marshmallow... | 149 | false | marshmallow-code/apispec | field2default | 30,134 | |
LDU_FT/chris1610/barnum-proj/create_birthday | LDU_FT | [
"<BEGIN>\n## `completed_number`",
"'prefix' is the start of the CC number as a string, any number of digits.\n 'length' is the length of the CC number to generate. Typically 13 or 16\n<END>",
"<BEGIN>\n## `create_nouns`",
"Return a string of random nouns up to max number\n<END>",
"<BEGIN>\n## `create_dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_birthday API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_birthday API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create a random birthday fomr someone between the ages of min_age and max_age | "Create a random birthday fomr someone between the ages of min_age and max_age" | 16 | false | chris1610/barnum-proj | create_birthday | 30,135 | |
LDU_FT/OTL/jps/publish | LDU_FT | [
"<BEGIN>\n## `launch_modules_with_names`",
"launch module.main functions in another process\n<END>",
"<BEGIN>\n## `publish`",
"Publish payload to the topic",
" .. note:: If you publishes just after creating Publisher instance, it will causes\n lost of message. You have to add sleep if you j... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Publish payload to the topic
.. note:: If you publishes just after creating Publisher instance, it will causes
lost of message. You have to add sleep if you just want to publish once.
>>> pub = jps.Publisher('topic')
>>> time.sleep(0.1)
>>> pub.publish('{data}')
... | "Publish payload to the topic\n\n .. note:: If you publishes just after creating Publisher instance, it will causes\n lost of message. You have to add sleep if you just want to publish once.\n\n >>> pub = jps.Publisher('topic')\n >>> time.sleep(0.1)\n >>> pub.publish('{dat... | 31 | false | OTL/jps | publish | 30,136 | |
LDU_FT/cloudnull/turbolift/get_items | LDU_FT | [
"<BEGIN>\n## `start`",
"Return a list of objects from the API for a container.\n<END>",
"<BEGIN>\n## `_cdn`",
"Retrieve a long list of all files in a container.",
" :return final_list, list_count, last_obj:\n<END>",
"<BEGIN>\n## `remove_dirs`",
"Delete a directory recursively.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_items API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_items API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get an objects from a container.
:param url:
:param container: | "Get an objects from a container.\n\n :param url:\n :param container:" | 148 | false | cloudnull/turbolift | get_items | 30,137 | |
LDU_FT/itamarst/eliot/as_task | LDU_FT | [
"<BEGIN>\n## `stopService`",
"Stop the writer thread, wait for it to finish.\n<END>",
"<BEGIN>\n## `bind`",
"Return a new L{Message} with this message's contents plus the\n additional given bindings.\n<END>",
"<BEGIN>\n## `_freeze`",
"Freeze this message for logging, registering it with C{action}."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Start a new L{eliot.Action} of this type as a task (i.e. top-level
action) with the given start fields.
See L{ActionType.__call__} for example of usage.
@param logger: A L{eliot.ILogger} provider to which the action's
messages will be written, or C{None} to use the default one.
... | "Start a new L{eliot.Action} of this type as a task (i.e. top-level\n action) with the given start fields.\n\n See L{ActionType.__call__} for example of usage.\n\n @param logger: A L{eliot.ILogger} provider to which the action's\n messages will be written, or C{None} to use the default o... | 282 | false | itamarst/eliot | as_task | 30,138 | |
LDU_FT/beerfactory/hbmqtt/get_plugin | LDU_FT | [
"<BEGIN>\n## `mqtt_subscribe`",
":param topics: array of topics [{'filter':'/a/b', 'qos': 0x00}, ...]\n :return:\n<END>",
"<BEGIN>\n## `start`",
"Start the broker to serve with the given configuration",
" Start method opens network sockets and will start listening for incoming connections.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get a plugin by its name from the plugins loaded for the current namespace
:param name:
:return: | "Get a plugin by its name from the plugins loaded for the current namespace\n :param name:\n :return:" | 110 | false | beerfactory/hbmqtt | get_plugin | 30,139 | |
LDU_FT/hyperledger/indy-plenum/next_primary_replica_name_for_master | LDU_FT | [
"<BEGIN>\n## `set_status`",
"Set the status of the motor to the specified value if not already set.\n<END>",
"<BEGIN>\n## `stop`",
"Set the status to Status.stopping and also call `onStopping`\n with the provided args and kwargs.\n<END>",
"<BEGIN>\n## `next_primary_replica_name_for_master`",
"Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_primary_replica_name_for_master API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_primary_replica_name_for_master API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | Returns name and corresponding instance name of the next node which
is supposed to be a new Primary. In fact it is not round-robin on
this abstraction layer as currently the primary of master instance is
pointed directly depending on view number, instance id and total
number of nodes.
... | "Returns name and corresponding instance name of the next node which\n is supposed to be a new Primary. In fact it is not round-robin on\n this abstraction layer as currently the primary of master instance is\n pointed directly depending on view number, instance id and total\n number of node... | 773 | false | hyperledger/indy-plenum | next_primary_replica_name_for_master | 30,140 | |
LDU_FT/crate/crate-python/rewrite_update | LDU_FT | [
"<BEGIN>\n## `coerce`",
"Convert plain dictionaries to MutableDict.\n<END>",
"<BEGIN>\n## `_raise_for_status`",
"make sure that only crate.exceptions are raised that are defined in\n the DB-API specification\n<END>",
"<BEGIN>\n## `_server_url`",
"Normalizes a given server string to an url",
" >>> ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rewrite_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rewrite_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | change the params to enable partial updates
sqlalchemy by default only supports updates of complex types in the form of
"col = ?", ({"x": 1, "y": 2}
but crate supports
"col['x'] = ?, col['y'] = ?", (1, 2)
by using the `Craty` (`MutableDict`) type.
The update statement is only rewrit... | "change the params to enable partial updates\n\n sqlalchemy by default only supports updates of complex types in the form of\n\n \"col = ?\", ({\"x\": 1, \"y\": 2}\n\n but crate supports\n\n \"col['x'] = ?, col['y'] = ?\", (1, 2)\n\n by using the `Craty` (`MutableDict`) type.\n The update stat... | 81 | false | crate/crate-python | rewrite_update | 30,141 | |
LDU_FT/mdickinson/bigfloat/dim | LDU_FT | [
"<BEGIN>\n## `build`",
"Build the bigfloat library for in-place testing.\n<END>",
"<BEGIN>\n## `_quotient_exponent`",
"Given two positive finite MPFR instances x and y,\n find the exponent of x / y; that is, the unique\n integer e such that 2**(e-1) <= x / y < 2**e.\n<END>",
"<BEGIN>\n## `mpfr_floordi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dim API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dim API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Return max(x - y, 0).
Return x - y if x > y, +0 if x <= y, and NaN if either x or y is NaN. | "Return max(x - y, 0).\n\n Return x - y if x > y, +0 if x <= y, and NaN if either x or y is NaN." | 273 | false | mdickinson/bigfloat | dim | 30,142 | |
LDU_FT/nchopin/particles/backward_sampling | LDU_FT | [
"<BEGIN>\n## `all_distinct`",
"Returns the list [l[i] for i in idx] \n When needed, objects l[i] are replaced by a copy, to make sure that\n the elements of the list are all distinct",
" Parameters\n ---------\n l: iterable\n idx: iterable that generates ints (e.g. ndarray of ints)",
" Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the backward_sampling API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the backward_sampling API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Generate trajectories using the FFBS (forward filtering backward
sampling) algorithm.
Arguments
---------
M: int
number of trajectories we want to generate
linear_cost: bool
if set to True, the O(N) version is used, see below.
return_ar: bool ... | "Generate trajectories using the FFBS (forward filtering backward\n sampling) algorithm. \n\n Arguments\n ---------\n M: int\n number of trajectories we want to generate\n linear_cost: bool \n if set to True, the O(N) version is used, see below. \n\n retur... | 249 | false | nchopin/particles | backward_sampling | 30,143 | |
LDU_FT/ismms-himc/clustergrammer2/widget | LDU_FT | [
"<BEGIN>\n## `run_norm`",
"A dataframe (more accurately a dictionary of dataframes, e.g. mat,\n mat_up...) can be passed to run_norm and a normalization will be run (\n e.g. zscore) on either the rows or columns\n<END>",
"<BEGIN>\n## `qn_df`",
"do quantile normalization of a dataframe dictionary, does not w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the widget API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the widget API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Generate a widget visualization using the widget. The export_viz_to_widget
method passes the visualization JSON to the instantiated widget, which is
returned and visualized on the front-end. | "Generate a widget visualization using the widget. The export_viz_to_widget\n method passes the visualization JSON to the instantiated widget, which is\n returned and visualized on the front-end." | 90 | false | ismms-himc/clustergrammer2 | widget | 30,144 | |
LDU_FT/benoitkugler/abstractDataLibrary/recherche | LDU_FT | [
"<BEGIN>\n## `recherche`",
"abstractSearch in fields of collection and reset rendering.\n Returns number of results.\n If in_all is True, call get_all before doing the search.\n<END>",
"<BEGIN>\n## `launch_background_job`",
"Launch the callable job in background thread.\n Succes or failur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recherche API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recherche API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Performs a search field by field, using functions defined in formats.
Matchs are marked with info[`font`]
:param pattern: String to look for
:param entete: Fields to look into
:return: Nothing. The collection is changed in place | "Performs a search field by field, using functions defined in formats.\n Matchs are marked with info[`font`]\n\n :param pattern: String to look for\n :param entete: Fields to look into\n :return: Nothing. The collection is changed in place" | 131 | false | benoitkugler/abstractDataLibrary | recherche | 30,145 | |
LDU_FT/inspirehep/plotextractor/get_context | LDU_FT | [
"<BEGIN>\n## `get_context`",
"Get context.",
" Given a relevant string from a TeX file, this function will extract text\n from it as far as it is deemed contextually relevant, either backwards or\n forwards in the text.\n The level of relevance allowed is configurable. When it reaches some\n poin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get context.
Given a relevant string from a TeX file, this function will extract text
from it as far as it is deemed contextually relevant, either backwards or
forwards in the text.
The level of relevance allowed is configurable. When it reaches some
point in the text that is determined to be out o... | "Get context.\n\n Given a relevant string from a TeX file, this function will extract text\n from it as far as it is deemed contextually relevant, either backwards or\n forwards in the text.\n The level of relevance allowed is configurable. When it reaches some\n point in the text that is determined to b... | 80 | false | inspirehep/plotextractor | get_context | 30,146 | |
LDU_FT/mixmastamyk/console/detect_palette_support | LDU_FT | [
"<BEGIN>\n## `clear_line`",
"Clear the current line.",
" Arguments:",
" mode: | 0 | 'forward' | 'right' - Clear cursor to end of line.\n | 1 | 'backward' | 'left' - Clear cursor to beginning of line.\n | 2 | 'full' - Clear entire line.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_palette_support API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_palette_support API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns whether we think the terminal supports basic, extended, or
truecolor. None if not able to tell.
Returns:
None or str: 'basic', 'extended', 'truecolor' | "Returns whether we think the terminal supports basic, extended, or\n truecolor. None if not able to tell.\n\n Returns:\n None or str: 'basic', 'extended', 'truecolor'" | 158 | false | mixmastamyk/console | detect_palette_support | 30,147 | |
LDU_FT/hydraplatform/hydra-base/bulk_set_project_owners | LDU_FT | [
"<BEGIN>\n## `check_perm`",
"Checks whether a user has permission to perform an action.\n The permission_code parameter should be a permission contained in tPerm.",
" If the user does not have permission to perfom an action, a permission\n error is thrown.\n<END>",
"<BEGIN>\n## `required_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_set_project_owners API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_set_project_owners API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Set the project owner of multiple projects at once.
Accepts a list of JSONObjects which look like:
{
'project_id': XX,
'user_id' : YY,
'view' : 'Y'/ 'N'
'edit' : 'Y'/ 'N'
'share' : 'Y'/ 'N'
} | "Set the project owner of multiple projects at once.\n Accepts a list of JSONObjects which look like:\n {\n 'project_id': XX,\n 'user_id' : YY,\n 'view' : 'Y'/ 'N'\n 'edit' : 'Y'/ 'N'\n 'share' : 'Y'/ 'N'\n }" | 576 | false | hydraplatform/hydra-base | bulk_set_project_owners | 30,148 | |
LDU_FT/PyGithub/PyGithub/get_projects | LDU_FT | [
"<BEGIN>\n## `add_membership`",
":calls: `PUT /teams/:id/memberships/:user <http://developer.github.com/v3/orgs/teams>`_\n :param member: :class:`github.Nameduser.NamedUser`\n :param role: string\n :rtype: None\n<END>",
"<BEGIN>\n## `add_to_repos`",
":calls: `PUT /teams/:id/repos/:org/:re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_projects API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_projects API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | :calls: `GET /orgs/:org/projects <https://developer.github.com/v3/projects/#list-organization-projects>`_
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Project.Project`
:param state: string | ":calls: `GET /orgs/:org/projects <https://developer.github.com/v3/projects/#list-organization-projects>`_\n :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Project.Project`\n :param state: string" | 520 | false | PyGithub/PyGithub | get_projects | 30,149 | |
LDU_FT/sffjunkie/astral/solar_midnight | LDU_FT | [
"<BEGIN>\n## `timezone`",
"The name of the time zone for the location.",
" A list of time zone names can be obtained from pytz. For example.",
" >>> from pytz import all_timezones\n >>> for timezone in all_timezones:\n ... print(timezone)\n<END>",
"<BEGIN>\n## `sun`",
"Retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solar_midnight API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solar_midnight API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Calculates the solar midnight (the time when the sun is at its lowest
point.)
:param date: The date for which to calculate the midnight time.
If no date is specified then the current date will be used.
:type date: :class:`~datetime.date`
:param local: True = Time... | "Calculates the solar midnight (the time when the sun is at its lowest\n point.)\n\n :param date: The date for which to calculate the midnight time.\n If no date is specified then the current date will be used.\n :type date: :class:`~datetime.date`\n\n :param local: True... | 177 | false | sffjunkie/astral | solar_midnight | 30,150 | |
LDU_FT/okpy/ok-client/run | LDU_FT | [
"<BEGIN>\n## `load`",
"Prepares a set of setup, test, and teardown code to be\n run in the console.",
" PARAMETERS:\n code -- list; processed lines of code. Elements in the list are\n either strings (input) or CodeAnswer objects (output)\n setup -- str; raw ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Implements the GradedTestCase interface. | "Implements the GradedTestCase interface." | 141 | false | okpy/ok-client | run | 30,151 | |
LDU_FT/nkavaldj/myhdl_lib/checksum | LDU_FT | [
"<BEGIN>\n## `convert_ram_sp_ar`",
"Convert RAM: Single-Port, Asynchronous Read\n<END>",
"<BEGIN>\n## `convert_ram_sdp_rf`",
"Convert RAM: Simple-Dual-Port, Read-First\n<END>",
"<BEGIN>\n## `convert_ram_sdp_wf`",
"Convert RAM: Simple-Dual-Port, Write-First\n<END>",
"<BEGIN>\n## `convert_ram_sdp_ar`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checksum API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checksum API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Calculates checksum on a stream of packetised data
rx_vld - (i) valid data
rx_sop - (i) start of packet
rx_eop - (i) end of packet
rx_dat - (i) data
rx_mty - (i) empty bits when rx_eop
init_sum - (i) initial value for the sum (e.g. sum of... | "Calculates checksum on a stream of packetised data\n rx_vld - (i) valid data\n rx_sop - (i) start of packet\n rx_eop - (i) end of packet\n rx_dat - (i) data\n rx_mty - (i) empty bits when rx_eop\n init_sum - (i) initial value for the sum (e.g.... | 111 | false | nkavaldj/myhdl_lib | checksum | 30,152 | |
LDU_FT/seomoz/reppy/allowed | LDU_FT | [
"<BEGIN>\n## `exception`",
"What to return when there's an exception.\n<END>",
"<BEGIN>\n## `parse_date`",
"Return a timestamp for the provided datestring, described by RFC 7231.\n<END>",
"<BEGIN>\n## `factory`",
"Return (expiration, obj) corresponding to provided url, exercising the\n cache_policy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allowed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allowed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return true if the provided URL is allowed to agent. | "Return true if the provided URL is allowed to agent." | 10 | false | seomoz/reppy | allowed | 30,153 | |
LDU_FT/recurly/recurly-client-python/serializable_attributes | LDU_FT | [
"<BEGIN>\n## `error_class_for_http_status`",
"Return the appropriate `ResponseError` subclass for the given\n HTTP status code.\n<END>",
"<BEGIN>\n## `response_doc`",
"The XML document received from the service.\n<END>",
"<BEGIN>\n## `transaction_error_code`",
"The machine-readable error code for a tra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serializable_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serializable_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Attributes to be serialized in a ``POST`` or ``PUT`` request.
Returns all attributes unless a blacklist is specified | "Attributes to be serialized in a ``POST`` or ``PUT`` request.\n Returns all attributes unless a blacklist is specified" | 103 | false | recurly/recurly-client-python | serializable_attributes | 30,154 | |
LDU_FT/mapillary/mapillary_tools/interpolate_timestamp | LDU_FT | [
"<BEGIN>\n## `convert_from_gps_time`",
"Convert gps time in ticks to standard time.\n<END>",
"<BEGIN>\n## `upload`",
"Upload local images to Mapillary\n Args:\n import_path: Directory path to where the images are stored.\n verbose: Print extra warnings and errors.\n skip_subfolders: Sk... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolate_timestamp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolate_timestamp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Interpolate time stamps in case of identical timestamps | "Interpolate time stamps in case of identical timestamps" | 96 | false | mapillary/mapillary_tools | interpolate_timestamp | 30,155 | |
LDU_FT/epfl-lts2/pygsp/regression_tikhonov | LDU_FT | [
"<BEGIN>\n## `compute_avg_adj_deg`",
"r\"\"\"\n Compute the average adjacency degree for each node.",
" The average adjacency degree is the average of the degrees of a node and\n its neighbors.",
" Parameters\n ----------\n G: Graph\n Graph on which the statistic is extracted\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the regression_tikhonov API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the regression_tikhonov API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | r"""Solve a regression problem on graph via Tikhonov minimization.
The function solves
.. math:: \operatorname*{arg min}_x \| M x - y \|_2^2 + \tau \ x^T L x
if :math:`\tau > 0`, and
.. math:: \operatorname*{arg min}_x x^T L x \ \text{ s. t. } \ y = M x
otherwise.
Parameters
----------... | "r\"\"\"Solve a regression problem on graph via Tikhonov minimization.\n\n The function solves\n\n .. math:: \\operatorname*{arg min}_x \\| M x - y \\|_2^2 + \\tau \\ x^T L x\n\n if :math:`\\tau > 0`, and\n\n .. math:: \\operatorname*{arg min}_x x^T L x \\ \\text{ s. t. } \\ y = M x\n\n otherwise.\n\n ... | 617 | false | epfl-lts2/pygsp | regression_tikhonov | 30,156 | |
LDU_FT/johnnoone/json-spec/validate | LDU_FT | [
"<BEGIN>\n## `check`",
"Check if value exists into object.",
" :param doc: the document base\n :param pointer: the path to search in\n :param expected: the expected value\n :param raise_onerror: should raise on error?\n :return: boolean\n<END>",
"<BEGIN>\n## `add`",
"Add element to sequence, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validate object against validator
:param obj: the object to validate | "Validate object against validator\n\n :param obj: the object to validate" | 113 | false | johnnoone/json-spec | validate | 30,157 | |
LDU_FT/openvax/pyensembl/_all_feature_values | LDU_FT | [
"<BEGIN>\n## `_write_csv`",
"Parameters\n ----------\n df : pandas.DataFrame",
" csv_path : str",
" chunksize : int\n Number of rows to write at a time. Helps to limit memory\n consumption while writing a CSV.\n<END>",
"<BEGIN>\n## `cached_dataframe`",
"If... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _all_feature_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _all_feature_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Cached lookup of all values for a particular feature property from
the database, caches repeated queries in memory and
stores them as a CSV.
Parameters
----------
column : str
Name of property (e.g. exon_id)
feature : str
Type of entry (e.g. exo... | "Cached lookup of all values for a particular feature property from\n the database, caches repeated queries in memory and\n stores them as a CSV.\n\n Parameters\n ----------\n\n column : str\n Name of property (e.g. exon_id)\n\n feature : str\n Type of ent... | 234 | false | openvax/pyensembl | _all_feature_values | 30,158 | |
LDU_FT/MolSSI-BSE/basis_set_exchange/_make_graph | LDU_FT | [
"<BEGIN>\n## `read_gbasis`",
"Reads gbasis-formatted file data and converts it to a dictionary with the\n usual BSE fields",
" Note that the gbasis format does not store all the fields we\n have, so some fields are left blank\n<END>",
"<BEGIN>\n## `read_molcas`",
"Reads molcas-formatted fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_graph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_graph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Create a DOT graph file of the files included in a basis set | "Create a DOT graph file of the files included in a basis set" | 408 | false | MolSSI-BSE/basis_set_exchange | _make_graph | 30,159 | |
LDU_FT/hfaran/piazza-api/get_stats | LDU_FT | [
"<BEGIN>\n## `user_login`",
"Login with email, password and get back a session cookie",
" :type email: str\n :param email: The email used for authentication\n :type password: str\n :param password: The password used for authentication\n<END>",
"<BEGIN>\n## `demo_login`",
"Authe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get statistics for class
:type nid: str
:param nid: This is the ID of the network to get stats
from. This is optional and only to override the existing
`network_id` entered when created the class | "Get statistics for class\n\n :type nid: str\n :param nid: This is the ID of the network to get stats\n from. This is optional and only to override the existing\n `network_id` entered when created the class" | 100 | false | hfaran/piazza-api | get_stats | 30,160 | |
LDU_FT/log2timeline/plaso/CompileReport | LDU_FT | [
"<BEGIN>\n## `_GetStatus`",
"Retrieves status information.",
" Returns:\n dict[str, object]: status attributes, indexed by name.\n<END>",
"<BEGIN>\n## `_ProcessEvent`",
"Processes an event.",
" Args:\n mediator (AnalysisMediator): mediates interactions between\n analysis plugins a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CompileReport API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CompileReport API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Compiles an analysis report.
Args:
mediator (AnalysisMediator): mediates interactions between
analysis plugins and other components, such as storage and dfvfs.
Returns:
AnalysisReport: analysis report. | "Compiles an analysis report.\n\n Args:\n mediator (AnalysisMediator): mediates interactions between\n analysis plugins and other components, such as storage and dfvfs.\n\n Returns:\n AnalysisReport: analysis report." | 5,157 | true | log2timeline/plaso | CompileReport | 30,161 | |
LDU_FT/jashandeep-sohi/python-blowfish/decrypt_cbc_cts | LDU_FT | [
"<BEGIN>\n## `ctr_counter`",
"Return an infinite iterator that starts at `start` and iterates by 1 over\n integers between 0 and 2^64 - 1 cyclically, returning on each iteration the\n result of combining each number with `nonce` using function `f`.",
" `nonce` should be an random 64-bit integer that is used ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_cbc_cts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_cbc_cts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return an iterator that decrypts `data` using the Cipher-Block Chaining
with Ciphertext Stealing (CBC-CTS) mode of operation.
CBC-CTS mode can only operate on `data` that is greater than 8 bytes in
length.
Each iteration, except the last, always returns a block-sized :obj:`bytes`
object (i... | "Return an iterator that decrypts `data` using the Cipher-Block Chaining\n with Ciphertext Stealing (CBC-CTS) mode of operation.\n \n CBC-CTS mode can only operate on `data` that is greater than 8 bytes in\n length.\n \n Each iteration, except the last, always returns a block-sized :obj:`bytes`\n o... | 70 | false | jashandeep-sohi/python-blowfish | decrypt_cbc_cts | 30,162 | |
LDU_FT/olucurious/PyFCM/parse_payload | LDU_FT | [
"<BEGIN>\n## `registration_id_chunks`",
"Splits registration ids in several lists of max 1000 registration ids per list",
" Args:\n registration_ids (list): FCM device registration ID",
" Yields:\n generator: list including lists with registration ids\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_payload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_payload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parses parameters of FCMNotification's methods to FCM nested json
Args:
registration_ids (list, optional): FCM device registration IDs
topic_name (str, optional): Name of the topic to deliver messages to
message_body (str, optional): Message string to display in the notifica... | "Parses parameters of FCMNotification's methods to FCM nested json\n\n Args:\n registration_ids (list, optional): FCM device registration IDs\n topic_name (str, optional): Name of the topic to deliver messages to\n message_body (str, optional): Message string to display in the no... | 71 | false | olucurious/PyFCM | parse_payload | 30,163 | |
LDU_FT/SHDShim/pytheos/_hugoniot_pth | LDU_FT | [
"<BEGIN>\n## `constq_grun`",
"calculate Gruneisen parameter for constant q",
" :param v: unit-cell volume in A^3\n :param v0: unit-cell volume in A^3 at 1 bar\n :param gamma0: Gruneisen parameter at 1 bar\n :param q: logarithmic derivative of Grunseinen parameter\n :return: Gruneisen parameter at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hugoniot_pth API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hugoniot_pth API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | calculate thermal pressure along hugoniot
:param v: unit-cell volume in A^3
:return: thermal pressure along hugoniot in GPa | "calculate thermal pressure along hugoniot\n\n :param v: unit-cell volume in A^3\n :return: thermal pressure along hugoniot in GPa" | 234 | false | SHDShim/pytheos | _hugoniot_pth | 30,164 | |
LDU_FT/rsheftel/raccoon/get_columns | LDU_FT | [
"<BEGIN>\n## `sorted_exists`",
"For list, values, returns the insert position for item x and whether the item already exists in the list. This\n allows one function call to return either the index to overwrite an existing value in the list, or the index to\n insert a new item in the list and keep the list i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | For a single index and list of column names return a DataFrame of the values in that index as either a dict
or a DataFrame
:param index: single index value
:param columns: list of column names
:param as_dict: if True then return the result as a dictionary
:return: DataFrame or d... | "For a single index and list of column names return a DataFrame of the values in that index as either a dict\n or a DataFrame\n\n :param index: single index value\n :param columns: list of column names\n :param as_dict: if True then return the result as a dictionary\n :return: DataFra... | 208 | false | rsheftel/raccoon | get_columns | 30,165 | |
LDU_FT/MakerReduxCorp/PLOD/get_value | LDU_FT | [
"<BEGIN>\n## `dropKey`",
"Drop an attribute/element/key-value pair from all the dictionaries.",
" If the dictionary key does not exist in a particular dictionary, then\n that dictionary is left unchanged.",
" Side effect: if the key is a number and it matches a list (interpreted\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns the value found in the field_name attribute of the row dictionary. | "Returns the value found in the field_name attribute of the row dictionary." | 199 | false | MakerReduxCorp/PLOD | get_value | 30,166 | |
LDU_FT/rorr73/LifeSOSpy/async_change_special_device | LDU_FT | [
"<BEGIN>\n## `has_value`",
"True if specified value exists in int enum; otherwise, False.\n<END>",
"<BEGIN>\n## `parse_name`",
"Parse specified name for IntEnum; return default if not found.\n<END>",
"<BEGIN>\n## `parse_value`",
"Parse specified value for IntEnum; return default if not found.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_change_special_device API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_change_special_device API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Change settings for a 'Special' device on the base unit.
:param device_id: unique identifier for the device to be changed
:param group_number: group number the device is to be assigned to
:param unit_number: unit number the device is to be assigned to
:param enable_status: flags indicat... | "Change settings for a 'Special' device on the base unit.\n\n :param device_id: unique identifier for the device to be changed\n :param group_number: group number the device is to be assigned to\n :param unit_number: unit number the device is to be assigned to\n :param enable_status: flags i... | 84 | false | rorr73/LifeSOSpy | async_change_special_device | 30,167 | |
LDU_FT/eqcorrscan/EQcorrscan/calc_b_value | LDU_FT | [
"<BEGIN>\n## `_xcorr_interp`",
"Intrpolate around the maximum correlation value for sub-sample precision.",
" :param ccc: Cross-correlation array\n :type ccc: numpy.ndarray\n :param dt: sample interval\n :type dt: float",
" :return: Position of interpolated maximum in seconds from start of ccc\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_b_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_b_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Calculate the b-value for a range of completeness magnitudes.
Calculates a power-law fit to given magnitudes for each completeness
magnitude. Plots the b-values and residuals for the fitted catalogue
against the completeness values. Computes fits using numpy.polyfit,
which uses a least-squares techniq... | "Calculate the b-value for a range of completeness magnitudes.\n\n Calculates a power-law fit to given magnitudes for each completeness\n magnitude. Plots the b-values and residuals for the fitted catalogue\n against the completeness values. Computes fits using numpy.polyfit,\n which uses a least-squares t... | 1,281 | true | eqcorrscan/EQcorrscan | calc_b_value | 30,168 | |
LDU_FT/cosven/feeluown-core/_on_song_changed | LDU_FT | [
"<BEGIN>\n## `handle`",
"NOTE: use tcp instead of udp because some operations need ack\n<END>",
"<BEGIN>\n## `url`",
"We will always check if this song file exists in local library,\n if true, we return the url of the local file.",
" .. note::",
" As netease song url will be expir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_song_changed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_song_changed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | 播放列表 current_song 发生变化后的回调
判断变化后的歌曲是否有效的,有效则播放,否则将它标记为无效歌曲。
如果变化后的歌曲是 None,则停止播放。 | "播放列表 current_song 发生变化后的回调\n\n 判断变化后的歌曲是否有效的,有效则播放,否则将它标记为无效歌曲。\n 如果变化后的歌曲是 None,则停止播放。" | 74 | false | cosven/feeluown-core | _on_song_changed | 30,169 | |
LDU_FT/common-workflow-language/workflow-service/run | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Determines the version of a .py, .wdl, or .cwl file.\n<END>",
"<BEGIN>\n## `wf_info`",
"Returns the version of the file and the file extension.",
" Assumes that the file path is to the file directly ie, ends with a valid file extension.Supports checking local\n files as w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Constructs a command to run a cwl/json from requests and opts,
runs it, and deposits the outputs in outdir.
Runner:
opts.getopt("runner", default="cwl-runner")
CWL (url):
request["workflow_url"] == a url to a cwl file
or
request["workflow_attachment"] == input c... | "Constructs a command to run a cwl/json from requests and opts,\n runs it, and deposits the outputs in outdir.\n\n Runner:\n opts.getopt(\"runner\", default=\"cwl-runner\")\n\n CWL (url):\n request[\"workflow_url\"] == a url to a cwl file\n or\n request[\"workflow_attach... | 53 | false | common-workflow-language/workflow-service | run | 30,170 | |
LDU_FT/potash/drain/apply_pairwise | LDU_FT | [
"<BEGIN>\n## `y_score`",
"Score examples from a new matrix X\n Args:\n estimator: an sklearn estimator object\n X: design matrix with the same features that the estimator was trained on",
" Returns: a vector of scores of the same length as X",
" Note that estimator.predict_proba is pref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_pairwise API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_pairwise API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Helper function for pairwise apply.
Args:
steps: an ordered collection of steps
function: function to apply, first two positional arguments are steps
symmetric: whether function is symmetric in the two steps
diagonal: whether to apply on the diagonal
block: apply only when th... | "Helper function for pairwise apply.\n Args:\n steps: an ordered collection of steps\n function: function to apply, first two positional arguments are steps\n symmetric: whether function is symmetric in the two steps\n diagonal: whether to apply on the diagonal\n block: apply only ... | 165 | false | potash/drain | apply_pairwise | 30,171 | |
LDU_FT/bfontaine/term2048/parse_cli_args | LDU_FT | [
"<BEGIN>\n## `adjustColors`",
"Change a few colors depending on the mode to use. The default mode\n doesn't assume anything and avoid using white & black colors. The dark\n mode use white and avoid dark blue while the light mode use black and\n avoid yellow, to give a few examples.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_cli_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_cli_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | parse args from the CLI and return a dict | "parse args from the CLI and return a dict" | 28 | false | bfontaine/term2048 | parse_cli_args | 30,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.