Dataset Viewer
Auto-converted to Parquet Duplicate
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/axltxl/m2bk/init
LDU_FT
[ "<BEGIN>\n## `chkstr`", "Small routine for checking whether a string is empty\n even a string", " :param s: the string in question\n :param v: variable name\n<END>", "<BEGIN>\n## `load`", "Load this driver", " Note that if either aws_access_key_id or aws_secret_access_key are\n not specifie...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init 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 init 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...
Set up output directory :param output_dir(str, optional): Output dir for holding temporary files :param \*\*kwargs: arbitrary keyword arguments
"Set up output directory\n\n :param output_dir(str, optional): Output dir for holding temporary files\n :param \\*\\*kwargs: arbitrary keyword arguments"
83
false
axltxl/m2bk
init
2,873
LDU_FT/PolyJIT/benchbuild/no_args
LDU_FT
[ "<BEGIN>\n## `write_makeconfig`", "Write a valid gentoo make.conf file to :path:.", " Args:\n path - The output path of the make.conf\n<END>", "<BEGIN>\n## `write_bashrc`", "Write a valid gentoo bashrc file to :path:.", " Args:\n path - The output path of the make.conf\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the no_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the no_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 extracted...
Return the uchroot command without any customizations.
"Return the uchroot command without any customizations."
401
false
PolyJIT/benchbuild
no_args
2,874
LDU_FT/wangsix/vmo/predict
LDU_FT
[ "<BEGIN>\n## `main`", "This example shows how to parse a music mxl file (music21 and musescore/finale required) \n and create a simple oracle representation. The output is a reshuffled midi stream shown\n in either musescore or finale based on your installation of music21. ", " OPTIONAL ARGS:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict 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 predict 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...
Single symbolic prediction given a context, an oracle and an alphabet. :param oracle: a learned vmo object from a symbolic sequence. :param context: the context precedes the predicted symbol :param ab: alphabet :param verbose: to show if the context if pruned or not :return: a probability distribut...
"Single symbolic prediction given a context, an oracle and an alphabet.\n\n :param oracle: a learned vmo object from a symbolic sequence.\n :param context: the context precedes the predicted symbol\n :param ab: alphabet\n :param verbose: to show if the context if pruned or not\n :return: a probability di...
61
false
wangsix/vmo
predict
2,875
LDU_FT/nabetama/slacky/create
LDU_FT
[ "<BEGIN>\n## `create`", "https://api.slack.com/methods/channels.create\n<END>", "<BEGIN>\n## `history`", "https://api.slack.com/methods/channels.history\n<END>", "<BEGIN>\n## `info`", "https://api.slack.com/methods/channels.info\n<END>", "<BEGIN>\n## `invite`", "https://api.slack.com/methods/channels....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create 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 create 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 ...
https://api.slack.com/methods/channels.create
"https://api.slack.com/methods/channels.create"
60
false
nabetama/slacky
create
2,876
LDU_FT/the01/paps-settings/_plugin_get
LDU_FT
[ "<BEGIN>\n## `get_file_hash`", "Generate hash for given file", " :param file_path: Path to file\n :type file_path: str\n :param block_size: Size of block to be read at once (default: 1024)\n :type block_size: int\n :param hasher: Use specific hasher, defaults to md5 (default: None)\n :type has...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _plugin_get 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 _plugin_get 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...
Find plugins in controller :param plugin_name: Name of the plugin to find :type plugin_name: str | None :return: Plugin or None and error message :rtype: (settable_plugin.SettablePlugin | None, str)
"Find plugins in controller\n\n :param plugin_name: Name of the plugin to find\n :type plugin_name: str | None\n :return: Plugin or None and error message\n :rtype: (settable_plugin.SettablePlugin | None, str)"
40
false
the01/paps-settings
_plugin_get
2,877
LDU_FT/etingof/pysnmpcrypto/_cryptography_cipher
LDU_FT
[ "<BEGIN>\n## `_cryptodome_encrypt`", "Use a Pycryptodome cipher factory to encrypt data.", " :param cipher_factory: Factory callable that builds a Pycryptodome Cipher\n instance based on the key and IV\n :type cipher_factory: callable\n :param bytes plaintext: Plaintext data to encrypt\n :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cryptography_cipher 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 _cryptography_cipher API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Build a cryptography AES Cipher object. :param bytes key: Encryption key :param bytes iv: Initialization vector :returns: AES Cipher instance :rtype: cryptography.hazmat.primitives.ciphers.Cipher
"Build a cryptography AES Cipher object.\n\n :param bytes key: Encryption key\n :param bytes iv: Initialization vector\n :returns: AES Cipher instance\n :rtype: cryptography.hazmat.primitives.ciphers.Cipher"
27
false
etingof/pysnmpcrypto
_cryptography_cipher
2,878
LDU_FT/thautwarm/Redy/reduce_by
LDU_FT
[ "<BEGIN>\n## `map_by`", "when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reduce_by 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 reduce_by 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...
>>> from Redy.Collections import Traversal, Flow >>> def mul(a: int, b: int): return a * b >>> lst: Iterable[int] = [1, 2, 3] >>> x = Flow(lst)[Traversal.reduce_by(mul)].unbox >>> assert x is 6
">>> from Redy.Collections import Traversal, Flow\n >>> def mul(a: int, b: int): return a * b\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traversal.reduce_by(mul)].unbox\n >>> assert x is 6"
83
false
thautwarm/Redy
reduce_by
2,879
LDU_FT/bitesofcode/projex/registerStdErr
LDU_FT
[ "<BEGIN>\n## `add`", "Adds the new key to this enumerated type.", " :param key | <str>\n<END>", "<BEGIN>\n## `all`", "Returns all the values joined together.", " :return <int>\n<END>", "<BEGIN>\n## `base`", "Returns the root base for the given value from this enumeration.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the registerStdErr 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 registerStdErr 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...
Registers a function to the print hook queue to be called on hook. This method will also override the current sys.stdout variable with a new <StreamHooks> instance. This will preserve any current sys.stdout overrides while providing a hookable class for linking multiple methods to. :param fu...
"Registers a function to the print hook queue to be called on hook.\n This method will also override the current sys.stdout variable with a new\n <StreamHooks> instance. This will preserve any current sys.stdout \n overrides while providing a hookable class for linking multiple methods to.\n \n :param ...
676
false
bitesofcode/projex
registerStdErr
2,880
LDU_FT/NerdWalletOSS/savage/_get_order_clause
LDU_FT
[ "<BEGIN>\n## `delete`", "Performs a hard delete on a row, which means the row is deleted from the Savage\n table as well as the archive table.", " :param table: the model class which inherits from\n :class:`~savage.models.user_table.SavageModelMixin` and specifies the model\n of the user tab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_order_clause 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 _get_order_clause 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...
Returns an ascending order clause on the versioned unique constraint as well as the version column.
"Returns an ascending order clause on the versioned unique constraint as well as the\n version column."
60
false
NerdWalletOSS/savage
_get_order_clause
2,881
LDU_FT/gamechanger/schemer/length
LDU_FT
[ "<BEGIN>\n## `Mixed`", "Mixed type, used to indicate a field in a schema can be\n one of many types. Use as a last resort only.\n The Mixed type can be used directly as a class to indicate\n any type is permitted for a given field:\n `\"my_field\": {\"type\": Mixed}`\n It can also be instantiated w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the length 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 length 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 ...
Validates that a field value's length is between the bounds given to this validator.
"Validates that a field value's length is between the bounds given to this\n validator."
48
false
gamechanger/schemer
length
2,882
LDU_FT/ace0/pyrelic/deserializeEc
LDU_FT
[ "<BEGIN>\n## `assertSameType`", "Raises an exception if @b is not an instance of type(@a)\n<END>", "<BEGIN>\n## `assertType`", "Asserts that a variable @var is of an @expectedType. Raises a TypeError\n if the assertion fails.\n<END>", "<BEGIN>\n## `dp`", "Debugging print. Prints a list of labels and va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserializeEc 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 deserializeEc 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...
Deserialize binary string @x into an EC element.
"Deserialize binary string @x into an EC element."
109
false
ace0/pyrelic
deserializeEc
2,883
LDU_FT/SavinaRoja/OpenAccess_EPUB/uncomment
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 uncomment 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 uncomment 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...
Converts the comment node received to a non-commented element, in place, and will return the new node. This may fail, primarily due to special characters within the comment that the xml parser is unable to handle. If it fails, this method will log an error and return None
"Converts the comment node received to a non-commented element, in place,\n and will return the new node.\n\n This may fail, primarily due to special characters within the comment that\n the xml parser is unable to handle. If it fails, this method will log an\n error and return None"
245
false
SavinaRoja/OpenAccess_EPUB
uncomment
2,884
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
26