docdrift-bugs / planted_drift.jsonl
ollymcbride4's picture
DocDrift v2 dataset f350860
421a3db verified
Raw History Blame Contribute Delete
42.4 kB
{"plant_id": "P1-01", "kind": "doc_rename_class", "bucket": "~1k", "distance_real_tokens_est": 1887, "distance_cl100k": 1590, "doc_path": "httpx/httpx/_urls.py", "doc_line": 569, "doc_text": " Return a new QueryArgs instance, removing the value of a key.", "code_path": "httpx/httpx/_urls.py", "code_line": 420, "def_line": 420, "code_text": "class QueryParams(typing.Mapping[str, str]):", "symbol": "QueryParams", "old": "QueryParams", "new": "QueryArgs", "doc_says": "QueryArgs", "code_says": "QueryParams", "doc_pos_real_est": 216184, "code_pos_real_est": 214297, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 22, "same_unit_chunk128k": true, "same_unit_chunk32k": true, "seed": 1}
{"plant_id": "P1-02", "kind": "code_rename_kwarg", "bucket": "~1k", "distance_real_tokens_est": 298, "distance_cl100k": 251, "doc_path": "click/src/click/testing.py", "doc_line": 761, "doc_text": " :param temp_dir: Create the temporary directory under this", "code_path": "click/src/click/testing.py", "code_line": 743, "def_line": 742, "code_text": " self, temp_directory: str | os.PathLike[str] | None = None", "symbol": "isolated_filesystem", "old": "temp_dir", "new": "temp_directory", "doc_says": "temp_dir", "code_says": "temp_directory", "doc_pos_real_est": 796404, "code_pos_real_est": 796106, "lines_edited": 4, "stale_line_check": true, "nearest_evidence_real_tokens_est": 129, "same_unit_chunk128k": true, "same_unit_chunk32k": true, "seed": 1}
{"plant_id": "P1-03", "kind": "doc_rename_function", "bucket": "~1k", "distance_real_tokens_est": 419, "distance_cl100k": 353, "doc_path": "werkzeug/src/werkzeug/formparser.py", "doc_line": 78, "doc_text": " :param stream_maker: A callable that returns a file in ``rb+`` mode.", "code_path": "werkzeug/src/werkzeug/formparser.py", "code_line": 43, "def_line": 43, "code_text": " def stream_factory(", "symbol": "stream_factory", "old": "stream_factory", "new": "stream_maker", "doc_says": "stream_maker", "code_says": "stream_factory", "doc_pos_real_est": 633636, "code_pos_real_est": 633217, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 263, "same_unit_chunk128k": true, "same_unit_chunk32k": true, "seed": 1}
{"plant_id": "P1-04", "kind": "code_rename_class", "bucket": "~1k", "distance_real_tokens_est": 1507, "distance_cl100k": 1270, "doc_path": "werkzeug/src/werkzeug/local.py", "doc_line": 254, "doc_text": " :class:`LocalProxy`.", "code_path": "werkzeug/src/werkzeug/local.py", "code_line": 385, "def_line": 385, "code_text": "class LocalGateway(t.Generic[T]):", "symbol": "LocalProxy", "old": "LocalProxy", "new": "LocalGateway", "doc_says": "LocalProxy", "code_says": "LocalGateway", "doc_pos_real_est": 861401, "code_pos_real_est": 862908, "lines_edited": 29, "stale_line_check": true, "nearest_evidence_real_tokens_est": 155, "same_unit_chunk128k": true, "same_unit_chunk32k": true, "seed": 1}
{"plant_id": "P1-05", "kind": "doc_rename_class", "bucket": "~10k", "distance_real_tokens_est": 8787, "distance_cl100k": 7403, "doc_path": "werkzeug/src/werkzeug/wsgi.py", "doc_line": 481, "doc_text": " Raises ``CallEntityTooLarge`` if the limit is a maximum.", "code_path": "werkzeug/src/werkzeug/exceptions.py", "code_line": 417, "def_line": 417, "code_text": "class RequestEntityTooLarge(HTTPException):", "symbol": "RequestEntityTooLarge", "old": "RequestEntityTooLarge", "new": "CallEntityTooLarge", "doc_says": "CallEntityTooLarge", "code_says": "RequestEntityTooLarge", "doc_pos_real_est": 30647, "code_pos_real_est": 21859, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 39, "same_unit_chunk128k": true, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-06", "kind": "doc_rename_function", "bucket": "~10k", "distance_real_tokens_est": 5213, "distance_cl100k": 4392, "doc_path": "httpx/httpx/_client.py", "doc_line": 794, "doc_text": " request = client.build_req(...)", "code_path": "httpx/httpx/_client.py", "code_line": 340, "def_line": 340, "code_text": " def build_request(", "symbol": "build_request", "old": "build_request", "new": "build_req", "doc_says": "build_req", "code_says": "build_request", "doc_pos_real_est": 419300, "code_pos_real_est": 414087, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 29, "same_unit_chunk128k": true, "same_unit_chunk32k": true, "seed": 1}
{"plant_id": "P1-07", "kind": "code_rename_class", "bucket": "~10k", "distance_real_tokens_est": 12296, "distance_cl100k": 10359, "doc_path": "jinja/src/jinja2/runtime.py", "doc_line": 973, "doc_text": " :exc:`UndefinedError`.", "code_path": "jinja/src/jinja2/exceptions.py", "code_line": 153, "def_line": 153, "code_text": "class MissingError(TemplateRuntimeError):", "symbol": "UndefinedError", "old": "UndefinedError", "new": "MissingError", "doc_says": "UndefinedError", "code_says": "MissingError", "doc_pos_real_est": 177941, "code_pos_real_est": 165645, "lines_edited": 20, "stale_line_check": true, "nearest_evidence_real_tokens_est": 78, "same_unit_chunk128k": true, "same_unit_chunk32k": true, "seed": 1}
{"plant_id": "P1-08", "kind": "code_rename_function", "bucket": "~10k", "distance_real_tokens_est": 3194, "distance_cl100k": 2691, "doc_path": "werkzeug/src/werkzeug/http.py", "doc_line": 527, "doc_text": " This is the reverse of :func:`dump_options_header`.", "code_path": "werkzeug/src/werkzeug/http.py", "code_line": 250, "def_line": 250, "code_text": "def dump_options_field(header: str | None, options: t.Mapping[str, t.Any]) -> str:", "symbol": "dump_options_header", "old": "dump_options_header", "new": "dump_options_field", "doc_says": "dump_options_header", "code_says": "dump_options_field", "doc_pos_real_est": 56847, "code_pos_real_est": 53653, "lines_edited": 11, "stale_line_check": true, "nearest_evidence_real_tokens_est": 3105, "same_unit_chunk128k": true, "same_unit_chunk32k": true, "seed": 1}
{"plant_id": "P1-09", "kind": "doc_rename_class", "bucket": "~50k", "distance_real_tokens_est": 33186, "distance_cl100k": 27958, "doc_path": "werkzeug/src/werkzeug/test.py", "doc_line": 58, "doc_text": " :class:`DocumentStorage` objects.) into a multipart encoded string stored", "code_path": "werkzeug/src/werkzeug/datastructures/file_storage.py", "code_line": 19, "def_line": 19, "code_text": "class FileStorage:", "symbol": "FileStorage", "old": "FileStorage", "new": "DocumentStorage", "doc_says": "DocumentStorage", "code_says": "FileStorage", "doc_pos_real_est": 433406, "code_pos_real_est": 400220, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 1956, "same_unit_chunk128k": true, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-10", "kind": "doc_rename_function", "bucket": "~50k", "distance_real_tokens_est": 45895, "distance_cl100k": 38665, "doc_path": "werkzeug/src/werkzeug/wrappers/response.py", "doc_line": 105, "doc_text": " checks. Use :func:`~werkzeug.utils.send_document` instead of setting", "code_path": "werkzeug/src/werkzeug/utils.py", "code_line": 309, "def_line": 309, "code_text": "def send_file(", "symbol": "send_file", "old": "send_file", "new": "send_document", "doc_says": "send_document", "code_says": "send_file", "doc_pos_real_est": 228661, "code_pos_real_est": 182765, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 639, "same_unit_chunk128k": true, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-11", "kind": "code_rename_class", "bucket": "~50k", "distance_real_tokens_est": 37975, "distance_cl100k": 31992, "doc_path": "werkzeug/src/werkzeug/test.py", "doc_line": 556, "doc_text": " :meth:`.FileMultiDict.close` first if that's needed.", "code_path": "werkzeug/src/werkzeug/datastructures/file_storage.py", "code_line": 159, "def_line": 159, "code_text": "class StreamMultiDict(MultiDict[str, FileStorage]):", "symbol": "FileMultiDict", "old": "FileMultiDict", "new": "StreamMultiDict", "doc_says": "FileMultiDict", "code_says": "StreamMultiDict", "doc_pos_real_est": 439725, "code_pos_real_est": 401750, "lines_edited": 8, "stale_line_check": true, "nearest_evidence_real_tokens_est": 80, "same_unit_chunk128k": true, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-12", "kind": "code_rename_function", "bucket": "~50k", "distance_real_tokens_est": 47749, "distance_cl100k": 40227, "doc_path": "structlog/src/structlog/_native.py", "doc_line": 103, "doc_text": " `structlog.stdlib.filter_by_level` processor:", "code_path": "structlog/src/structlog/stdlib.py", "code_line": 816, "def_line": 816, "code_text": "def filter_by_severity(", "symbol": "filter_by_level", "old": "filter_by_level", "new": "filter_by_severity", "doc_says": "filter_by_level", "code_says": "filter_by_severity", "doc_pos_real_est": 710635, "code_pos_real_est": 758384, "lines_edited": 16, "stale_line_check": true, "nearest_evidence_real_tokens_est": 38953, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-13", "kind": "doc_rename_class", "bucket": "~100k", "distance_real_tokens_est": 96732, "distance_cl100k": 81493, "doc_path": "structlog/docs/standard-library.md", "doc_line": 68, "doc_text": "To use it, {doc}`configure <configuration>` *structlog* to use `AsyncBoundRecorder` as `wrapper_class`.", "code_path": "structlog/src/structlog/stdlib.py", "code_line": 564, "def_line": 564, "code_text": "class AsyncBoundLogger:", "symbol": "AsyncBoundLogger", "old": "AsyncBoundLogger", "new": "AsyncBoundRecorder", "doc_says": "AsyncBoundRecorder", "code_says": "AsyncBoundLogger", "doc_pos_real_est": 851925, "code_pos_real_est": 755193, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 61, "same_unit_chunk128k": true, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-14", "kind": "doc_rename_function", "bucket": "~100k", "distance_real_tokens_est": 94756, "distance_cl100k": 79828, "doc_path": "structlog/docs/standard-library.md", "doc_line": 194, "doc_text": " structlog.stdlib.add_journal_name,", "code_path": "structlog/src/structlog/stdlib.py", "code_line": 871, "def_line": 871, "code_text": "def add_logger_name(", "symbol": "add_logger_name", "old": "add_logger_name", "new": "add_journal_name", "doc_says": "add_journal_name", "code_says": "add_logger_name", "doc_pos_real_est": 853722, "code_pos_real_est": 758966, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 1109, "same_unit_chunk128k": true, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-15", "kind": "code_rename_class", "bucket": "~100k", "distance_real_tokens_est": 148795, "distance_cl100k": 125354, "doc_path": "werkzeug/docs/tutorial.rst", "doc_line": 163, "doc_text": " app.wsgi_app = SharedDataMiddleware(app.wsgi_app, {", "code_path": "werkzeug/src/werkzeug/middleware/shared_data.py", "code_line": 29, "def_line": 29, "code_text": "class SharedPayloadMiddleware:", "symbol": "SharedDataMiddleware", "old": "SharedDataMiddleware", "new": "SharedPayloadMiddleware", "doc_says": "SharedDataMiddleware", "code_says": "SharedPayloadMiddleware", "doc_pos_real_est": 868525, "code_pos_real_est": 719730, "lines_edited": 6, "stale_line_check": true, "nearest_evidence_real_tokens_est": 363, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-16", "kind": "code_rename_function", "bucket": "~100k", "distance_real_tokens_est": 92941, "distance_cl100k": 78299, "doc_path": "structlog/docs/standard-library.md", "doc_line": 424, "doc_text": "However, you probably don't want to have them in your log files, thus we've added the `ProcessorFormatter.remove_processors_meta` processor to do so conveniently.", "code_path": "structlog/src/structlog/stdlib.py", "code_line": 1247, "def_line": 1247, "code_text": " def remove_transforms_meta(", "symbol": "remove_processors_meta", "old": "remove_processors_meta", "new": "remove_transforms_meta", "doc_says": "remove_processors_meta", "code_says": "remove_transforms_meta", "doc_pos_real_est": 856670, "code_pos_real_est": 763730, "lines_edited": 7, "stale_line_check": true, "nearest_evidence_real_tokens_est": 332, "same_unit_chunk128k": true, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-17", "kind": "doc_rename_class", "bucket": "~200k", "distance_real_tokens_est": 294975, "distance_cl100k": 248505, "doc_path": "click/docs/options.md", "doc_line": 724, "doc_text": "`1`, Click will invoke the {meth}`OptionType.split_envvar_value` method to", "code_path": "click/src/click/types.py", "code_line": 65, "def_line": 65, "code_text": "class ParamType(t.Generic[_ValueT_co, _InputT_contra], abc.ABC):", "symbol": "ParamType", "old": "ParamType", "new": "OptionType", "doc_says": "OptionType", "code_says": "ParamType", "doc_pos_real_est": 843052, "code_pos_real_est": 548077, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 74437, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-18", "kind": "doc_rename_function", "bucket": "~200k", "distance_real_tokens_est": 192026, "distance_cl100k": 161774, "doc_path": "jinja/src/jinja2/filters.py", "doc_line": 1634, "doc_text": " (user for user in users if probe_none(user.email))", "code_path": "jinja/src/jinja2/tests.py", "code_line": 92, "def_line": 92, "code_text": "def test_none(value: t.Any) -> bool:", "symbol": "test_none", "old": "test_none", "new": "probe_none", "doc_says": "probe_none", "code_says": "test_none", "doc_pos_real_est": 544444, "code_pos_real_est": 736470, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 479, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-19", "kind": "code_rename_class", "bucket": "~200k", "distance_real_tokens_est": 283321, "distance_cl100k": 238687, "doc_path": "structlog/src/structlog/dev.py", "doc_line": 613, "doc_text": " e.g. using `structlog.processors.EventRenamer`. Ignored if", "code_path": "structlog/src/structlog/processors.py", "code_line": 965, "def_line": 965, "code_text": "class OccurrenceRenamer:", "symbol": "EventRenamer", "old": "EventRenamer", "new": "OccurrenceRenamer", "doc_says": "EventRenamer", "code_says": "OccurrenceRenamer", "doc_pos_real_est": 584266, "code_pos_real_est": 300944, "lines_edited": 7, "stale_line_check": true, "nearest_evidence_real_tokens_est": 65, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-20", "kind": "code_rename_function", "bucket": "~200k", "distance_real_tokens_est": 174596, "distance_cl100k": 147090, "doc_path": "werkzeug/src/werkzeug/http.py", "doc_line": 1137, "doc_text": " ``apply_range`` perform their own checks.", "code_path": "werkzeug/src/werkzeug/wrappers/response.py", "code_line": 955, "def_line": 955, "code_text": " def apply_interval(self, request: Request) -> None:", "symbol": "apply_range", "old": "apply_range", "new": "apply_interval", "doc_says": "apply_range", "code_says": "apply_interval", "doc_pos_real_est": 64273, "code_pos_real_est": 238869, "lines_edited": 10, "stale_line_check": true, "nearest_evidence_real_tokens_est": 6128, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-21", "kind": "doc_rename_class", "bucket": "~400k", "distance_real_tokens_est": 460922, "distance_cl100k": 388308, "doc_path": "structlog/src/structlog/processors.py", "doc_line": 868, "doc_text": " `structlog.stdlib.StageFormatter` without using it in", "code_path": "structlog/src/structlog/stdlib.py", "code_line": 1015, "def_line": 1015, "code_text": "class ProcessorFormatter(logging.Formatter):", "symbol": "ProcessorFormatter", "old": "ProcessorFormatter", "new": "StageFormatter", "doc_says": "StageFormatter", "code_says": "ProcessorFormatter", "doc_pos_real_est": 299683, "code_pos_real_est": 760604, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 42, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-22", "kind": "doc_rename_function", "bucket": "~400k", "distance_real_tokens_est": 309602, "distance_cl100k": 260827, "doc_path": "werkzeug/src/werkzeug/http.py", "doc_line": 1552, "doc_text": " ``Range.make_body_range``, and ``ContentRange.from_header`` validate", "code_path": "werkzeug/src/werkzeug/datastructures/range.py", "code_line": 173, "def_line": 173, "code_text": " def make_content_range(self, length: int | None) -> ContentRange | None:", "symbol": "make_content_range", "old": "make_content_range", "new": "make_body_range", "doc_says": "make_body_range", "code_says": "make_content_range", "doc_pos_real_est": 69945, "code_pos_real_est": 379546, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 587, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-23", "kind": "code_rename_class", "bucket": "~400k", "distance_real_tokens_est": 407127, "distance_cl100k": 342988, "doc_path": "werkzeug/docs/routing.rst", "doc_line": 223, "doc_text": ":exc:`werkzeug.routing.BuildError` and eventually cause a 500 error.", "code_path": "werkzeug/src/werkzeug/routing/exceptions.py", "code_line": 84, "def_line": 84, "code_text": "class BuildFailure(RoutingException, LookupError):", "symbol": "BuildError", "old": "BuildError", "new": "BuildFailure", "doc_says": "BuildError", "code_says": "BuildFailure", "doc_pos_real_est": 929571, "code_pos_real_est": 522444, "lines_edited": 5, "stale_line_check": true, "nearest_evidence_real_tokens_est": 407126, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-24", "kind": "code_rename_function", "bucket": "~400k", "distance_real_tokens_est": 415361, "distance_cl100k": 349925, "doc_path": "httpcore/httpcore/_async/http_proxy.py", "doc_line": 88, "doc_text": " If not specified, the default `httpcore.default_ssl_context()`", "code_path": "httpcore/httpcore/_ssl.py", "code_line": 6, "def_line": 6, "code_text": "def initial_ssl_context() -> ssl.SSLContext:", "symbol": "default_ssl_context", "old": "default_ssl_context", "new": "initial_ssl_context", "doc_says": "default_ssl_context", "code_says": "initial_ssl_context", "doc_pos_real_est": 664156, "code_pos_real_est": 248795, "lines_edited": 23, "stale_line_check": true, "nearest_evidence_real_tokens_est": 903, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-25", "kind": "doc_rename_class", "bucket": "700k+", "distance_real_tokens_est": 911363, "distance_cl100k": 767787, "doc_path": "werkzeug/docs/routing.rst", "doc_line": 370, "doc_text": ":exc:`~werkzeug.exceptions.BadCall`) exception is raised.", "code_path": "werkzeug/src/werkzeug/exceptions.py", "code_line": 232, "def_line": 232, "code_text": "class BadRequest(HTTPException):", "symbol": "BadRequest", "old": "BadRequest", "new": "BadCall", "doc_says": "BadCall", "code_says": "BadRequest", "doc_pos_real_est": 931349, "code_pos_real_est": 19986, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 408129, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-26", "kind": "code_rename_function", "bucket": "700k+", "distance_real_tokens_est": 768784, "distance_cl100k": 647670, "doc_path": "httpx/docs/quickstart.md", "doc_line": 540, "doc_text": " response.raise_for_status()", "code_path": "httpx/httpx/_models.py", "code_line": 794, "def_line": 794, "code_text": " def raise_for_state(self) -> Response:", "symbol": "raise_for_status", "old": "raise_for_status", "new": "raise_for_state", "doc_says": "raise_for_status", "code_says": "raise_for_state", "doc_pos_real_est": 884888, "code_pos_real_est": 116104, "lines_edited": 15, "stale_line_check": true, "nearest_evidence_real_tokens_est": 89, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-27", "kind": "doc_rename_function", "bucket": "700k+", "distance_real_tokens_est": 705771, "distance_cl100k": 594584, "doc_path": "jinja/docs/api.rst", "doc_line": 55, "doc_text": " template = env.get_tmpl(\"mytemplate.html\")", "code_path": "jinja/src/jinja2/environment.py", "code_line": 981, "def_line": 981, "code_text": " def get_template(", "symbol": "get_template", "old": "get_template", "new": "get_tmpl", "doc_says": "get_tmpl", "code_says": "get_template", "doc_pos_real_est": 797447, "code_pos_real_est": 91676, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 51, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-28", "kind": "code_rename_class", "bucket": "700k+", "distance_real_tokens_est": 855606, "distance_cl100k": 720814, "doc_path": "httpx/docs/advanced/transports.md", "doc_line": 62, "doc_text": "transport = httpx.WSGITransport(app=app)", "code_path": "httpx/httpx/_transports/wsgi.py", "code_line": 44, "def_line": 44, "code_text": "class WSGICarrier(BaseTransport):", "symbol": "WSGITransport", "old": "WSGITransport", "new": "WSGICarrier", "doc_says": "WSGITransport", "code_says": "WSGICarrier", "doc_pos_real_est": 905146, "code_pos_real_est": 49540, "lines_edited": 7, "stale_line_check": true, "nearest_evidence_real_tokens_est": 246, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-29", "kind": "doc_rename_class", "bucket": "700k+", "distance_real_tokens_est": 700144, "distance_cl100k": 589843, "doc_path": "jinja/docs/api.rst", "doc_line": 219, "doc_text": ".. autoclass:: jinja2.environment.TemplateFlow()", "code_path": "jinja/src/jinja2/environment.py", "code_line": 1570, "def_line": 1570, "code_text": "class TemplateStream:", "symbol": "TemplateStream", "old": "TemplateStream", "new": "TemplateFlow", "doc_says": "TemplateFlow", "code_says": "TemplateStream", "doc_pos_real_est": 799425, "code_pos_real_est": 99281, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 699120, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P1-30", "kind": "code_rename_function", "bucket": "700k+", "distance_real_tokens_est": 708457, "distance_cl100k": 596847, "doc_path": "jinja/docs/api.rst", "doc_line": 895, "doc_text": ".. attribute:: Template.is_up_to_date", "code_path": "jinja/src/jinja2/environment.py", "code_line": 1486, "def_line": 1486, "code_text": " def is_up_to_datestamp(self) -> bool:", "symbol": "is_up_to_date", "old": "is_up_to_date", "new": "is_up_to_datestamp", "doc_says": "is_up_to_date", "code_says": "is_up_to_datestamp", "doc_pos_real_est": 806724, "code_pos_real_est": 98266, "lines_edited": 2, "stale_line_check": true, "nearest_evidence_real_tokens_est": 708457, "same_unit_chunk128k": false, "same_unit_chunk32k": false, "seed": 1}
{"plant_id": "P2-01", "kind": "code_rename_kwarg", "bucket": "~1k", "distance_real_tokens_est": 601, "distance_cl100k": 506, "doc_path": "werkzeug/src/werkzeug/serving.py", "doc_line": 1006, "doc_text": " :param reloader_interval: How often the reloader tries to check for", "code_path": "werkzeug/src/werkzeug/serving.py", "code_line": 968, "def_line": 959, "code_text": " reloader_period: int = 1,", "symbol": "run_simple", "old": "reloader_interval", "new": "reloader_period", "doc_says": "reloader_interval", "code_says": "reloader_period", "doc_pos_real_est": 576359, "code_pos_real_est": 575759, "lines_edited": 2, "stale_line_check": true, "nearest_evidence_real_tokens_est": 600, "seed": 2}
{"plant_id": "P2-02", "kind": "doc_rename_function", "bucket": "~1k", "distance_real_tokens_est": 642, "distance_cl100k": 541, "doc_path": "werkzeug/src/werkzeug/security.py", "doc_line": 123, "doc_text": " :func:`generate_password_digest`, matches the given password.", "code_path": "werkzeug/src/werkzeug/security.py", "code_line": 79, "def_line": 79, "code_text": "def generate_password_hash(", "symbol": "generate_password_hash", "old": "generate_password_hash", "new": "generate_password_digest", "doc_says": "generate_password_digest", "code_says": "generate_password_hash", "doc_pos_real_est": 520486, "code_pos_real_est": 519844, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 642, "seed": 2}
{"plant_id": "P2-03", "kind": "code_rename_class", "bucket": "~1k", "distance_real_tokens_est": 1415, "distance_cl100k": 1192, "doc_path": "httpx/httpx/_exceptions.py", "doc_line": 16, "doc_text": " · CloseError", "code_path": "httpx/httpx/_exceptions.py", "code_line": 193, "def_line": 193, "code_text": "class ShutdownError(NetworkError):", "symbol": "CloseError", "old": "CloseError", "new": "ShutdownError", "doc_says": "CloseError", "code_says": "ShutdownError", "doc_pos_real_est": 206388, "code_pos_real_est": 207803, "lines_edited": 5, "stale_line_check": true, "nearest_evidence_real_tokens_est": 214, "seed": 2}
{"plant_id": "P2-04", "kind": "doc_rename_kwarg", "bucket": "~1k", "distance_real_tokens_est": 132, "distance_cl100k": 111, "doc_path": "werkzeug/src/werkzeug/wrappers/response.py", "doc_line": 1013, "doc_text": " :param call_or_environ: The request or WSGI environ to get the", "code_path": "werkzeug/src/werkzeug/wrappers/response.py", "code_line": 1005, "def_line": 1003, "code_text": " request_or_environ: Request | wt.WSGIEnvironment,", "symbol": "make_conditional", "old": "request_or_environ", "new": "call_or_environ", "doc_says": "call_or_environ", "code_says": "request_or_environ", "doc_pos_real_est": 239618, "code_pos_real_est": 239486, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 131, "seed": 2}
{"plant_id": "P2-05", "kind": "doc_rename_function", "bucket": "~10k", "distance_real_tokens_est": 9089, "distance_cl100k": 7657, "doc_path": "click/docs/commands.md", "doc_line": 182, "doc_text": "A straightforward way to do this is to use {func}`build_pass_decorator` to pass", "code_path": "click/src/click/decorators.py", "code_line": 51, "def_line": 51, "code_text": "def make_pass_decorator(", "symbol": "make_pass_decorator", "old": "make_pass_decorator", "new": "build_pass_decorator", "doc_says": "build_pass_decorator", "code_says": "make_pass_decorator", "doc_pos_real_est": 894643, "code_pos_real_est": 885554, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 70, "seed": 2}
{"plant_id": "P2-06", "kind": "code_rename_class", "bucket": "~10k", "distance_real_tokens_est": 3681, "distance_cl100k": 3101, "doc_path": "httpx/httpx/_client.py", "doc_line": 1607, "doc_text": " Typically you'll want to build one with `AsyncClient.build_request()`", "code_path": "httpx/httpx/_client.py", "code_line": 1307, "def_line": 1307, "code_text": "class AsyncSession(BaseClient):", "symbol": "AsyncClient", "old": "AsyncClient", "new": "AsyncSession", "doc_says": "AsyncClient", "code_says": "AsyncSession", "doc_pos_real_est": 428245, "code_pos_real_est": 424564, "lines_edited": 46, "stale_line_check": true, "nearest_evidence_real_tokens_est": 1065, "seed": 2}
{"plant_id": "P2-07", "kind": "code_rename_function", "bucket": "~10k", "distance_real_tokens_est": 6981, "distance_cl100k": 5881, "doc_path": "werkzeug/src/werkzeug/test.py", "doc_line": 1375, "doc_text": " with :meth:`.Client.get_cookie` only.", "code_path": "werkzeug/src/werkzeug/test.py", "code_line": 837, "def_line": 837, "code_text": " def get_token(", "symbol": "get_cookie", "old": "get_cookie", "new": "get_token", "doc_says": "get_cookie", "code_says": "get_token", "doc_pos_real_est": 449842, "code_pos_real_est": 442861, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 6980, "seed": 2}
{"plant_id": "P2-08", "kind": "doc_rename_class", "bucket": "~10k", "distance_real_tokens_est": 9739, "distance_cl100k": 8205, "doc_path": "werkzeug/src/werkzeug/routing/__init__.py", "doc_line": 105, "doc_text": "routing tried to match a ``POST`` request) a ``VerbNotAllowed``", "code_path": "werkzeug/src/werkzeug/exceptions.py", "code_line": 352, "def_line": 352, "code_text": "class MethodNotAllowed(HTTPException):", "symbol": "MethodNotAllowed", "old": "MethodNotAllowed", "new": "VerbNotAllowed", "doc_says": "VerbNotAllowed", "code_says": "MethodNotAllowed", "doc_pos_real_est": 11530, "code_pos_real_est": 21269, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 9739, "seed": 2}
{"plant_id": "P2-09", "kind": "doc_rename_function", "bucket": "~50k", "distance_real_tokens_est": 37732, "distance_cl100k": 31788, "doc_path": "werkzeug/src/werkzeug/test.py", "doc_line": 545, "doc_text": " The :meth:`.FileMultiDict.add_stream` method provides a convenient way to", "code_path": "werkzeug/src/werkzeug/datastructures/file_storage.py", "code_line": 166, "def_line": 166, "code_text": " def add_file(", "symbol": "add_file", "old": "add_file", "new": "add_stream", "doc_says": "add_stream", "code_says": "add_file", "doc_pos_real_est": 439566, "code_pos_real_est": 401833, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 1470, "seed": 2}
{"plant_id": "P2-10", "kind": "code_rename_class", "bucket": "~50k", "distance_real_tokens_est": 43453, "distance_cl100k": 36607, "doc_path": "click/src/click/utils.py", "doc_line": 155, "doc_text": " a :exc:`FileError`. Not handling this error will produce an error", "code_path": "click/src/click/exceptions.py", "code_line": 342, "def_line": 342, "code_text": "class DocumentError(ClickException):", "symbol": "FileError", "old": "FileError", "new": "DocumentError", "doc_says": "FileError", "code_says": "DocumentError", "doc_pos_real_est": 218665, "code_pos_real_est": 262118, "lines_edited": 7, "stale_line_check": true, "nearest_evidence_real_tokens_est": 116, "seed": 2}
{"plant_id": "P2-11", "kind": "code_rename_function", "bucket": "~50k", "distance_real_tokens_est": 25956, "distance_cl100k": 21867, "doc_path": "click/docs/advanced.md", "doc_line": 20, "doc_text": "reusable is available in Click as {func}`click.version_option`. The code", "code_path": "click/src/click/decorators.py", "code_line": 421, "def_line": 421, "code_text": "def version_flag(", "symbol": "version_option", "old": "version_option", "new": "version_flag", "doc_says": "version_option", "code_says": "version_flag", "doc_pos_real_est": 915924, "code_pos_real_est": 889968, "lines_edited": 7, "stale_line_check": true, "nearest_evidence_real_tokens_est": 23983, "seed": 2}
{"plant_id": "P2-12", "kind": "doc_rename_class", "bucket": "~50k", "distance_real_tokens_est": 27658, "distance_cl100k": 23301, "doc_path": "httpcore/httpcore/_async/connection_pool.py", "doc_line": 191, "doc_text": " <AsyncHTTPConn ['https://example.com:443', HTTP/1.1, ACTIVE, Request Count: 6]>,", "code_path": "httpcore/httpcore/_async/connection.py", "code_line": 38, "def_line": 38, "code_text": "class AsyncHTTPConnection(AsyncConnectionInterface):", "symbol": "AsyncHTTPConnection", "old": "AsyncHTTPConnection", "new": "AsyncHTTPConn", "doc_says": "AsyncHTTPConn", "code_says": "AsyncHTTPConnection", "doc_pos_real_est": 483528, "code_pos_real_est": 511186, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 35, "seed": 2}
{"plant_id": "P2-13", "kind": "doc_rename_function", "bucket": "~100k", "distance_real_tokens_est": 93652, "distance_cl100k": 78898, "doc_path": "structlog/docs/standard-library.md", "doc_line": 104, "doc_text": "{func}`~structlog.stdlib.add_log_severity_number`:", "code_path": "structlog/src/structlog/stdlib.py", "code_line": 848, "def_line": 848, "code_text": "def add_log_level_number(", "symbol": "add_log_level_number", "old": "add_log_level_number", "new": "add_log_severity_number", "doc_says": "add_log_severity_number", "code_says": "add_log_level_number", "doc_pos_real_est": 852379, "code_pos_real_est": 758728, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 93651, "seed": 2}
{"plant_id": "P2-14", "kind": "doc_rename_function", "bucket": "~100k", "distance_real_tokens_est": 112881, "distance_cl100k": 95098, "doc_path": "werkzeug/src/werkzeug/routing/map.py", "doc_line": 310, "doc_text": " using ``server_label``.", "code_path": "werkzeug/src/werkzeug/test.py", "code_line": 632, "def_line": 632, "code_text": " def server_name(self) -> str:", "symbol": "server_name", "old": "server_name", "new": "server_label", "doc_says": "server_label", "code_says": "server_name", "doc_pos_real_est": 327689, "code_pos_real_est": 440570, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 92, "seed": 2}
{"plant_id": "P2-15", "kind": "code_rename_class", "bucket": "~100k", "distance_real_tokens_est": 146300, "distance_cl100k": 123252, "doc_path": "structlog/docs/standard-library.md", "doc_line": 159, "doc_text": "{class}`~structlog.WriteLogger` writes log entries atomically to the file (for example, `file.write(log+\"\\n\")`).", "code_path": "structlog/src/structlog/_output.py", "code_line": 143, "def_line": 143, "code_text": "class WriteRecorder:", "symbol": "WriteLogger", "old": "WriteLogger", "new": "WriteRecorder", "doc_says": "WriteLogger", "code_says": "WriteRecorder", "doc_pos_real_est": 853344, "code_pos_real_est": 707044, "lines_edited": 13, "stale_line_check": true, "nearest_evidence_real_tokens_est": 157, "seed": 2}
{"plant_id": "P2-16", "kind": "doc_rename_class", "bucket": "~100k", "distance_real_tokens_est": 127052, "distance_cl100k": 107036, "doc_path": "jinja/docs/api.rst", "doc_line": 499, "doc_text": ".. autoclass:: jinja2.MemcachedBytecodeMemo", "code_path": "jinja/src/jinja2/bccache.py", "code_line": 327, "def_line": 327, "code_text": "class MemcachedBytecodeCache(BytecodeCache):", "symbol": "MemcachedBytecodeCache", "old": "MemcachedBytecodeCache", "new": "MemcachedBytecodeMemo", "doc_says": "MemcachedBytecodeMemo", "code_says": "MemcachedBytecodeCache", "doc_pos_real_est": 802537, "code_pos_real_est": 675486, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 127051, "seed": 2}
{"plant_id": "P2-17", "kind": "doc_rename_function", "bucket": "~200k", "distance_real_tokens_est": 191836, "distance_cl100k": 161614, "doc_path": "jinja/src/jinja2/filters.py", "doc_line": 1594, "doc_text": " (n for n in numbers if not check_odd(n))", "code_path": "jinja/src/jinja2/tests.py", "code_line": 15, "def_line": 15, "code_text": "def test_odd(value: int) -> bool:", "symbol": "test_odd", "old": "test_odd", "new": "check_odd", "doc_says": "check_odd", "code_says": "test_odd", "doc_pos_real_est": 543953, "code_pos_real_est": 735789, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 449, "seed": 2}
{"plant_id": "P2-18", "kind": "code_rename_class", "bucket": "~200k", "distance_real_tokens_est": 176506, "distance_cl100k": 148699, "doc_path": "jinja/docs/api.rst", "doc_line": 437, "doc_text": "All loaders are subclasses of :class:`BaseLoader`. If you want to create your", "code_path": "jinja/src/jinja2/loaders.py", "code_line": 42, "def_line": 42, "code_text": "class RootLoader:", "symbol": "BaseLoader", "old": "BaseLoader", "new": "RootLoader", "doc_says": "BaseLoader", "code_says": "RootLoader", "doc_pos_real_est": 801947, "code_pos_real_est": 625442, "lines_edited": 24, "stale_line_check": true, "nearest_evidence_real_tokens_est": 24, "seed": 2}
{"plant_id": "P2-19", "kind": "code_rename_function", "bucket": "~200k", "distance_real_tokens_est": 237971, "distance_cl100k": 200481, "doc_path": "werkzeug/src/werkzeug/test.py", "doc_line": 182, "doc_text": " Werkzeug 0.5 (:func:`create_environ`, :meth:`Response.from_values`,", "code_path": "werkzeug/src/werkzeug/wrappers/request.py", "code_line": 166, "def_line": 166, "code_text": " def from_items(cls, *args: t.Any, **kwargs: t.Any) -> t.Self:", "symbol": "from_values", "old": "from_values", "new": "from_items", "doc_says": "from_values", "code_says": "from_items", "doc_pos_real_est": 434758, "code_pos_real_est": 196787, "lines_edited": 3, "stale_line_check": true, "nearest_evidence_real_tokens_est": 237970, "seed": 2}
{"plant_id": "P2-20", "kind": "doc_rename_class", "bucket": "~200k", "distance_real_tokens_est": 171613, "distance_cl100k": 144577, "doc_path": "jinja/docs/api.rst", "doc_line": 242, "doc_text": " from jinja2 import Environment, PackageReader, select_autoescape", "code_path": "jinja/src/jinja2/loaders.py", "code_line": 269, "def_line": 269, "code_text": "class PackageLoader(RootLoader):", "symbol": "PackageLoader", "old": "PackageLoader", "new": "PackageReader", "doc_says": "PackageReader", "code_says": "PackageLoader", "doc_pos_real_est": 799710, "code_pos_real_est": 628097, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 45, "seed": 2}
{"plant_id": "P2-21", "kind": "doc_rename_function", "bucket": "~400k", "distance_real_tokens_est": 450405, "distance_cl100k": 379448, "doc_path": "werkzeug/src/werkzeug/wsgi.py", "doc_line": 54, "doc_text": " ``root_url``, or ``host_address`` instead.", "code_path": "werkzeug/src/werkzeug/sansio/request.py", "code_line": 247, "def_line": 247, "code_text": " def host_url(self) -> str:", "symbol": "host_url", "old": "host_url", "new": "host_address", "doc_says": "host_address", "code_says": "host_url", "doc_pos_real_est": 25329, "code_pos_real_est": 475734, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 7384, "seed": 2}
{"plant_id": "P2-22", "kind": "code_rename_class", "bucket": "~400k", "distance_real_tokens_est": 540409, "distance_cl100k": 455273, "doc_path": "werkzeug/docs/tutorial.rst", "doc_line": 268, "doc_text": ":class:`~werkzeug.routing.MapAdapter`. The adapter can be used to match", "code_path": "werkzeug/src/werkzeug/routing/map.py", "code_line": 462, "def_line": 462, "code_text": "class MappingAdapter:", "symbol": "MapAdapter", "old": "MapAdapter", "new": "MappingAdapter", "doc_says": "MapAdapter", "code_says": "MappingAdapter", "doc_pos_real_est": 870031, "code_pos_real_est": 329622, "lines_edited": 17, "stale_line_check": true, "nearest_evidence_real_tokens_est": 57587, "seed": 2}
{"plant_id": "P2-23", "kind": "code_rename_function", "bucket": "~400k", "distance_real_tokens_est": 304522, "distance_cl100k": 256548, "doc_path": "click/docs/advanced.md", "doc_line": 169, "doc_text": " def open_url(ctx, param, value):", "code_path": "click/src/click/_termui_impl.py", "code_line": 799, "def_line": 799, "code_text": "def open_address(url: str, wait: bool = False, locate: bool = False) -> int:", "symbol": "open_url", "old": "open_url", "new": "open_address", "doc_says": "open_url", "code_says": "open_address", "doc_pos_real_est": 917659, "code_pos_real_est": 613136, "lines_edited": 6, "stale_line_check": true, "nearest_evidence_real_tokens_est": 49, "seed": 2}
{"plant_id": "P2-24", "kind": "doc_rename_class", "bucket": "~400k", "distance_real_tokens_est": 406460, "distance_cl100k": 342426, "doc_path": "werkzeug/docs/routing.rst", "doc_line": 98, "doc_text": "If a duplicate rule is added to a map, a :exc:`.DuplicateRouteError` will be", "code_path": "werkzeug/src/werkzeug/routing/exceptions.py", "code_line": 17, "def_line": 17, "code_text": "class DuplicateRuleError(Exception):", "symbol": "DuplicateRuleError", "old": "DuplicateRuleError", "new": "DuplicateRouteError", "doc_says": "DuplicateRouteError", "code_says": "DuplicateRuleError", "doc_pos_real_est": 928228, "code_pos_real_est": 521768, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 795, "seed": 2}
{"plant_id": "P2-25", "kind": "doc_rename_function", "bucket": "700k+", "distance_real_tokens_est": 704395, "distance_cl100k": 593425, "doc_path": "jinja/docs/api.rst", "doc_line": 64, "doc_text": "or :meth:`Environment.from_str` has multiple advantages. Besides being", "code_path": "jinja/src/jinja2/environment.py", "code_line": 1089, "def_line": 1089, "code_text": " def from_string(", "symbol": "from_string", "old": "from_string", "new": "from_str", "doc_says": "from_str", "code_says": "from_string", "doc_pos_real_est": 797536, "code_pos_real_est": 93141, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 226, "seed": 2}
{"plant_id": "P2-26", "kind": "doc_rename_function", "bucket": "700k+", "distance_real_tokens_est": 765673, "distance_cl100k": 645049, "doc_path": "httpx/docs/quickstart.md", "doc_line": 347, "doc_text": "... for data in r.iter_octets():", "code_path": "httpx/httpx/_models.py", "code_line": 884, "def_line": 884, "code_text": " def iter_bytes(self, chunk_size: int | None = None) -> typing.Iterator[bytes]:", "symbol": "iter_bytes", "old": "iter_bytes", "new": "iter_octets", "doc_says": "iter_octets", "code_says": "iter_bytes", "doc_pos_real_est": 882777, "code_pos_real_est": 117104, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 765233, "seed": 2}
{"plant_id": "P2-27", "kind": "doc_rename_function", "bucket": "700k+", "distance_real_tokens_est": 703617, "distance_cl100k": 592769, "doc_path": "jinja/docs/api.rst", "doc_line": 214, "doc_text": " .. automethod:: draw_async([context])", "code_path": "jinja/src/jinja2/environment.py", "code_line": 1294, "def_line": 1294, "code_text": " async def render_async(self, *args: t.Any, **kwargs: t.Any) -> str:", "symbol": "render_async", "old": "render_async", "new": "draw_async", "doc_says": "draw_async", "code_says": "render_async", "doc_pos_real_est": 799386, "code_pos_real_est": 95769, "lines_edited": 1, "stale_line_check": true, "nearest_evidence_real_tokens_est": 703514, "seed": 2}
{"plant_id": "P2-28", "kind": "code_rename_function", "bucket": "700k+", "distance_real_tokens_est": 702087, "distance_cl100k": 591480, "doc_path": "jinja/docs/api.rst", "doc_line": 179, "doc_text": " :members: module, make_module", "code_path": "jinja/src/jinja2/environment.py", "code_line": 1386, "def_line": 1386, "code_text": " def create_module(", "symbol": "make_module", "old": "make_module", "new": "create_module", "doc_says": "make_module", "code_says": "create_module", "doc_pos_real_est": 799034, "code_pos_real_est": 96948, "lines_edited": 5, "stale_line_check": true, "nearest_evidence_real_tokens_est": 520365, "seed": 2}