{"receipt_id":"agent1-1","seq":1,"branch_id":"agent1","kind":"command","cmd":"git ls-files -z","path":null,"exit_code":0,"stdout_tail":".github/dependabot.yml\u0000.github/workflows/doc.yml\u0000.github/workflows/publish.yml\u0000.github/workflows/test.yml\u0000.gitignore\u0000CONTRIBUTING.md\u0000LICENSE\u0000README.md\u0000docs/.gitignore\u0000docs/Makefile\u0000docs/annotated_types.md\u0000docs/changelog.md\u0000docs/conf.py\u0000docs/configuration.md\u0000docs/design.md\u0000docs/faq.md\u0000docs/glossary.rst\u0000docs/index.rst\u0000docs/make.bat\u0000docs/reference/annotations.rst\u0000docs/reference/ast_annotator.rst\u0000docs/reference/extensions.rst\u0000docs/reference/name_check_visitor.rst\u0000docs/reference/runtime.rst\u0000docs/reference/signature.rst\u0000docs/reference/stacked_scopes.rst\u0000docs/reference/value.rst\u0000docs/requirements.txt\u0000docs/type_evaluation.md\u0000docs/typesystem.md\u0000pyanalyze/__init__.py\u0000pyanalyze/__main__.py\u0000pyanalyze/analysis_lib.py\u0000pyanalyze/annotated_types.py\u0000pyanalyze/annotations.py\u0000pyanalyze/arg_spec.py\u0000pyanalyze/ast_annotator.py\u0000pyanalyze/asynq_checker.py\u0000pyanalyze/attributes.py\u0000pyanalyze/boolability.py\u0000pyanalyze/checker.py\u0000pyanalyze/error_code.py\u0000pyanalyze/extensions.py\u0000pyanalyze/find_unused.py\u0000pyanalyze/format_strings.py\u0000pyanalyze/functions.py\u0000pyanalyze/implementation.py\u0000pyanalyze/importer.py\u0000pyanalyze/name_check_visitor.pxd\u0000pyanalyze/name_check_visitor.py\u0000pyanalyze/node_visitor.py\u0000pyanalyze/options.py\u0000pyanalyze/patma.py\u0000pyanalyze/predicates.py\u0000pyanalyze/reexport.py\u0000pyanalyze/runtime.py\u0000pyanalyze/safe.py\u0000pyanalyze/shared_options.py\u0000pyanalyze/signature.py\u0000pyanalyze/stacked_scopes.py\u0000pyanalyze/stubs/README\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/aliases.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/args.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/callable.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/contextmanager.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/defaults.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/deprecated.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/evaluated.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/initnew.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/nested.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/overloaded.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/posonly.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/recursion.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/self.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/tsself.pyi\u0000pyanalyze/stubs/_pyanalyze_tests-stubs/typeddict.pyi\u0000pyanalyze/stubs/pyanalyze-stubs/extensions.pyi\u0000pyanalyze/suggested_type.py\u0000pyanalyze/test.toml\u0000pyanalyze/test_analysis_lib.py\u0000pyanalyze/test_annotated_types.py\u0000pyanalyze/test_annotations.py\u0000pyanalyze/test_arg_spec.py\u0000pyanalyze/test_ast_annotator.py\u0000pyanalyze/test_async_await.py\u0000pyanalyze/test_asynq.py\u0000pyanalyze/test_asynq_checker.py\u0000pyanalyze/test_attributes.py\u0000pyanalyze/test_boolability.py\u0000pyanalyze/test_config.py\u0000pyanalyze/test_definite_value.py\u0000pyanalyze/test_deprecated.py\u0000pyanalyze/test_enum.py\u0000pyanalyze/test_error_code.py\u0000pyanalyze/test_extensions.py\u0000pyanalyze/test_format_strings.py\u0000pyanalyze/test_functions.py\u0000pyanalyze/test_generators.py\u0000pyanalyze/test_implementation.py\u0000pyanalyze/test_import.py\u0000pyanalyze/test_inference_helpers.py\u0000pyanalyze/test_literal_string.py\u0000pyanalyze/test_name_check_visitor.py\u0000pyanalyze/test_never.py\u0000pyanalyze/test_node_visitor.py\u0000pyanalyze/test_operations.py\u0000pyanalyze/test_override.py\u0000pyanalyze/test_patma.py\u0000pyanalyze/test_pep673.py\u0000pyanalyze/test_recursion.py\u0000pyanalyze/test_runtime.py\u0000pyanalyze/test_self.py\u0000pyanalyze/test_signature.py\u0000pyanalyze/test_stacked_scopes.py\u0000pyanalyze/test_suggested_type.py\u0000pyanalyze/test_thrift_enum.py\u0000pyanalyze/test_try.py\u0000pyanalyze/test_type_evaluation.py\u0000pyanalyze/test_type_object.py\u0000pyanalyze/test_typeddict.py\u0000pyanalyze/test_typeshed.py\u0000pyanalyze/test_typevar.py\u0000pyanalyze/test_value.py\u0000pyanalyze/test_yield_checker.py\u0000pyanalyze/tests.py\u0000pyanalyze/type_evaluation.py\u0000pyanalyze/type_object.py\u0000pyanalyze/typeshed.py\u0000pyanalyze/typevar.py\u0000pyanalyze/value.py\u0000pyanalyze/yield_checker.py\u0000pyproject.toml\u0000requirements.txt\u0000setup.py\u0000tox.ini\u0000","stderr_tail":"","stdout_sha256":"a465e20fe5b4e31c7dd0036d57fde482a30ddc93bba398ee733380ab5dcb5ba9","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-1.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:58:20.069446Z","duration_s":0.003987,"timed_out":false,"image_before":"8a7f4e65-715f-4028-8025-6a658b2fda68","image_after":"6a95ec46-6b8b-46fb-ab71-1a0978eec807","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-2","seq":2,"branch_id":"agent1","kind":"command","cmd":"grep -n \"class TestAny\" pyanalyze/test_implementation.py","path":null,"exit_code":0,"stdout_tail":"1350:class TestAny(TestNameCheckVisitorBase):\n","stderr_tail":"","stdout_sha256":"08050b52fdec48cbc8c1ce7f87900b328c5ef54033deb29aa0de909cf56cec66","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-2.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:58:32.405499Z","duration_s":0.003197,"timed_out":false,"image_before":"6a95ec46-6b8b-46fb-ab71-1a0978eec807","image_after":"3debd9d5-9a76-4b63-920d-d5e34adf8046","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-3","seq":3,"branch_id":"agent1","kind":"command","cmd":"grep -n \"def visit_Call\" pyanalyze/implementation.py","path":null,"exit_code":1,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-3.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:58:39.547244Z","duration_s":0.002943,"timed_out":false,"image_before":"3debd9d5-9a76-4b63-920d-d5e34adf8046","image_after":"4ac8e263-77eb-41f5-bb87-001250978d37","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-4","seq":4,"branch_id":"agent1","kind":"command","cmd":"grep -n \"visit_Call\" pyanalyze/implementation.py","path":null,"exit_code":1,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-4.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:58:41.917773Z","duration_s":0.002859,"timed_out":false,"image_before":"4ac8e263-77eb-41f5-bb87-001250978d37","image_after":"bcdff4c7-7e67-4208-8439-3dec5d54625b","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-5","seq":5,"branch_id":"agent1","kind":"command","cmd":"grep -n \"class.*NodeVisitor\\|def visit_\" pyanalyze/implementation.py | head -20","path":null,"exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-5.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:58:44.345888Z","duration_s":0.004203,"timed_out":false,"image_before":"bcdff4c7-7e67-4208-8439-3dec5d54625b","image_after":"7e692e8a-19d3-4114-b74f-a40fc26b736e","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-6","seq":6,"branch_id":"agent1","kind":"command","cmd":"grep -n \"^class \" pyanalyze/implementation.py","path":null,"exit_code":1,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-6.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:58:49.922091Z","duration_s":0.003268,"timed_out":false,"image_before":"7e692e8a-19d3-4114-b74f-a40fc26b736e","image_after":"4deb49bc-53bb-4417-8704-a828029babe5","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-7","seq":7,"branch_id":"agent1","kind":"command","cmd":"grep -n \"def visit_\" pyanalyze/implementation.py | head -10","path":null,"exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-7.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:58:57.913809Z","duration_s":0.003815,"timed_out":false,"image_before":"4deb49bc-53bb-4417-8704-a828029babe5","image_after":"31dbec55-4383-4ec2-8179-783ea9b688f1","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-8","seq":8,"branch_id":"agent1","kind":"command","cmd":"wc -l pyanalyze/implementation.py","path":null,"exit_code":0,"stdout_tail":"1936 pyanalyze/implementation.py\n","stderr_tail":"","stdout_sha256":"7ae4a719ffd9250b16d4a86c499f5eb7585ab513c4252346da58ed0c1e522ad0","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-8.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:59:01.273327Z","duration_s":0.002996,"timed_out":false,"image_before":"31dbec55-4383-4ec2-8179-783ea9b688f1","image_after":"59ded8c2-ad1c-4323-ad55-e3d1375147cc","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-9","seq":9,"branch_id":"agent1","kind":"command","cmd":"grep -n \"class BaseNodeVisitor\" pyanalyze/node_visitor.py","path":null,"exit_code":0,"stdout_tail":"164:class BaseNodeVisitor(ast.NodeVisitor):\n","stderr_tail":"","stdout_sha256":"31b52b79c0fed9c86844396600dab8863579f4e685e3a800dac9c2eb2cff478a","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-9.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:59:12.122042Z","duration_s":0.00318,"timed_out":false,"image_before":"59ded8c2-ad1c-4323-ad55-e3d1375147cc","image_after":"e8202afc-4ad1-4ab4-b11d-61568796a2dd","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-10","seq":10,"branch_id":"agent1","kind":"command","cmd":"find pyanalyze -name \"*.py\" -exec grep -l \"visit_Call\\|class.*Visitor\" {} \\;","path":null,"exit_code":0,"stdout_tail":"pyanalyze/annotations.py\npyanalyze/ast_annotator.py\npyanalyze/functions.py\npyanalyze/name_check_visitor.py\npyanalyze/node_visitor.py\npyanalyze/patma.py\npyanalyze/signature.py\npyanalyze/stacked_scopes.py\npyanalyze/test_annotated_types.py\npyanalyze/test_annotations.py\npyanalyze/test_arg_spec.py\npyanalyze/test_async_await.py\npyanalyze/test_asynq.py\npyanalyze/test_asynq_checker.py\npyanalyze/test_attributes.py\npyanalyze/test_boolability.py\npyanalyze/test_definite_value.py\npyanalyze/test_deprecated.py\npyanalyze/test_enum.py\npyanalyze/test_error_code.py\npyanalyze/test_format_strings.py\npyanalyze/test_functions.py\npyanalyze/test_generators.py\npyanalyze/test_import.py\npyanalyze/test_inference_helpers.py\npyanalyze/test_literal_string.py\npyanalyze/test_name_check_visitor.py\npyanalyze/test_never.py\npyanalyze/test_node_visitor.py\npyanalyze/test_operations.py\npyanalyze/test_override.py\npyanalyze/test_patma.py\npyanalyze/test_pep673.py\npyanalyze/test_recursion.py\npyanalyze/test_self.py\npyanalyze/test_signature.py\npyanalyze/test_stacked_scopes.py\npyanalyze/test_suggested_type.py\npyanalyze/test_thrift_enum.py\npyanalyze/test_try.py\npyanalyze/test_type_evaluation.py\npyanalyze/test_type_object.py\npyanalyze/test_typeddict.py\npyanalyze/test_typeshed.py\npyanalyze/test_typevar.py\npyanalyze/test_yield_checker.py\npyanalyze/type_evaluation.py\npyanalyze/test_implementation.py\npyanalyze/test_runtime.py\n","stderr_tail":"","stdout_sha256":"f9624d70f1b7ce333544c32f6c8846eca74d69136ef1283a998c21fda70e91bc","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-10.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:59:16.833017Z","duration_s":0.109622,"timed_out":false,"image_before":"e8202afc-4ad1-4ab4-b11d-61568796a2dd","image_after":"623bc497-769d-4618-b9ce-271ace1c0348","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-11","seq":11,"branch_id":"agent1","kind":"command","cmd":"grep -n \"visit_Call\\|class.*Visitor\" pyanalyze/name_check_visitor.py","path":null,"exit_code":0,"stdout_tail":"5::class:`NameCheckVisitor` is the AST visitor that powers pyanalyze's\n1043:class NameCheckVisitor(node_visitor.ReplacingNodeVisitor):\n5093:    def visit_Call(self, node: ast.Call) -> Value:\n","stderr_tail":"","stdout_sha256":"f7dc5f130e0b952cd67d3e090fce3c2e913b4805b666325d0516320baba8700f","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-11.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:59:20.001880Z","duration_s":0.003398,"timed_out":false,"image_before":"623bc497-769d-4618-b9ce-271ace1c0348","image_after":"a6a6b6f2-ce74-4b30-9f94-f931b74d602a","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-12","seq":12,"branch_id":"agent1","kind":"command","cmd":"grep -n \"def check_call\" pyanalyze/name_check_visitor.py","path":null,"exit_code":0,"stdout_tail":"5149:    def check_call(\n","stderr_tail":"","stdout_sha256":"6e31f0ccdeb4e36c6aa8311d616760b3612bd48348948e0890c53941576f39c0","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-12.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:59:25.156425Z","duration_s":0.003194,"timed_out":false,"image_before":"a6a6b6f2-ce74-4b30-9f94-f931b74d602a","image_after":"51049210-97d5-4707-b86d-43f750add3d4","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-13","seq":13,"branch_id":"agent1","kind":"command","cmd":"grep -n \"AnyValue\\|AnySource\" pyanalyze/name_check_visitor.py | head -10","path":null,"exit_code":0,"stdout_tail":"167:    AnySource,\n168:    AnyValue,\n704:            value = AnyValue(AnySource.inference)\n777:        return AnyValue(AnySource.inference)\n1124:        self.being_assigned = AnyValue(AnySource.inference)\n1127:        self.match_subject = Composite(AnyValue(AnySource.inference))\n1375:            ret = AnyValue(AnySource.error)\n1384:                if isinstance(val, AnyValue) and val.source is not AnySource.explicit:\n1445:        value: Optional[Value] = AnyValue(AnySource.inference),\n1498:            return AnyValue(AnySource.inference), EMPTY_ORIGIN\n","stderr_tail":"","stdout_sha256":"2c2a09b06d0997c4814e62a0ec27c9285220a744db4279cf063f050ab17318cd","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-13.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:59:33.945272Z","duration_s":0.004717,"timed_out":false,"image_before":"51049210-97d5-4707-b86d-43f750add3d4","image_after":"fe6495ce-8819-4b34-9341-8c8d21c4b3be","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-14","seq":14,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-32ac574979ee49c79b6261ebda42a2ac/bin/busybox sh -c 'mkdir -p /pyanalyze/pyanalyze && cp /opt/receipts-32ac574979ee49c79b6261ebda42a2ac/incoming/90ac2ad7c86e1e323baf6200029062e1da76a54f0af5306d5547d31ab5ba01f6 /pyanalyze/pyanalyze/name_check_visitor.py'","path":"pyanalyze/name_check_visitor.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"90ac2ad7c86e1e323baf6200029062e1da76a54f0af5306d5547d31ab5ba01f6","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-14.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T18:59:50.038176Z","duration_s":0.0044080000000000005,"timed_out":false,"image_before":"fe6495ce-8819-4b34-9341-8c8d21c4b3be","image_after":"5d5a9777-303f-4f5a-88f8-ff76ddcf466e","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-15","seq":15,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-00eda45a9361477b9ab26c9d05578980/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-00eda45a9361477b9ab26c9d05578980/receipts_pytest.py pyanalyze/test_implementation.py::TestAny::test_call -v -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-15.xml","path":null,"exit_code":1,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-7.4.4, pluggy-1.6.0 -- /usr/local/bin/python\nrootdir: /pyanalyze\ncollecting ... collected 1 item\n\npyanalyze/test_implementation.py::TestAny::test_call FAILED              [100%]\n\n=================================== FAILURES ===================================\n______________________________ TestAny.test_call _______________________________\n\nself = <pyanalyze.test_implementation.TestAny object at 0x7ffff534c2e0>\n\n    @functools.wraps(fn)\n    def wrapper(self):\n>       self.assert_passes(_extract_code_from_fn(fn), **kwargs)\n\npyanalyze/test_node_visitor.py:134: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <pyanalyze.test_implementation.TestAny object at 0x7ffff534c2e0>\ncode_str = 'from typing import Any\\n\\ndef capybara():\\n    Any(42)  # E: incompatible_call\\n'\nkwargs = {}, errors = []\nexpected_errors = defaultdict(<function BaseNodeVisitorTester.assert_passes.<locals>.<lambda> at 0x7ffff70f6c20>, {4: defaultdict(<class 'int'>, {'incompatible_call': 1})})\ni = 4, line = '    Any(42)  # E: incompatible_call', whole_line_match = None\nseparate_match = <re.Match object; span=(13, 35), match='# E: incompatible_call'>\nmismatches = ['Expected incompatible_call on line 4']\n\n    def assert_passes(self, code_str, **kwargs):\n        \"\"\"Asserts that running the given code_str throws no errors.\"\"\"\n        code_str = textwrap.dedent(code_str)\n        errors = self._run_str(\n            code_str, expect_failure=False, fail_after_first=False, **kwargs\n        )\n        expected_errors = defaultdict(lambda: defaultdict(int))\n        for i, line in enumerate(code_str.splitlines(), start=1):\n            whole_line_match = re.match(r\"^ *#\\s*E:\\s*([a-z_]+)$\", line)\n            if whole_line_match:\n                expected_errors[i + 1][whole_line_match.group(1)] += 1\n                continue\n            for separate_match in re.finditer(r\"#\\s*E:\\s*([a-z_]+)\", line):\n                expected_errors[i][separate_match.group(1)] += 1\n    \n        mismatches = []\n    \n        for error in errors:\n            lineno = error[\"lineno\"]\n            actual_code = error[\"code\"].name\n            if (\n                actual_code in expected_errors[lineno]\n                and expected_errors[lineno][actual_code] > 0\n            ):\n                expected_errors[lineno][actual_code] -= 1\n            else:\n                mismatches.append(\n                    f\"Did not expect error {actual_code} on line {lineno}\"\n                )\n    \n        for lineno, errors_by_line in expected_errors.items():\n            for error_code, count in errors_by_line.items():\n                if count > 0:\n                    mismatches.append(f\"Expected {error_code} on line {lineno}\")\n    \n>       assert not mismatches, \"\".join(line + \"\\n\" for line in mismatches) + \"\".join(\n            error[\"message\"] for error in errors\n        )\nE       AssertionError: Expected incompatible_call on line 4\nE         \nE       assert not ['Expected incompatible_call on line 4']\n\npyanalyze/test_node_visitor.py:86: AssertionError\n----------------------------- Captured stderr call -----------------------------\n<test input 529ed0fb047271ca31b0db31315e42e52c59fcad5e50893aed5b4be4232674b5> took 0.01 s\n=============================== warnings summary ===============================\npyanalyze/test_name_check_visitor.py:343\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:343: SyntaxWarning: 'list' object is not callable; perhaps you missed a comma?\n    print([1, 2]())  # E: not_callable\n\npyanalyze/test_name_check_visitor.py:1300\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:1300: SyntaxWarning: list indices must be integers or slices, not float; perhaps you missed a comma?\n    return [1, 2][3.0]  # E: unsupported_operation\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n----------- generated xml file: /opt/receipts/reports/agent1-15.xml ------------\n=========================== short test summary info ============================\nFAILED pyanalyze/test_implementation.py::TestAny::test_call - AssertionError:...\n======================== 1 failed, 2 warnings in 0.53s =========================\n","stderr_tail":"","stdout_sha256":"414a5eca3896d98495a6e937ff5dfe7f026de4b2f1cc63d56049446281de5441","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-15.log","tree_digest":"e21a699e12b2448321bda927b7848b486efcc30b3487c1fa745c78cd0663d4fe","tree_download_s":4.330257083987817,"started_at":"2026-10-03T18:59:53.544188Z","duration_s":0.8396089999999999,"timed_out":false,"image_before":"5d5a9777-303f-4f5a-88f8-ff76ddcf466e","image_after":"6d0dff6b-2bca-4143-a755-95376e899e0f","junit":{"passed":[],"failed":["pyanalyze/test_implementation.py::TestAny::test_call"],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{"pyanalyze/test_implementation.py::TestAny::test_call":"[...]call', whole_line_match = None\nseparate_match = <re.Match object; span=(13, 35), match='# E: incompatible_call'>\nmismatches = ['Expected incompatible_call on line 4']\n\n    def assert_passes(self, code_str, **kwargs):\n        \"\"\"Asserts that running the given code_str throws no errors.\"\"\"\n        code_str = textwrap.dedent(code_str)\n        errors = self._run_str(\n            code_str, expect_failure=False, fail_after_first=False, **kwargs\n        )\n        expected_errors = defaultdict(lambda: defaultdict(int))\n        for i, line in enumerate(code_str.splitlines(), start=1):\n            whole_line_match = re.match(r\"^ *#\\s*E:\\s*([a-z_]+)$\", line)\n            if whole_line_match:\n                expected_errors[i + 1][whole_line_match.group(1)] += 1\n                continue\n            for separate_match in re.finditer(r\"#\\s*E:\\s*([a-z_]+)\", line):\n                expected_errors[i][separate_match.group(1)] += 1\n    \n        mismatches = []\n    \n        for error in errors:\n            lineno = error[\"lineno\"]\n            actual_code = error[\"code\"].name\n            if (\n                actual_code in expected_errors[lineno]\n                and expected_errors[lineno][actual_code] > 0\n            ):\n                expected_errors[lineno][actual_code] -= 1\n            else:\n                mismatches.append(\n                    f\"Did not expect error {actual_code} on line {lineno}\"\n                )\n    \n        for lineno, errors_by_line in expected_errors.items():\n            for error_code, count in errors_by_line.items():\n                if count > 0:\n                    mismatches.append(f\"Expected {error_code} on line {lineno}\")\n    \n>       assert not mismatches, \"\".join(line + \"\\n\" for line in mismatches) + \"\".join(\n            error[\"message\"] for error in errors\n        )\nE       AssertionError: Expected incompatible_call on line 4\nE         \nE       assert not ['Expected incompatible_call on line 4']\n\npyanalyze/test_node_visitor.py:86: AssertionError"}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-16","seq":16,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-826dddf04eec4f8bad1a5cf8b3ec4f48/bin/busybox sh -c 'mkdir -p /pyanalyze/pyanalyze && cp /opt/receipts-826dddf04eec4f8bad1a5cf8b3ec4f48/incoming/90ac2ad7c86e1e323baf6200029062e1da76a54f0af5306d5547d31ab5ba01f6 /pyanalyze/pyanalyze/name_check_visitor.py'","path":"pyanalyze/name_check_visitor.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"90ac2ad7c86e1e323baf6200029062e1da76a54f0af5306d5547d31ab5ba01f6","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-16.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:00:07.383608Z","duration_s":0.00459,"timed_out":false,"image_before":"6d0dff6b-2bca-4143-a755-95376e899e0f","image_after":"c5984a82-7b41-4900-9391-96dfef346411","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-17","seq":17,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-82a882e429334f5b948127be77d1b65b/bin/busybox sh -c 'mkdir -p /pyanalyze/pyanalyze && cp /opt/receipts-82a882e429334f5b948127be77d1b65b/incoming/1019b1770312beca525d5b596c27d7dd2a1b85dfe77fa8ea1789f5f74987d5f4 /pyanalyze/pyanalyze/name_check_visitor.py'","path":"pyanalyze/name_check_visitor.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"1019b1770312beca525d5b596c27d7dd2a1b85dfe77fa8ea1789f5f74987d5f4","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-17.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:00:15.858625Z","duration_s":0.005359,"timed_out":false,"image_before":"c5984a82-7b41-4900-9391-96dfef346411","image_after":"087887c8-38a6-4c0a-a59a-7a678f12cd1d","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-18","seq":18,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-2fb3ec69c96e4359a628ca2e36b2239c/bin/busybox sh -c 'mkdir -p /pyanalyze/pyanalyze && cp /opt/receipts-2fb3ec69c96e4359a628ca2e36b2239c/incoming/90ac2ad7c86e1e323baf6200029062e1da76a54f0af5306d5547d31ab5ba01f6 /pyanalyze/pyanalyze/name_check_visitor.py'","path":"pyanalyze/name_check_visitor.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"90ac2ad7c86e1e323baf6200029062e1da76a54f0af5306d5547d31ab5ba01f6","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-18.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:00:22.366745Z","duration_s":0.006451,"timed_out":false,"image_before":"087887c8-38a6-4c0a-a59a-7a678f12cd1d","image_after":"d1effd23-b84a-4026-bea9-acc8ad887d01","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-19","seq":19,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-de342f5fd3504d3d8df00f78a249b277/bin/busybox sh -c 'mkdir -p /pyanalyze/pyanalyze && cp /opt/receipts-de342f5fd3504d3d8df00f78a249b277/incoming/b62cceb7ad8b7cb428b61c8b91c1aacfdfdb33a656ab86d0ea3ac6cf920e79e5 /pyanalyze/pyanalyze/name_check_visitor.py'","path":"pyanalyze/name_check_visitor.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"b62cceb7ad8b7cb428b61c8b91c1aacfdfdb33a656ab86d0ea3ac6cf920e79e5","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-19.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:00:30.091522Z","duration_s":0.00514,"timed_out":false,"image_before":"d1effd23-b84a-4026-bea9-acc8ad887d01","image_after":"8debb54d-feb3-4218-ac67-27af6fe216a1","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-20","seq":20,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-654cdeeb06e747d4bd7007daeff0caee/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-654cdeeb06e747d4bd7007daeff0caee/receipts_pytest.py pyanalyze/test_implementation.py::TestAny::test_call -v -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-20.xml","path":null,"exit_code":0,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-7.4.4, pluggy-1.6.0 -- /usr/local/bin/python\nrootdir: /pyanalyze\ncollecting ... collected 1 item\n\npyanalyze/test_implementation.py::TestAny::test_call PASSED              [100%]\n\n=============================== warnings summary ===============================\npyanalyze/test_name_check_visitor.py:343\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:343: SyntaxWarning: 'list' object is not callable; perhaps you missed a comma?\n    print([1, 2]())  # E: not_callable\n\npyanalyze/test_name_check_visitor.py:1300\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:1300: SyntaxWarning: list indices must be integers or slices, not float; perhaps you missed a comma?\n    return [1, 2][3.0]  # E: unsupported_operation\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n==================================== PASSES ====================================\n______________________________ TestAny.test_call _______________________________\n----------------------------- Captured stderr call -----------------------------\n\nCannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\nIn <test input 8d140f2f331ce6deb3b319d721e4f11baddde02e2d97ea46b191425b557754d6> at line 4\n   1: from typing import Any\n   2: \n   3: def capybara():\n   4:     Any(42)  # E: incompatible_call\n          ^\n<test input 8d140f2f331ce6deb3b319d721e4f11baddde02e2d97ea46b191425b557754d6> took 0.01 s\n----------- generated xml file: /opt/receipts/reports/agent1-20.xml ------------\n=========================== short test summary info ============================\nPASSED pyanalyze/test_implementation.py::TestAny::test_call\n======================== 1 passed, 2 warnings in 0.54s =========================\n","stderr_tail":"","stdout_sha256":"436403cd815d196bef489b67cb0d453216c2367a0b929f4cab0e6ee70a207af6","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-20.log","tree_digest":"fc3987cf8197e3480a738e186201ef7e02683d839e5c90e1eac33d888e63a3f6","tree_download_s":3.693596165860072,"started_at":"2026-10-03T19:00:33.615299Z","duration_s":0.835414,"timed_out":false,"image_before":"8debb54d-feb3-4218-ac67-27af6fe216a1","image_after":"2daa4c67-5578-41f1-8b90-274c6d8e7573","junit":{"passed":["pyanalyze/test_implementation.py::TestAny::test_call"],"failed":[],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-21","seq":21,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-96a18f9a42424fed83ca33c298a33cb1/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-96a18f9a42424fed83ca33c298a33cb1/receipts_pytest.py pyanalyze/test_implementation.py pyanalyze/test_runtime.py --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-21.xml","path":null,"exit_code":1,"stdout_tail":"comprehension\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_metaclass\nPASSED pyanalyze/test_implementation.py::TestSequenceImpl::test_union\nPASSED pyanalyze/test_implementation.py::TestFormat::test_basic\nPASSED pyanalyze/test_implementation.py::TestFormat::test_errors\nPASSED pyanalyze/test_implementation.py::TestFormat::test_union\nPASSED pyanalyze/test_implementation.py::TestTypeMethods::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestLen::test\nPASSED pyanalyze/test_implementation.py::TestLen::test_narrowing\nPASSED pyanalyze/test_implementation.py::TestLen::test_wrong_type\nPASSED pyanalyze/test_implementation.py::TestBool::test_return_value\nPASSED pyanalyze/test_implementation.py::TestBool::test_constraint\nPASSED pyanalyze/test_implementation.py::TestCast::test\nPASSED pyanalyze/test_implementation.py::TestCast::test_undefined_name\nPASSED pyanalyze/test_implementation.py::TestSubclasses::test\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_pos_only\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_wrong_type\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_set_add\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_add\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd_never\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_weak_value\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_starred_weak\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_wrong_type\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_union\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_get\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_setdefault\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop_union\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_update\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_copy_and_update\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_annotation\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_in_lambda\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_subclasses\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_unhashable\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_invalid_typeddict_key\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_incomplete_value\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_complex_incomplete\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_type_as_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_setitem_valid\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_non_literal_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_unrecognized_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_bad_value\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_incomplete_value\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_bad_key_type\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_bad_value_type\nPASSED pyanalyze/test_implementation.py::TestIssubclass::test\nPASSED pyanalyze/test_implementation.py::TestIssubclass::test_negative_narrowing\nPASSED pyanalyze/test_implementation.py::TestCallableGuards::test_callable\nPASSED pyanalyze/test_implementation.py::TestAssertType::test_assert_type\nPASSED pyanalyze/test_implementation.py::TestAny::test_call\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_mixin - Assertio...\nFAILED pyanalyze/test_implementation.py::TestSequenceImpl::test - AssertionEr...\nFAILED pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable\nFAILED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend\nFAILED pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd\nFAILED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index\nFAILED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index\nFAILED pyanalyze/test_implementation.py::TestDictSetItem::test_weak - Asserti...\nFAILED pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction\nFAILED pyanalyze/test_runtime.py::test_is_compatible - assert not True\nFAILED pyanalyze/test_runtime.py::test_get_compatibility_error - AssertionErr...\nFAILED pyanalyze/test_runtime.py::TestRuntimeTypeGuard::test_runtime - Module...\n================== 15 failed, 67 passed, 2 warnings in 6.53s ===================\n","stderr_tail":"","stdout_sha256":"7344c2b139713e0f88c6d24b974df3120571b0a0d2d3e4ddcf5ef03e77dc2c34","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-21.log","tree_digest":"fc3987cf8197e3480a738e186201ef7e02683d839e5c90e1eac33d888e63a3f6","tree_download_s":2.3732344161253422,"started_at":"2026-10-03T19:00:42.300822Z","duration_s":6.101940000000001,"timed_out":false,"image_before":"2daa4c67-5578-41f1-8b90-274c6d8e7573","image_after":"0797c974-6bba-40e1-ba4e-b69657ae490f","junit":{"passed":["pyanalyze/test_implementation.py::TestSuperCall::test_basic","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args_classmethod","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_comprehension","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function","pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass","pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call","pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base","pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute","pyanalyze/test_implementation.py::TestSuperCall::test_metaclass","pyanalyze/test_implementation.py::TestSequenceImpl::test_union","pyanalyze/test_implementation.py::TestFormat::test_basic","pyanalyze/test_implementation.py::TestFormat::test_errors","pyanalyze/test_implementation.py::TestFormat::test_union","pyanalyze/test_implementation.py::TestTypeMethods::test","pyanalyze/test_implementation.py::TestEncodeDecode::test","pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type","pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type","pyanalyze/test_implementation.py::TestLen::test","pyanalyze/test_implementation.py::TestLen::test_narrowing","pyanalyze/test_implementation.py::TestLen::test_wrong_type","pyanalyze/test_implementation.py::TestBool::test_return_value","pyanalyze/test_implementation.py::TestBool::test_constraint","pyanalyze/test_implementation.py::TestCast::test","pyanalyze/test_implementation.py::TestCast::test_undefined_name","pyanalyze/test_implementation.py::TestSubclasses::test","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_pos_only","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_wrong_type","pyanalyze/test_implementation.py::TestGenericMutators::test_set_add","pyanalyze/test_implementation.py::TestGenericMutators::test_list_add","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd_never","pyanalyze/test_implementation.py::TestGenericMutators::test_weak_value","pyanalyze/test_implementation.py::TestGenericMutators::test_starred_weak","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_wrong_type","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_union","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_get","pyanalyze/test_implementation.py::TestGenericMutators::test_setdefault","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop_union","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_update","pyanalyze/test_implementation.py::TestGenericMutators::test_copy_and_update","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_annotation","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_in_lambda","pyanalyze/test_implementation.py::TestSequenceGetItem::test_subclasses","pyanalyze/test_implementation.py::TestDictGetItem::test_unhashable","pyanalyze/test_implementation.py::TestDictGetItem::test_invalid_typeddict_key","pyanalyze/test_implementation.py::TestDictGetItem::test_incomplete_value","pyanalyze/test_implementation.py::TestDictGetItem::test_complex_incomplete","pyanalyze/test_implementation.py::TestDictGetItem::test","pyanalyze/test_implementation.py::TestDictGetItem::test_type_as_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_setitem_valid","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_non_literal_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_unrecognized_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_bad_value","pyanalyze/test_implementation.py::TestDictSetItem::test_incomplete_value","pyanalyze/test_implementation.py::TestDictSetItem::test_bad_key_type","pyanalyze/test_implementation.py::TestDictSetItem::test_bad_value_type","pyanalyze/test_implementation.py::TestIssubclass::test","pyanalyze/test_implementation.py::TestIssubclass::test_negative_narrowing","pyanalyze/test_implementation.py::TestCallableGuards::test_callable","pyanalyze/test_implementation.py::TestAssertType::test_assert_type","pyanalyze/test_implementation.py::TestAny::test_call"],"failed":["pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call","pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod","pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute","pyanalyze/test_implementation.py::TestSuperCall::test_mixin","pyanalyze/test_implementation.py::TestSequenceImpl::test","pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index","pyanalyze/test_implementation.py::TestDictSetItem::test_weak","pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction","pyanalyze/test_runtime.py::test_is_compatible","pyanalyze/test_runtime.py::test_get_compatibility_error","pyanalyze/test_runtime.py::TestRuntimeTypeGuard::test_runtime"],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{"pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call":"AssertionError: Did not expect error incompatible_call on line 6\n  \n  Incompatible arguments to super (code: bad_super_call)\n  In <test input fc74a97383956aa8d70fcd005dc654856335bcd1d6fe22a662ad5a56ccb3b585> at line 6\n     3: @wrap\n     4: class Tainotherium2(PropertyObject):\n     5:     def non_async_method(self):\n     6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input fc74a97383956aa8d70fcd005dc654856335bcd1d6fe22a662ad5a56ccb3b585> at line 6\n     3: @wrap\n     4: class Tainotherium2(PropertyObject):\n     5:     def non_async_method(self):\n     6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 6']\nE   AssertionError: Did not expect error incompatible_call on line 6\n      \n      Incompatible arguments to super (code: bad_super_call)\n      In <test input fc74a97383956aa8d70fcd005dc654856335bcd1d6fe22a662ad5a56ccb3b585> at line 6\n         3: @wrap\n         4: class Tainotherium2(PropertyObject):\n         5:     def non_async_method(self):\n         6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input fc74a97383956aa8d70fcd005dc654856335bcd1d6fe22a662ad5a56ccb3b585> at line 6\n         3: @wrap\n         4: class Tainotherium2(PropertyObject):\n         5:     def non_async_method(self):\n         6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 6']","pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod":"AssertionError: Did not expect error incompatible_call on line 7\n  \n  Incompatible arguments to super (code: bad_super_call)\n  In <test input 5ff87decedbb297f3b180599bb9f7c10f6cd305f2a61f31c524b15189c2b0761> at line 7\n     4: class Tainotherium3(PropertyObject):\n     5:     @classmethod\n     6:     def no_args_classmethod(cls):\n     7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input 5ff87decedbb297f3b180599bb9f7c10f6cd305f2a61f31c524b15189c2b0761> at line 7\n     4: class Tainotherium3(PropertyObject):\n     5:     @classmethod\n     6:     def no_args_classmethod(cls):\n     7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 7']\nE   AssertionError: Did not expect error incompatible_call on line 7\n      \n      Incompatible arguments to super (code: bad_super_call)\n      In <test input 5ff87decedbb297f3b180599bb9f7c10f6cd305f2a61f31c524b15189c2b0761> at line 7\n         4: class Tainotherium3(PropertyObject):\n         5:     @classmethod\n         6:     def no_args_classmethod(cls):\n         7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input 5ff87decedbb297f3b180599bb9f7c10f6cd305f2a61f31c524b15189c2b0761> at line 7\n         4: class Tainotherium3(PropertyObject):\n         5:     @classmethod\n         6:     def no_args_classmethod(cls):\n         7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 7']","pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute":"AssertionError: Did not expect error incompatible_call on line 7\n  \n  Literal[<super: <class 'ChildCapybara'>, <ChildCapybara object>>] has no attribute 'toggle' (code: undefined_attribute)\n  In <test input 151c088115af170e791d19c16e0d5438f6ea2dfb30bc40aa8d3949530cd65f69> at line 7\n     4: class ChildCapybara(MotherCapybara):\n     5:     @classmethod\n     6:     def toggle(cls):\n     7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input 151c088115af170e791d19c16e0d5438f6ea2dfb30bc40aa8d3949530cd65f69> at line 7\n     4: class ChildCapybara(MotherCapybara):\n     5:     @classmethod\n     6:     def toggle(cls):\n     7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 7']\nE   AssertionError: Did not expect error incompatible_call on line 7\n      \n      Literal[<super: <class 'ChildCapybara'>, <ChildCapybara object>>] has no attribute 'toggle' (code: undefined_attribute)\n      In <test input 151c088115af170e791d19c16e0d5438f6ea2dfb30bc40aa8d3949530cd65f69> at line 7\n         4: class ChildCapybara(MotherCapybara):\n         5:     @classmethod\n         6:     def toggle(cls):\n         7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input 151c088115af170e791d19c16e0d5438f6ea2dfb30bc40aa8d3949530cd65f69> at line 7\n         4: class ChildCapybara(MotherCapybara):\n         5:     @classmethod\n         6:     def toggle(cls):\n         7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 7']","pyanalyze/test_implementation.py::TestSuperCall::test_mixin":"AssertionError: Did not expect error incompatible_call on line 9\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input 4b8996dfb6b8921959d155784cd918fad6b24c3ba20ff641be53a83a765dc455> at line 9\n     6: class Mixin(object):\n     7:     @classmethod\n     8:     def eat(cls):\n     9:         super(Mixin, cls).eat()\n                ^\n    10: \n    11: class Capybara(Mixin, Base):\n    12:     pass\n  \nassert not ['Did not expect error incompatible_call on line 9']\nE   AssertionError: Did not expect error incompatible_call on line 9\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input 4b8996dfb6b8921959d155784cd918fad6b24c3ba20ff641be53a83a765dc455> at line 9\n         6: class Mixin(object):\n         7:     @classmethod\n         8:     def eat(cls):\n         9:         super(Mixin, cls).eat()\n                    ^\n        10: \n        11: class Capybara(Mixin, Base):\n        12:     pass\n      \n    assert not ['Did not expect error incompatible_call on line 9']","pyanalyze/test_implementation.py::TestSequenceImpl::test":"[...]  \n  Bad value inference: expected tuple[int], got tuple[Any[error]] (code: inference_failure)\n  In <test input 459fd133cd5d5d5664a69cc23d982945432553a54bf47e7614f6c09aa162fb19> at line 19\n    16:     assert_is_value(tuple({i: i for i in ints}), GenericValue(tuple, [one_two]))\n    17: \n    18:     # SequenceValue\n    19:     assert_is_value(\n            ^\n    20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n    21:     )\n    22: \n  \nassert not ['Did not expect error incompatible_call on line 20', 'Did not expect error inference_failure on line 19']\nE   AssertionError: Did not expect error incompatible_call on line 20\n      Did not expect error inference_failure on line 19\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 459fd133cd5d5d5664a69cc23d982945432553a54bf47e7614f6c09aa162fb19> at line 20\n        17: \n        18:     # SequenceValue\n        19:     assert_is_value(\n        20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n                           ^\n        21:     )\n        22: \n        23:     # fallback\n      \n      Bad value inference: expected tuple[int], got tuple[Any[error]] (code: inference_failure)\n      In <test input 459fd133cd5d5d5664a69cc23d982945432553a54bf47e7614f6c09aa162fb19> at line 19\n        16:     assert_is_value(tuple({i: i for i in ints}), GenericValue(tuple, [one_two]))\n        17: \n        18:     # SequenceValue\n        19:     assert_is_value(\n                ^\n        20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n        21:     )\n        22: \n      \n    assert not ['Did not expect error incompatible_call on line 20', 'Did not expect error inference_failure on line 19']","pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable":"[...]d0e9c0df3cb47396e> at line 2\n     1: def capybara(x):\n     2:     tuple(3)  # E: unsupported_operation\n                  ^\n     3:     tuple(int(x))  # E: unsupported_operation\n  \n  Cannot call overloaded function (code: incompatible_call)\n      In overload () -> int\n        Takes 0 positional arguments but 1 were given\n      In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n        Missing required argument 'base'\n  \n  In <test input 0267c307b2b13f8d0cbd1b21fc74f07aab42c8fbb0ea9ccd0e9c0df3cb47396e> at line 3\n     1: def capybara(x):\n     2:     tuple(3)  # E: unsupported_operation\n     3:     tuple(int(x))  # E: unsupported_operation\n                  ^\n  \nassert not ['Did not expect error incompatible_call on line 3', 'Expected unsupported_operation on line 3']\nE   AssertionError: Did not expect error incompatible_call on line 3\n      Expected unsupported_operation on line 3\n      \n      Literal[3] is not iterable (code: unsupported_operation)\n        Literal[3] has no attribute '__iter__'\n      \n      In <test input 0267c307b2b13f8d0cbd1b21fc74f07aab42c8fbb0ea9ccd0e9c0df3cb47396e> at line 2\n         1: def capybara(x):\n         2:     tuple(3)  # E: unsupported_operation\n                      ^\n         3:     tuple(int(x))  # E: unsupported_operation\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 0267c307b2b13f8d0cbd1b21fc74f07aab42c8fbb0ea9ccd0e9c0df3cb47396e> at line 3\n         1: def capybara(x):\n         2:     tuple(3)  # E: unsupported_operation\n         3:     tuple(int(x))  # E: unsupported_operation\n                      ^\n      \n    assert not ['Did not expect error incompatible_call on line 3', 'Expected unsupported_operation on line 3']","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend":"AssertionError: Did not expect error incompatible_call on line 10\n  \n  Takes 0 positional arguments but 1 were given (code: incompatible_call)\n  In <test input 00060aab66bd00966dde6756186762468397b4e981826248f6201de71b9b9bc4> at line 10\n     7:     assert_is_value(\n     8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n     9:     )\n    10:     lst.extend({float(1.0)})\n                        ^\n    11:     assert_is_value(\n    12:         lst,\n    13:         make_simple_sequence(\n  \nassert not ['Did not expect error incompatible_call on line 10']\nE   AssertionError: Did not expect error incompatible_call on line 10\n      \n      Takes 0 positional arguments but 1 were given (code: incompatible_call)\n      In <test input 00060aab66bd00966dde6756186762468397b4e981826248f6201de71b9b9bc4> at line 10\n         7:     assert_is_value(\n         8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n         9:     )\n        10:     lst.extend({float(1.0)})\n                            ^\n        11:     assert_is_value(\n        12:         lst,\n        13:         make_simple_sequence(\n      \n    assert not ['Did not expect error incompatible_call on line 10']","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd":"AssertionError: Did not expect error incompatible_call on line 10\n  \n  Takes 0 positional arguments but 1 were given (code: incompatible_call)\n  In <test input fde298f847041cdbd4aab4f61eae83d075ead2cf412452493074aad475c4e800> at line 10\n     7:     assert_is_value(\n     8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n     9:     )\n    10:     lst += {float(1.0)}\n                    ^\n    11:     assert_is_value(\n    12:         lst,\n    13:         make_simple_sequence(\n  \nassert not ['Did not expect error incompatible_call on line 10']\nE   AssertionError: Did not expect error incompatible_call on line 10\n      \n      Takes 0 positional arguments but 1 were given (code: incompatible_call)\n      In <test input fde298f847041cdbd4aab4f61eae83d075ead2cf412452493074aad475c4e800> at line 10\n         7:     assert_is_value(\n         8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n         9:     )\n        10:     lst += {float(1.0)}\n                        ^\n        11:     assert_is_value(\n        12:         lst,\n        13:         make_simple_sequence(\n      \n    assert not ['Did not expect error incompatible_call on line 10']","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index":"[...]ce_failure on line 4\n      Did not expect error inference_failure on line 6\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input d7e8e2cd53646ce1a298f749c31353b6a88e199adf8625a4fb6ec3d8f9bd8386> at line 2\n         1: def capybara(x):\n         2:     lst = [\"a\", \"b\", int(x)]\n                                 ^\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n      \n      Bad value inference: expected int, got Any[error] (code: inference_failure)\n      In <test input d7e8e2cd53646ce1a298f749c31353b6a88e199adf8625a4fb6ec3d8f9bd8386> at line 4\n         1: def capybara(x):\n         2:     lst = [\"a\", \"b\", int(x)]\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n                ^\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n         6:     assert_is_value(lst[5], KnownValue(\"a\") | KnownValue(\"b\") | TypedValue(int))\n      \n      Bad value inference: expected Union[int, Literal['a', 'b']], got Union[Any[error], Literal['a', 'b']] (code: inference_failure)\n      In <test input d7e8e2cd53646ce1a298f749c31353b6a88e199adf8625a4fb6ec3d8f9bd8386> at line 6\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n         6:     assert_is_value(lst[5], KnownValue(\"a\") | KnownValue(\"b\") | TypedValue(int))\n                ^\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 4', 'Did not expect error inference_failure on line 6']","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index":"[...] 2', 'Did not expect error inference_failure on line 4']\nE   AssertionError: Did not expect error incompatible_call on line 2\n      Did not expect error inference_failure on line 4\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input d8079c47967cb0283932f143e5336df668fc871c41179d7ba049f31606724cc7> at line 2\n         1: def capybara(x):\n         2:     tpl = (\"a\", \"b\", int(x))\n                                 ^\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n      \n      Bad value inference: expected int, got Any[error] (code: inference_failure)\n      In <test input d8079c47967cb0283932f143e5336df668fc871c41179d7ba049f31606724cc7> at line 4\n         1: def capybara(x):\n         2:     tpl = (\"a\", \"b\", int(x))\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n                ^\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n         6:     assert_is_value(tpl[5], AnyValue(AnySource.error))  # E: incompatible_call\n      \n      Tuple index out of range: Literal[5] (code: incompatible_call)\n      In <test input d8079c47967cb0283932f143e5336df668fc871c41179d7ba049f31606724cc7> at line 6\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n         6:     assert_is_value(tpl[5], AnyValue(AnySource.error))  # E: incompatible_call\n                                ^\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 4']","pyanalyze/test_implementation.py::TestDictSetItem::test_weak":"[...]ncompatible_call on line 2\n      Did not expect error inference_failure on line 3\n      Did not expect error inference_failure on line 10\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 64ad6f8be7419adec15ba50b8a7444500fab854b4851d3dd51766b31a410248f> at line 2\n         1: def capybara(arg):\n         2:     dct = {int(k): 1 for k in arg}\n                       ^\n         3:     assert_is_value(\n         4:         dct,\n         5:         DictIncompleteValue(\n      \n      Bad value inference: expected <dict containing {**{int: Literal[1]}}>, got <dict containing {**{Any[error]: Literal[1]}}> (code: inference_failure)\n      In <test input 64ad6f8be7419adec15ba50b8a7444500fab854b4851d3dd51766b31a410248f> at line 3\n         1: def capybara(arg):\n         2:     dct = {int(k): 1 for k in arg}\n         3:     assert_is_value(\n                ^\n         4:         dct,\n         5:         DictIncompleteValue(\n         6:             dict, [KVPair(TypedValue(int), KnownValue(1), is_many=True)]\n      \n      Bad value inference: expected <dict containing {**{int: Literal[1]}, Literal['x']: Literal['y']}>, got <dict containing {**{Any[error]: Literal[1]}, Literal['x']: Literal['y']}> (code: inference_failure)\n      In <test input 64ad6f8be7419adec15ba50b8a7444500fab854b4851d3dd51766b31a410248f> at line 10\n         7:         ),\n         8:     )\n         9:     dct[\"x\"] = \"y\"\n        10:     assert_is_value(\n                ^\n        11:         dct,\n        12:         DictIncompleteValue(\n        13:             dict,\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 3', 'Did not expect error inference_failure on line 10']","pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction":"AssertionError: Did not expect error inference_failure on line 7\n  \n  Bad value inference: expected function, got object (code: inference_failure)\n  In <test input cffb7b201c6092405b3ed3c92ea3600b3d48a6ce3940820a830f9c1bf7f542e5> at line 7\n     4: def capybara(o: object) -> None:\n     5:     assert_is_value(o, TypedValue(object))\n     6:     if inspect.isfunction(o):\n     7:         assert_is_value(o, TypedValue(FunctionType))\n                ^\n  \nassert not ['Did not expect error inference_failure on line 7']\nE   AssertionError: Did not expect error inference_failure on line 7\n      \n      Bad value inference: expected function, got object (code: inference_failure)\n      In <test input cffb7b201c6092405b3ed3c92ea3600b3d48a6ce3940820a830f9c1bf7f542e5> at line 7\n         4: def capybara(o: object) -> None:\n         5:     assert_is_value(o, TypedValue(object))\n         6:     if inspect.isfunction(o):\n         7:         assert_is_value(o, TypedValue(FunctionType))\n                    ^\n      \n    assert not ['Did not expect error inference_failure on line 7']","pyanalyze/test_runtime.py::test_is_compatible":"assert not True\n +  where True = is_compatible(42, typing.List[int])\nE   assert not True\n     +  where True = is_compatible(42, typing.List[int])","pyanalyze/test_runtime.py::test_get_compatibility_error":"AssertionError: assert None == 'Cannot assign Literal[42] to list\\n'\n +  where None = get_compatibility_error(42, typing.List[int])\nE   AssertionError: assert None == 'Cannot assign Literal[42] to list\\n'\n     +  where None = get_compatibility_error(42, typing.List[int])","pyanalyze/test_runtime.py::TestRuntimeTypeGuard::test_runtime":"ModuleNotFoundError: No module named 'annotated_types'\nE   ModuleNotFoundError: No module named 'annotated_types'"}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-22","seq":22,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-5b8bffe5983a46c68dbb3b55459c77f8/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-5b8bffe5983a46c68dbb3b55459c77f8/receipts_pytest.py pyanalyze/test_runtime.py::test_is_compatible pyanalyze/test_runtime.py::test_get_compatibility_error -v -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-22.xml","path":null,"exit_code":1,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-7.4.4, pluggy-1.6.0 -- /usr/local/bin/python\nrootdir: /pyanalyze\ncollecting ... collected 2 items\n\npyanalyze/test_runtime.py::test_is_compatible FAILED                     [ 50%]\npyanalyze/test_runtime.py::test_get_compatibility_error FAILED           [100%]\n\n=================================== FAILURES ===================================\n______________________________ test_is_compatible ______________________________\n\n    def test_is_compatible() -> None:\n>       assert not is_compatible(42, List[int])\nE       assert not True\nE        +  where True = is_compatible(42, typing.List[int])\n\npyanalyze/test_runtime.py:10: AssertionError\n_________________________ test_get_compatibility_error _________________________\n\n    def test_get_compatibility_error() -> None:\n>       assert (\n            get_compatibility_error(42, List[int]) == \"Cannot assign Literal[42] to list\\n\"\n        )\nE       AssertionError: assert None == 'Cannot assign Literal[42] to list\\n'\nE        +  where None = get_compatibility_error(42, typing.List[int])\n\npyanalyze/test_runtime.py:17: AssertionError\n=============================== warnings summary ===============================\npyanalyze/test_name_check_visitor.py:343\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:343: SyntaxWarning: 'list' object is not callable; perhaps you missed a comma?\n    print([1, 2]())  # E: not_callable\n\npyanalyze/test_name_check_visitor.py:1300\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:1300: SyntaxWarning: list indices must be integers or slices, not float; perhaps you missed a comma?\n    return [1, 2][3.0]  # E: unsupported_operation\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n----------- generated xml file: /opt/receipts/reports/agent1-22.xml ------------\n=========================== short test summary info ============================\nFAILED pyanalyze/test_runtime.py::test_is_compatible - assert not True\nFAILED pyanalyze/test_runtime.py::test_get_compatibility_error - AssertionErr...\n======================== 2 failed, 2 warnings in 0.54s =========================\n","stderr_tail":"","stdout_sha256":"9481891bbd36973b13de6892b4232822bef61e35173a0c6a5be56ff3d1258099","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-22.log","tree_digest":"fc3987cf8197e3480a738e186201ef7e02683d839e5c90e1eac33d888e63a3f6","tree_download_s":2.7207582499831915,"started_at":"2026-10-03T19:00:56.684725Z","duration_s":0.832793,"timed_out":false,"image_before":"0797c974-6bba-40e1-ba4e-b69657ae490f","image_after":"35c61c2e-e723-4041-8e64-250fe16348cb","junit":{"passed":[],"failed":["pyanalyze/test_runtime.py::test_is_compatible","pyanalyze/test_runtime.py::test_get_compatibility_error"],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{"pyanalyze/test_runtime.py::test_is_compatible":"assert not True\n +  where True = is_compatible(42, typing.List[int])\ndef test_is_compatible() -> None:\n>       assert not is_compatible(42, List[int])\nE       assert not True\nE        +  where True = is_compatible(42, typing.List[int])\n\npyanalyze/test_runtime.py:10: AssertionError","pyanalyze/test_runtime.py::test_get_compatibility_error":"AssertionError: assert None == 'Cannot assign Literal[42] to list\\n'\n +  where None = get_compatibility_error(42, typing.List[int])\ndef test_get_compatibility_error() -> None:\n>       assert (\n            get_compatibility_error(42, List[int]) == \"Cannot assign Literal[42] to list\\n\"\n        )\nE       AssertionError: assert None == 'Cannot assign Literal[42] to list\\n'\nE        +  where None = get_compatibility_error(42, typing.List[int])\n\npyanalyze/test_runtime.py:17: AssertionError"}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-23","seq":23,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && python -m pytest pyanalyze/test_implementation.py --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning | grep -E \"(FAILED|PASSED|ERROR)\" | head -20","path":null,"exit_code":0,"stdout_tail":"PASSED pyanalyze/test_implementation.py::TestSuperCall::test_basic\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args_classmethod\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_comprehension\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_metaclass\nPASSED pyanalyze/test_implementation.py::TestSequenceImpl::test_union\nPASSED pyanalyze/test_implementation.py::TestFormat::test_basic\nPASSED pyanalyze/test_implementation.py::TestFormat::test_errors\nPASSED pyanalyze/test_implementation.py::TestFormat::test_union\nPASSED pyanalyze/test_implementation.py::TestTypeMethods::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type\n","stderr_tail":"","stdout_sha256":"fdcfa99f15fc01c5b1726e02d4d20f021e576e1581bf3af78268d6501c256581","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-23.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:01:05.522699Z","duration_s":6.075154,"timed_out":false,"image_before":"35c61c2e-e723-4041-8e64-250fe16348cb","image_after":"a56fee93-83cd-4cef-b43f-9edfca9c2ed8","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-24","seq":24,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-46f8202927874d3c8ac413db6db82725/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-46f8202927874d3c8ac413db6db82725/receipts_pytest.py pyanalyze/test_implementation.py --no-header -rW --tb=no -p no:cacheprovider -W ignore::DeprecationWarning -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-24.xml","path":null,"exit_code":1,"stdout_tail":"ntation.py::TestSuperCall::test_super_no_args_wrong_args\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args_classmethod\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_comprehension\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_metaclass\nPASSED pyanalyze/test_implementation.py::TestSequenceImpl::test_union\nPASSED pyanalyze/test_implementation.py::TestFormat::test_basic\nPASSED pyanalyze/test_implementation.py::TestFormat::test_errors\nPASSED pyanalyze/test_implementation.py::TestFormat::test_union\nPASSED pyanalyze/test_implementation.py::TestTypeMethods::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestLen::test\nPASSED pyanalyze/test_implementation.py::TestLen::test_narrowing\nPASSED pyanalyze/test_implementation.py::TestLen::test_wrong_type\nPASSED pyanalyze/test_implementation.py::TestBool::test_return_value\nPASSED pyanalyze/test_implementation.py::TestBool::test_constraint\nPASSED pyanalyze/test_implementation.py::TestCast::test\nPASSED pyanalyze/test_implementation.py::TestCast::test_undefined_name\nPASSED pyanalyze/test_implementation.py::TestSubclasses::test\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_pos_only\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_wrong_type\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_set_add\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_add\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd_never\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_weak_value\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_starred_weak\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_wrong_type\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_union\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_get\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_setdefault\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop_union\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_update\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_copy_and_update\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_annotation\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_in_lambda\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_subclasses\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_unhashable\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_invalid_typeddict_key\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_incomplete_value\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_complex_incomplete\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_type_as_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_setitem_valid\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_non_literal_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_unrecognized_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_bad_value\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_incomplete_value\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_bad_key_type\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_bad_value_type\nPASSED pyanalyze/test_implementation.py::TestIssubclass::test\nPASSED pyanalyze/test_implementation.py::TestIssubclass::test_negative_narrowing\nPASSED pyanalyze/test_implementation.py::TestCallableGuards::test_callable\nPASSED pyanalyze/test_implementation.py::TestAssertType::test_assert_type\nPASSED pyanalyze/test_implementation.py::TestAny::test_call\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_mixin - Assertio...\nFAILED pyanalyze/test_implementation.py::TestSequenceImpl::test - AssertionEr...\nFAILED pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable\nFAILED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend\nFAILED pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd\nFAILED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index\nFAILED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index\nFAILED pyanalyze/test_implementation.py::TestDictSetItem::test_weak - Asserti...\nFAILED pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction\n================== 12 failed, 67 passed, 2 warnings in 6.79s ===================\n","stderr_tail":"","stdout_sha256":"352de7b62f19eff1f7129225d4cc2e1b32811bc31b42e8b7adee49f40c9b51cd","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-24.log","tree_digest":"fc3987cf8197e3480a738e186201ef7e02683d839e5c90e1eac33d888e63a3f6","tree_download_s":2.247521582990885,"started_at":"2026-10-03T19:01:16.614873Z","duration_s":6.262771,"timed_out":false,"image_before":"a56fee93-83cd-4cef-b43f-9edfca9c2ed8","image_after":"b4ce5723-012a-4581-aec9-af344615199d","junit":{"passed":["pyanalyze/test_implementation.py::TestSuperCall::test_basic","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args_classmethod","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_comprehension","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function","pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass","pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call","pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base","pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute","pyanalyze/test_implementation.py::TestSuperCall::test_metaclass","pyanalyze/test_implementation.py::TestSequenceImpl::test_union","pyanalyze/test_implementation.py::TestFormat::test_basic","pyanalyze/test_implementation.py::TestFormat::test_errors","pyanalyze/test_implementation.py::TestFormat::test_union","pyanalyze/test_implementation.py::TestTypeMethods::test","pyanalyze/test_implementation.py::TestEncodeDecode::test","pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type","pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type","pyanalyze/test_implementation.py::TestLen::test","pyanalyze/test_implementation.py::TestLen::test_narrowing","pyanalyze/test_implementation.py::TestLen::test_wrong_type","pyanalyze/test_implementation.py::TestBool::test_return_value","pyanalyze/test_implementation.py::TestBool::test_constraint","pyanalyze/test_implementation.py::TestCast::test","pyanalyze/test_implementation.py::TestCast::test_undefined_name","pyanalyze/test_implementation.py::TestSubclasses::test","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_pos_only","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_wrong_type","pyanalyze/test_implementation.py::TestGenericMutators::test_set_add","pyanalyze/test_implementation.py::TestGenericMutators::test_list_add","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd_never","pyanalyze/test_implementation.py::TestGenericMutators::test_weak_value","pyanalyze/test_implementation.py::TestGenericMutators::test_starred_weak","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_wrong_type","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_union","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_get","pyanalyze/test_implementation.py::TestGenericMutators::test_setdefault","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop_union","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_update","pyanalyze/test_implementation.py::TestGenericMutators::test_copy_and_update","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_annotation","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_in_lambda","pyanalyze/test_implementation.py::TestSequenceGetItem::test_subclasses","pyanalyze/test_implementation.py::TestDictGetItem::test_unhashable","pyanalyze/test_implementation.py::TestDictGetItem::test_invalid_typeddict_key","pyanalyze/test_implementation.py::TestDictGetItem::test_incomplete_value","pyanalyze/test_implementation.py::TestDictGetItem::test_complex_incomplete","pyanalyze/test_implementation.py::TestDictGetItem::test","pyanalyze/test_implementation.py::TestDictGetItem::test_type_as_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_setitem_valid","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_non_literal_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_unrecognized_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_bad_value","pyanalyze/test_implementation.py::TestDictSetItem::test_incomplete_value","pyanalyze/test_implementation.py::TestDictSetItem::test_bad_key_type","pyanalyze/test_implementation.py::TestDictSetItem::test_bad_value_type","pyanalyze/test_implementation.py::TestIssubclass::test","pyanalyze/test_implementation.py::TestIssubclass::test_negative_narrowing","pyanalyze/test_implementation.py::TestCallableGuards::test_callable","pyanalyze/test_implementation.py::TestAssertType::test_assert_type","pyanalyze/test_implementation.py::TestAny::test_call"],"failed":["pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call","pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod","pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute","pyanalyze/test_implementation.py::TestSuperCall::test_mixin","pyanalyze/test_implementation.py::TestSequenceImpl::test","pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index","pyanalyze/test_implementation.py::TestDictSetItem::test_weak","pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction"],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{"pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call":"AssertionError: Did not expect error incompatible_call on line 6\n  \n  Incompatible arguments to super (code: bad_super_call)\n  In <test input 212b8cb4b27f62d48e32f2c196d2030c5adf592ce76c066d710d49322f784f36> at line 6\n     3: @wrap\n     4: class Tainotherium2(PropertyObject):\n     5:     def non_async_method(self):\n     6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input 212b8cb4b27f62d48e32f2c196d2030c5adf592ce76c066d710d49322f784f36> at line 6\n     3: @wrap\n     4: class Tainotherium2(PropertyObject):\n     5:     def non_async_method(self):\n     6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 6']\nE   AssertionError: Did not expect error incompatible_call on line 6\n      \n      Incompatible arguments to super (code: bad_super_call)\n      In <test input 212b8cb4b27f62d48e32f2c196d2030c5adf592ce76c066d710d49322f784f36> at line 6\n         3: @wrap\n         4: class Tainotherium2(PropertyObject):\n         5:     def non_async_method(self):\n         6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input 212b8cb4b27f62d48e32f2c196d2030c5adf592ce76c066d710d49322f784f36> at line 6\n         3: @wrap\n         4: class Tainotherium2(PropertyObject):\n         5:     def non_async_method(self):\n         6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 6']","pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod":"AssertionError: Did not expect error incompatible_call on line 7\n  \n  Incompatible arguments to super (code: bad_super_call)\n  In <test input 868bd6200d8320c6401e9a8838e764fcbe91943bbc07d7ce504b204b58f8a49e> at line 7\n     4: class Tainotherium3(PropertyObject):\n     5:     @classmethod\n     6:     def no_args_classmethod(cls):\n     7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input 868bd6200d8320c6401e9a8838e764fcbe91943bbc07d7ce504b204b58f8a49e> at line 7\n     4: class Tainotherium3(PropertyObject):\n     5:     @classmethod\n     6:     def no_args_classmethod(cls):\n     7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 7']\nE   AssertionError: Did not expect error incompatible_call on line 7\n      \n      Incompatible arguments to super (code: bad_super_call)\n      In <test input 868bd6200d8320c6401e9a8838e764fcbe91943bbc07d7ce504b204b58f8a49e> at line 7\n         4: class Tainotherium3(PropertyObject):\n         5:     @classmethod\n         6:     def no_args_classmethod(cls):\n         7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input 868bd6200d8320c6401e9a8838e764fcbe91943bbc07d7ce504b204b58f8a49e> at line 7\n         4: class Tainotherium3(PropertyObject):\n         5:     @classmethod\n         6:     def no_args_classmethod(cls):\n         7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 7']","pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute":"AssertionError: Did not expect error incompatible_call on line 7\n  \n  Literal[<super: <class 'ChildCapybara'>, <ChildCapybara object>>] has no attribute 'toggle' (code: undefined_attribute)\n  In <test input 2e1bfd3f4bad5bfb0838038d5855a2313482329c4738edd8abe3aa97f71d2e70> at line 7\n     4: class ChildCapybara(MotherCapybara):\n     5:     @classmethod\n     6:     def toggle(cls):\n     7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input 2e1bfd3f4bad5bfb0838038d5855a2313482329c4738edd8abe3aa97f71d2e70> at line 7\n     4: class ChildCapybara(MotherCapybara):\n     5:     @classmethod\n     6:     def toggle(cls):\n     7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 7']\nE   AssertionError: Did not expect error incompatible_call on line 7\n      \n      Literal[<super: <class 'ChildCapybara'>, <ChildCapybara object>>] has no attribute 'toggle' (code: undefined_attribute)\n      In <test input 2e1bfd3f4bad5bfb0838038d5855a2313482329c4738edd8abe3aa97f71d2e70> at line 7\n         4: class ChildCapybara(MotherCapybara):\n         5:     @classmethod\n         6:     def toggle(cls):\n         7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input 2e1bfd3f4bad5bfb0838038d5855a2313482329c4738edd8abe3aa97f71d2e70> at line 7\n         4: class ChildCapybara(MotherCapybara):\n         5:     @classmethod\n         6:     def toggle(cls):\n         7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 7']","pyanalyze/test_implementation.py::TestSuperCall::test_mixin":"AssertionError: Did not expect error incompatible_call on line 9\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input bc70c13257c2ac73db5cc454c9842a613b963fec4ecc0a01a425a3dcef2425b4> at line 9\n     6: class Mixin(object):\n     7:     @classmethod\n     8:     def eat(cls):\n     9:         super(Mixin, cls).eat()\n                ^\n    10: \n    11: class Capybara(Mixin, Base):\n    12:     pass\n  \nassert not ['Did not expect error incompatible_call on line 9']\nE   AssertionError: Did not expect error incompatible_call on line 9\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input bc70c13257c2ac73db5cc454c9842a613b963fec4ecc0a01a425a3dcef2425b4> at line 9\n         6: class Mixin(object):\n         7:     @classmethod\n         8:     def eat(cls):\n         9:         super(Mixin, cls).eat()\n                    ^\n        10: \n        11: class Capybara(Mixin, Base):\n        12:     pass\n      \n    assert not ['Did not expect error incompatible_call on line 9']","pyanalyze/test_implementation.py::TestSequenceImpl::test":"[...]  \n  Bad value inference: expected tuple[int], got tuple[Any[error]] (code: inference_failure)\n  In <test input cc9350324719d475e13406b27c7225266276fcb222047b7b5a909f0b92df4629> at line 19\n    16:     assert_is_value(tuple({i: i for i in ints}), GenericValue(tuple, [one_two]))\n    17: \n    18:     # SequenceValue\n    19:     assert_is_value(\n            ^\n    20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n    21:     )\n    22: \n  \nassert not ['Did not expect error incompatible_call on line 20', 'Did not expect error inference_failure on line 19']\nE   AssertionError: Did not expect error incompatible_call on line 20\n      Did not expect error inference_failure on line 19\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input cc9350324719d475e13406b27c7225266276fcb222047b7b5a909f0b92df4629> at line 20\n        17: \n        18:     # SequenceValue\n        19:     assert_is_value(\n        20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n                           ^\n        21:     )\n        22: \n        23:     # fallback\n      \n      Bad value inference: expected tuple[int], got tuple[Any[error]] (code: inference_failure)\n      In <test input cc9350324719d475e13406b27c7225266276fcb222047b7b5a909f0b92df4629> at line 19\n        16:     assert_is_value(tuple({i: i for i in ints}), GenericValue(tuple, [one_two]))\n        17: \n        18:     # SequenceValue\n        19:     assert_is_value(\n                ^\n        20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n        21:     )\n        22: \n      \n    assert not ['Did not expect error incompatible_call on line 20', 'Did not expect error inference_failure on line 19']","pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable":"[...]162028cea6c227066> at line 2\n     1: def capybara(x):\n     2:     tuple(3)  # E: unsupported_operation\n                  ^\n     3:     tuple(int(x))  # E: unsupported_operation\n  \n  Cannot call overloaded function (code: incompatible_call)\n      In overload () -> int\n        Takes 0 positional arguments but 1 were given\n      In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n        Missing required argument 'base'\n  \n  In <test input 95d163ab86c5e978828bbbb82eede501d53e87ca7d05d90162028cea6c227066> at line 3\n     1: def capybara(x):\n     2:     tuple(3)  # E: unsupported_operation\n     3:     tuple(int(x))  # E: unsupported_operation\n                  ^\n  \nassert not ['Did not expect error incompatible_call on line 3', 'Expected unsupported_operation on line 3']\nE   AssertionError: Did not expect error incompatible_call on line 3\n      Expected unsupported_operation on line 3\n      \n      Literal[3] is not iterable (code: unsupported_operation)\n        Literal[3] has no attribute '__iter__'\n      \n      In <test input 95d163ab86c5e978828bbbb82eede501d53e87ca7d05d90162028cea6c227066> at line 2\n         1: def capybara(x):\n         2:     tuple(3)  # E: unsupported_operation\n                      ^\n         3:     tuple(int(x))  # E: unsupported_operation\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 95d163ab86c5e978828bbbb82eede501d53e87ca7d05d90162028cea6c227066> at line 3\n         1: def capybara(x):\n         2:     tuple(3)  # E: unsupported_operation\n         3:     tuple(int(x))  # E: unsupported_operation\n                      ^\n      \n    assert not ['Did not expect error incompatible_call on line 3', 'Expected unsupported_operation on line 3']","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend":"AssertionError: Did not expect error incompatible_call on line 10\n  \n  Takes 0 positional arguments but 1 were given (code: incompatible_call)\n  In <test input 4a71f96e8bafc2e88957db1aeb05198b2d570f359d04f7bbc1505b7dbc6d23f1> at line 10\n     7:     assert_is_value(\n     8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n     9:     )\n    10:     lst.extend({float(1.0)})\n                        ^\n    11:     assert_is_value(\n    12:         lst,\n    13:         make_simple_sequence(\n  \nassert not ['Did not expect error incompatible_call on line 10']\nE   AssertionError: Did not expect error incompatible_call on line 10\n      \n      Takes 0 positional arguments but 1 were given (code: incompatible_call)\n      In <test input 4a71f96e8bafc2e88957db1aeb05198b2d570f359d04f7bbc1505b7dbc6d23f1> at line 10\n         7:     assert_is_value(\n         8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n         9:     )\n        10:     lst.extend({float(1.0)})\n                            ^\n        11:     assert_is_value(\n        12:         lst,\n        13:         make_simple_sequence(\n      \n    assert not ['Did not expect error incompatible_call on line 10']","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd":"AssertionError: Did not expect error incompatible_call on line 10\n  \n  Takes 0 positional arguments but 1 were given (code: incompatible_call)\n  In <test input 5f2fa8e51739671dc1ce2ecf1be94f570d3d3d3832bb5ef6af4b1ae552963199> at line 10\n     7:     assert_is_value(\n     8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n     9:     )\n    10:     lst += {float(1.0)}\n                    ^\n    11:     assert_is_value(\n    12:         lst,\n    13:         make_simple_sequence(\n  \nassert not ['Did not expect error incompatible_call on line 10']\nE   AssertionError: Did not expect error incompatible_call on line 10\n      \n      Takes 0 positional arguments but 1 were given (code: incompatible_call)\n      In <test input 5f2fa8e51739671dc1ce2ecf1be94f570d3d3d3832bb5ef6af4b1ae552963199> at line 10\n         7:     assert_is_value(\n         8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n         9:     )\n        10:     lst += {float(1.0)}\n                        ^\n        11:     assert_is_value(\n        12:         lst,\n        13:         make_simple_sequence(\n      \n    assert not ['Did not expect error incompatible_call on line 10']","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index":"[...]ce_failure on line 4\n      Did not expect error inference_failure on line 6\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input b7cc618ae145ed52981f699c707f0cfdba1e8fa1ba82f38789acb61d802bf3b7> at line 2\n         1: def capybara(x):\n         2:     lst = [\"a\", \"b\", int(x)]\n                                 ^\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n      \n      Bad value inference: expected int, got Any[error] (code: inference_failure)\n      In <test input b7cc618ae145ed52981f699c707f0cfdba1e8fa1ba82f38789acb61d802bf3b7> at line 4\n         1: def capybara(x):\n         2:     lst = [\"a\", \"b\", int(x)]\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n                ^\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n         6:     assert_is_value(lst[5], KnownValue(\"a\") | KnownValue(\"b\") | TypedValue(int))\n      \n      Bad value inference: expected Union[int, Literal['a', 'b']], got Union[Any[error], Literal['a', 'b']] (code: inference_failure)\n      In <test input b7cc618ae145ed52981f699c707f0cfdba1e8fa1ba82f38789acb61d802bf3b7> at line 6\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n         6:     assert_is_value(lst[5], KnownValue(\"a\") | KnownValue(\"b\") | TypedValue(int))\n                ^\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 4', 'Did not expect error inference_failure on line 6']","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index":"[...] 2', 'Did not expect error inference_failure on line 4']\nE   AssertionError: Did not expect error incompatible_call on line 2\n      Did not expect error inference_failure on line 4\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 5edd768ebca5ac5ae5c32db967686f5a16c3564e6d22e837d4d7ae2997af5d32> at line 2\n         1: def capybara(x):\n         2:     tpl = (\"a\", \"b\", int(x))\n                                 ^\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n      \n      Bad value inference: expected int, got Any[error] (code: inference_failure)\n      In <test input 5edd768ebca5ac5ae5c32db967686f5a16c3564e6d22e837d4d7ae2997af5d32> at line 4\n         1: def capybara(x):\n         2:     tpl = (\"a\", \"b\", int(x))\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n                ^\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n         6:     assert_is_value(tpl[5], AnyValue(AnySource.error))  # E: incompatible_call\n      \n      Tuple index out of range: Literal[5] (code: incompatible_call)\n      In <test input 5edd768ebca5ac5ae5c32db967686f5a16c3564e6d22e837d4d7ae2997af5d32> at line 6\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n         6:     assert_is_value(tpl[5], AnyValue(AnySource.error))  # E: incompatible_call\n                                ^\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 4']","pyanalyze/test_implementation.py::TestDictSetItem::test_weak":"[...]ncompatible_call on line 2\n      Did not expect error inference_failure on line 3\n      Did not expect error inference_failure on line 10\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input da7e86acb1304690877cda21a42ddcd97bdc0542823c5248779617161fc5aff1> at line 2\n         1: def capybara(arg):\n         2:     dct = {int(k): 1 for k in arg}\n                       ^\n         3:     assert_is_value(\n         4:         dct,\n         5:         DictIncompleteValue(\n      \n      Bad value inference: expected <dict containing {**{int: Literal[1]}}>, got <dict containing {**{Any[error]: Literal[1]}}> (code: inference_failure)\n      In <test input da7e86acb1304690877cda21a42ddcd97bdc0542823c5248779617161fc5aff1> at line 3\n         1: def capybara(arg):\n         2:     dct = {int(k): 1 for k in arg}\n         3:     assert_is_value(\n                ^\n         4:         dct,\n         5:         DictIncompleteValue(\n         6:             dict, [KVPair(TypedValue(int), KnownValue(1), is_many=True)]\n      \n      Bad value inference: expected <dict containing {**{int: Literal[1]}, Literal['x']: Literal['y']}>, got <dict containing {**{Any[error]: Literal[1]}, Literal['x']: Literal['y']}> (code: inference_failure)\n      In <test input da7e86acb1304690877cda21a42ddcd97bdc0542823c5248779617161fc5aff1> at line 10\n         7:         ),\n         8:     )\n         9:     dct[\"x\"] = \"y\"\n        10:     assert_is_value(\n                ^\n        11:         dct,\n        12:         DictIncompleteValue(\n        13:             dict,\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 3', 'Did not expect error inference_failure on line 10']","pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction":"AssertionError: Did not expect error inference_failure on line 7\n  \n  Bad value inference: expected function, got object (code: inference_failure)\n  In <test input ce7a8b028044e47f718573a7d572611a7b0e7cf7f1b2aca1aa8651ae9386db8b> at line 7\n     4: def capybara(o: object) -> None:\n     5:     assert_is_value(o, TypedValue(object))\n     6:     if inspect.isfunction(o):\n     7:         assert_is_value(o, TypedValue(FunctionType))\n                ^\n  \nassert not ['Did not expect error inference_failure on line 7']\nE   AssertionError: Did not expect error inference_failure on line 7\n      \n      Bad value inference: expected function, got object (code: inference_failure)\n      In <test input ce7a8b028044e47f718573a7d572611a7b0e7cf7f1b2aca1aa8651ae9386db8b> at line 7\n         4: def capybara(o: object) -> None:\n         5:     assert_is_value(o, TypedValue(object))\n         6:     if inspect.isfunction(o):\n         7:         assert_is_value(o, TypedValue(FunctionType))\n                    ^\n      \n    assert not ['Did not expect error inference_failure on line 7']"}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-25","seq":25,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && git stash","path":null,"exit_code":0,"stdout_tail":"Saved working directory and index state WIP on (no branch): 486e7ee receipts snapshot\n","stderr_tail":"","stdout_sha256":"adebe1482f0a2535ac5bdeb1eafdacde86b1ffa29839f1291c951be36ecf0c22","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-25.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:01:35.643148Z","duration_s":0.020444,"timed_out":false,"image_before":"b4ce5723-012a-4581-aec9-af344615199d","image_after":"a7a1307c-5445-47eb-8c95-06375dd807ef","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-26","seq":26,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-cc7583ba78004a01818400e37d0c6a8a/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-cc7583ba78004a01818400e37d0c6a8a/receipts_pytest.py pyanalyze/test_implementation.py --no-header -rW --tb=no -p no:cacheprovider -W ignore::DeprecationWarning -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-26.xml","path":null,"exit_code":1,"stdout_tail":".py::TestSuperCall::test_super_no_args_wrong_args\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args_classmethod\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_comprehension\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_metaclass\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_mixin\nPASSED pyanalyze/test_implementation.py::TestSequenceImpl::test_union\nPASSED pyanalyze/test_implementation.py::TestFormat::test_basic\nPASSED pyanalyze/test_implementation.py::TestFormat::test_errors\nPASSED pyanalyze/test_implementation.py::TestFormat::test_union\nPASSED pyanalyze/test_implementation.py::TestTypeMethods::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestLen::test\nPASSED pyanalyze/test_implementation.py::TestLen::test_narrowing\nPASSED pyanalyze/test_implementation.py::TestLen::test_wrong_type\nPASSED pyanalyze/test_implementation.py::TestBool::test_return_value\nPASSED pyanalyze/test_implementation.py::TestBool::test_constraint\nPASSED pyanalyze/test_implementation.py::TestCast::test\nPASSED pyanalyze/test_implementation.py::TestCast::test_undefined_name\nPASSED pyanalyze/test_implementation.py::TestSubclasses::test\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_pos_only\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_wrong_type\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_set_add\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_add\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd_never\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_weak_value\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_starred_weak\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_wrong_type\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_union\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_get\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_setdefault\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop_union\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_update\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_copy_and_update\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_annotation\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_in_lambda\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_subclasses\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_unhashable\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_invalid_typeddict_key\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_incomplete_value\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_complex_incomplete\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_type_as_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_setitem_valid\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_non_literal_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_unrecognized_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_bad_value\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_incomplete_value\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_bad_key_type\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_bad_value_type\nPASSED pyanalyze/test_implementation.py::TestIssubclass::test\nPASSED pyanalyze/test_implementation.py::TestIssubclass::test_negative_narrowing\nPASSED pyanalyze/test_implementation.py::TestCallableGuards::test_callable\nPASSED pyanalyze/test_implementation.py::TestAssertType::test_assert_type\nFAILED pyanalyze/test_implementation.py::TestSequenceImpl::test - AssertionEr...\nFAILED pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable\nFAILED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend\nFAILED pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd\nFAILED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index\nFAILED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index\nFAILED pyanalyze/test_implementation.py::TestDictSetItem::test_weak - Asserti...\nFAILED pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction\nFAILED pyanalyze/test_implementation.py::TestAny::test_call - AssertionError:...\n=================== 9 failed, 70 passed, 2 warnings in 6.71s ===================\n","stderr_tail":"","stdout_sha256":"4bc01cea3135ad4c8ddc4d207dead1ad97f2d83d3ddadb459a5cd51f5d1ee532","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-26.log","tree_digest":"a39ab9f03ca53303f1dff35afb4f9fc18758746b8daa9b430b20f06919e6ea85","tree_download_s":2.9198065830860287,"started_at":"2026-10-03T19:01:38.416204Z","duration_s":6.162765,"timed_out":false,"image_before":"a7a1307c-5445-47eb-8c95-06375dd807ef","image_after":"e134db70-e06c-4ce9-a432-36b686a104e0","junit":{"passed":["pyanalyze/test_implementation.py::TestSuperCall::test_basic","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args_classmethod","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_comprehension","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function","pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass","pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call","pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call","pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base","pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod","pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute","pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute","pyanalyze/test_implementation.py::TestSuperCall::test_metaclass","pyanalyze/test_implementation.py::TestSuperCall::test_mixin","pyanalyze/test_implementation.py::TestSequenceImpl::test_union","pyanalyze/test_implementation.py::TestFormat::test_basic","pyanalyze/test_implementation.py::TestFormat::test_errors","pyanalyze/test_implementation.py::TestFormat::test_union","pyanalyze/test_implementation.py::TestTypeMethods::test","pyanalyze/test_implementation.py::TestEncodeDecode::test","pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type","pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type","pyanalyze/test_implementation.py::TestLen::test","pyanalyze/test_implementation.py::TestLen::test_narrowing","pyanalyze/test_implementation.py::TestLen::test_wrong_type","pyanalyze/test_implementation.py::TestBool::test_return_value","pyanalyze/test_implementation.py::TestBool::test_constraint","pyanalyze/test_implementation.py::TestCast::test","pyanalyze/test_implementation.py::TestCast::test_undefined_name","pyanalyze/test_implementation.py::TestSubclasses::test","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_pos_only","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_wrong_type","pyanalyze/test_implementation.py::TestGenericMutators::test_set_add","pyanalyze/test_implementation.py::TestGenericMutators::test_list_add","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd_never","pyanalyze/test_implementation.py::TestGenericMutators::test_weak_value","pyanalyze/test_implementation.py::TestGenericMutators::test_starred_weak","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_wrong_type","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_union","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_get","pyanalyze/test_implementation.py::TestGenericMutators::test_setdefault","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop_union","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_update","pyanalyze/test_implementation.py::TestGenericMutators::test_copy_and_update","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_annotation","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_in_lambda","pyanalyze/test_implementation.py::TestSequenceGetItem::test_subclasses","pyanalyze/test_implementation.py::TestDictGetItem::test_unhashable","pyanalyze/test_implementation.py::TestDictGetItem::test_invalid_typeddict_key","pyanalyze/test_implementation.py::TestDictGetItem::test_incomplete_value","pyanalyze/test_implementation.py::TestDictGetItem::test_complex_incomplete","pyanalyze/test_implementation.py::TestDictGetItem::test","pyanalyze/test_implementation.py::TestDictGetItem::test_type_as_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_setitem_valid","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_non_literal_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_unrecognized_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_bad_value","pyanalyze/test_implementation.py::TestDictSetItem::test_incomplete_value","pyanalyze/test_implementation.py::TestDictSetItem::test_bad_key_type","pyanalyze/test_implementation.py::TestDictSetItem::test_bad_value_type","pyanalyze/test_implementation.py::TestIssubclass::test","pyanalyze/test_implementation.py::TestIssubclass::test_negative_narrowing","pyanalyze/test_implementation.py::TestCallableGuards::test_callable","pyanalyze/test_implementation.py::TestAssertType::test_assert_type"],"failed":["pyanalyze/test_implementation.py::TestSequenceImpl::test","pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index","pyanalyze/test_implementation.py::TestDictSetItem::test_weak","pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction","pyanalyze/test_implementation.py::TestAny::test_call"],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{"pyanalyze/test_implementation.py::TestSequenceImpl::test":"[...]  \n  Bad value inference: expected tuple[int], got tuple[Any[error]] (code: inference_failure)\n  In <test input db77d04fabec7533dd9a3873592f285eabd0d5bb89eb6dae04181060e655fc2f> at line 19\n    16:     assert_is_value(tuple({i: i for i in ints}), GenericValue(tuple, [one_two]))\n    17: \n    18:     # SequenceValue\n    19:     assert_is_value(\n            ^\n    20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n    21:     )\n    22: \n  \nassert not ['Did not expect error incompatible_call on line 20', 'Did not expect error inference_failure on line 19']\nE   AssertionError: Did not expect error incompatible_call on line 20\n      Did not expect error inference_failure on line 19\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input db77d04fabec7533dd9a3873592f285eabd0d5bb89eb6dae04181060e655fc2f> at line 20\n        17: \n        18:     # SequenceValue\n        19:     assert_is_value(\n        20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n                           ^\n        21:     )\n        22: \n        23:     # fallback\n      \n      Bad value inference: expected tuple[int], got tuple[Any[error]] (code: inference_failure)\n      In <test input db77d04fabec7533dd9a3873592f285eabd0d5bb89eb6dae04181060e655fc2f> at line 19\n        16:     assert_is_value(tuple({i: i for i in ints}), GenericValue(tuple, [one_two]))\n        17: \n        18:     # SequenceValue\n        19:     assert_is_value(\n                ^\n        20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n        21:     )\n        22: \n      \n    assert not ['Did not expect error incompatible_call on line 20', 'Did not expect error inference_failure on line 19']","pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable":"[...]236aa2bf20410098e> at line 2\n     1: def capybara(x):\n     2:     tuple(3)  # E: unsupported_operation\n                  ^\n     3:     tuple(int(x))  # E: unsupported_operation\n  \n  Cannot call overloaded function (code: incompatible_call)\n      In overload () -> int\n        Takes 0 positional arguments but 1 were given\n      In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n        Missing required argument 'base'\n  \n  In <test input 67cb5336175d5b5362563abeda578aa3fc553238a2ec388236aa2bf20410098e> at line 3\n     1: def capybara(x):\n     2:     tuple(3)  # E: unsupported_operation\n     3:     tuple(int(x))  # E: unsupported_operation\n                  ^\n  \nassert not ['Did not expect error incompatible_call on line 3', 'Expected unsupported_operation on line 3']\nE   AssertionError: Did not expect error incompatible_call on line 3\n      Expected unsupported_operation on line 3\n      \n      Literal[3] is not iterable (code: unsupported_operation)\n        Literal[3] has no attribute '__iter__'\n      \n      In <test input 67cb5336175d5b5362563abeda578aa3fc553238a2ec388236aa2bf20410098e> at line 2\n         1: def capybara(x):\n         2:     tuple(3)  # E: unsupported_operation\n                      ^\n         3:     tuple(int(x))  # E: unsupported_operation\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 67cb5336175d5b5362563abeda578aa3fc553238a2ec388236aa2bf20410098e> at line 3\n         1: def capybara(x):\n         2:     tuple(3)  # E: unsupported_operation\n         3:     tuple(int(x))  # E: unsupported_operation\n                      ^\n      \n    assert not ['Did not expect error incompatible_call on line 3', 'Expected unsupported_operation on line 3']","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend":"AssertionError: Did not expect error incompatible_call on line 10\n  \n  Takes 0 positional arguments but 1 were given (code: incompatible_call)\n  In <test input aed6d35c1f6a7d16c44b07f7d51cd7c9a6057c698d25e1f9b0e58ee66c38790b> at line 10\n     7:     assert_is_value(\n     8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n     9:     )\n    10:     lst.extend({float(1.0)})\n                        ^\n    11:     assert_is_value(\n    12:         lst,\n    13:         make_simple_sequence(\n  \nassert not ['Did not expect error incompatible_call on line 10']\nE   AssertionError: Did not expect error incompatible_call on line 10\n      \n      Takes 0 positional arguments but 1 were given (code: incompatible_call)\n      In <test input aed6d35c1f6a7d16c44b07f7d51cd7c9a6057c698d25e1f9b0e58ee66c38790b> at line 10\n         7:     assert_is_value(\n         8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n         9:     )\n        10:     lst.extend({float(1.0)})\n                            ^\n        11:     assert_is_value(\n        12:         lst,\n        13:         make_simple_sequence(\n      \n    assert not ['Did not expect error incompatible_call on line 10']","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd":"AssertionError: Did not expect error incompatible_call on line 10\n  \n  Takes 0 positional arguments but 1 were given (code: incompatible_call)\n  In <test input e5f491c2b9e9428af012fb5d01cb5fcbafce3c08d099de72f449c68a0d968025> at line 10\n     7:     assert_is_value(\n     8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n     9:     )\n    10:     lst += {float(1.0)}\n                    ^\n    11:     assert_is_value(\n    12:         lst,\n    13:         make_simple_sequence(\n  \nassert not ['Did not expect error incompatible_call on line 10']\nE   AssertionError: Did not expect error incompatible_call on line 10\n      \n      Takes 0 positional arguments but 1 were given (code: incompatible_call)\n      In <test input e5f491c2b9e9428af012fb5d01cb5fcbafce3c08d099de72f449c68a0d968025> at line 10\n         7:     assert_is_value(\n         8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n         9:     )\n        10:     lst += {float(1.0)}\n                        ^\n        11:     assert_is_value(\n        12:         lst,\n        13:         make_simple_sequence(\n      \n    assert not ['Did not expect error incompatible_call on line 10']","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index":"[...]ce_failure on line 4\n      Did not expect error inference_failure on line 6\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 4074454e25800c08c9699c96671e9f5b3ea1299d1e8e32ab5602ad307ea96f15> at line 2\n         1: def capybara(x):\n         2:     lst = [\"a\", \"b\", int(x)]\n                                 ^\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n      \n      Bad value inference: expected int, got Any[error] (code: inference_failure)\n      In <test input 4074454e25800c08c9699c96671e9f5b3ea1299d1e8e32ab5602ad307ea96f15> at line 4\n         1: def capybara(x):\n         2:     lst = [\"a\", \"b\", int(x)]\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n                ^\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n         6:     assert_is_value(lst[5], KnownValue(\"a\") | KnownValue(\"b\") | TypedValue(int))\n      \n      Bad value inference: expected Union[int, Literal['a', 'b']], got Union[Any[error], Literal['a', 'b']] (code: inference_failure)\n      In <test input 4074454e25800c08c9699c96671e9f5b3ea1299d1e8e32ab5602ad307ea96f15> at line 6\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n         6:     assert_is_value(lst[5], KnownValue(\"a\") | KnownValue(\"b\") | TypedValue(int))\n                ^\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 4', 'Did not expect error inference_failure on line 6']","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index":"[...] 2', 'Did not expect error inference_failure on line 4']\nE   AssertionError: Did not expect error incompatible_call on line 2\n      Did not expect error inference_failure on line 4\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 14706b5e85bb76fdb2bea297af46f7fa9e46e8cea79f0b2fb3450ce7bf179435> at line 2\n         1: def capybara(x):\n         2:     tpl = (\"a\", \"b\", int(x))\n                                 ^\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n      \n      Bad value inference: expected int, got Any[error] (code: inference_failure)\n      In <test input 14706b5e85bb76fdb2bea297af46f7fa9e46e8cea79f0b2fb3450ce7bf179435> at line 4\n         1: def capybara(x):\n         2:     tpl = (\"a\", \"b\", int(x))\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n                ^\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n         6:     assert_is_value(tpl[5], AnyValue(AnySource.error))  # E: incompatible_call\n      \n      Tuple index out of range: Literal[5] (code: incompatible_call)\n      In <test input 14706b5e85bb76fdb2bea297af46f7fa9e46e8cea79f0b2fb3450ce7bf179435> at line 6\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n         6:     assert_is_value(tpl[5], AnyValue(AnySource.error))  # E: incompatible_call\n                                ^\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 4']","pyanalyze/test_implementation.py::TestDictSetItem::test_weak":"[...]ncompatible_call on line 2\n      Did not expect error inference_failure on line 3\n      Did not expect error inference_failure on line 10\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 1ae1f9e2b25e78af0b321cb3de5ffa4f49a26e6969dcebd77b87d8d375f8d73d> at line 2\n         1: def capybara(arg):\n         2:     dct = {int(k): 1 for k in arg}\n                       ^\n         3:     assert_is_value(\n         4:         dct,\n         5:         DictIncompleteValue(\n      \n      Bad value inference: expected <dict containing {**{int: Literal[1]}}>, got <dict containing {**{Any[error]: Literal[1]}}> (code: inference_failure)\n      In <test input 1ae1f9e2b25e78af0b321cb3de5ffa4f49a26e6969dcebd77b87d8d375f8d73d> at line 3\n         1: def capybara(arg):\n         2:     dct = {int(k): 1 for k in arg}\n         3:     assert_is_value(\n                ^\n         4:         dct,\n         5:         DictIncompleteValue(\n         6:             dict, [KVPair(TypedValue(int), KnownValue(1), is_many=True)]\n      \n      Bad value inference: expected <dict containing {**{int: Literal[1]}, Literal['x']: Literal['y']}>, got <dict containing {**{Any[error]: Literal[1]}, Literal['x']: Literal['y']}> (code: inference_failure)\n      In <test input 1ae1f9e2b25e78af0b321cb3de5ffa4f49a26e6969dcebd77b87d8d375f8d73d> at line 10\n         7:         ),\n         8:     )\n         9:     dct[\"x\"] = \"y\"\n        10:     assert_is_value(\n                ^\n        11:         dct,\n        12:         DictIncompleteValue(\n        13:             dict,\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 3', 'Did not expect error inference_failure on line 10']","pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction":"AssertionError: Did not expect error inference_failure on line 7\n  \n  Bad value inference: expected function, got object (code: inference_failure)\n  In <test input 7e00fd4f5e35efc0198b0b5f85e4fb9628b777d4b7b191b698692c77109b2c19> at line 7\n     4: def capybara(o: object) -> None:\n     5:     assert_is_value(o, TypedValue(object))\n     6:     if inspect.isfunction(o):\n     7:         assert_is_value(o, TypedValue(FunctionType))\n                ^\n  \nassert not ['Did not expect error inference_failure on line 7']\nE   AssertionError: Did not expect error inference_failure on line 7\n      \n      Bad value inference: expected function, got object (code: inference_failure)\n      In <test input 7e00fd4f5e35efc0198b0b5f85e4fb9628b777d4b7b191b698692c77109b2c19> at line 7\n         4: def capybara(o: object) -> None:\n         5:     assert_is_value(o, TypedValue(object))\n         6:     if inspect.isfunction(o):\n         7:         assert_is_value(o, TypedValue(FunctionType))\n                    ^\n      \n    assert not ['Did not expect error inference_failure on line 7']","pyanalyze/test_implementation.py::TestAny::test_call":"AssertionError: Expected incompatible_call on line 4\n  \nassert not ['Expected incompatible_call on line 4']\nE   AssertionError: Expected incompatible_call on line 4\n      \n    assert not ['Expected incompatible_call on line 4']"}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-27","seq":27,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && git stash pop","path":null,"exit_code":0,"stdout_tail":"Not currently on any branch.\nChanges not staged for commit:\n  (use \"git add <file>...\" to update what will be committed)\n  (use \"git restore <file>...\" to discard changes in working directory)\n\tmodified:   pyanalyze/name_check_visitor.py\n\nno changes added to commit (use \"git add\" and/or \"git commit -a\")\nDropped refs/stash@{0} (e7973b90ea02adc5872b05b68f692af4a8df98cd)\n","stderr_tail":"","stdout_sha256":"58bc20c61968f5c0a35643e85b511e0604fc57016d0421ff97a244971ffa5f3a","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-27.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:01:58.677561Z","duration_s":0.014921,"timed_out":false,"image_before":"e134db70-e06c-4ce9-a432-36b686a104e0","image_after":"0612191e-0d37-427b-9b67-0c7afe6c71dd","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-28","seq":28,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-9ec361a396f642caa85408e1190b0f59/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-9ec361a396f642caa85408e1190b0f59/receipts_pytest.py pyanalyze/test_implementation.py --no-header -rW --tb=no -p no:cacheprovider -W ignore::DeprecationWarning -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-28.xml","path":null,"exit_code":1,"stdout_tail":"ntation.py::TestSuperCall::test_super_no_args_wrong_args\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args_classmethod\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_comprehension\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute\nPASSED pyanalyze/test_implementation.py::TestSuperCall::test_metaclass\nPASSED pyanalyze/test_implementation.py::TestSequenceImpl::test_union\nPASSED pyanalyze/test_implementation.py::TestFormat::test_basic\nPASSED pyanalyze/test_implementation.py::TestFormat::test_errors\nPASSED pyanalyze/test_implementation.py::TestFormat::test_union\nPASSED pyanalyze/test_implementation.py::TestTypeMethods::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type\nPASSED pyanalyze/test_implementation.py::TestLen::test\nPASSED pyanalyze/test_implementation.py::TestLen::test_narrowing\nPASSED pyanalyze/test_implementation.py::TestLen::test_wrong_type\nPASSED pyanalyze/test_implementation.py::TestBool::test_return_value\nPASSED pyanalyze/test_implementation.py::TestBool::test_constraint\nPASSED pyanalyze/test_implementation.py::TestCast::test\nPASSED pyanalyze/test_implementation.py::TestCast::test_undefined_name\nPASSED pyanalyze/test_implementation.py::TestSubclasses::test\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_pos_only\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_wrong_type\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_set_add\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_add\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd_never\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_weak_value\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_starred_weak\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_wrong_type\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_union\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_get\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_setdefault\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop_union\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_dict_update\nPASSED pyanalyze/test_implementation.py::TestGenericMutators::test_copy_and_update\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_annotation\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_in_lambda\nPASSED pyanalyze/test_implementation.py::TestSequenceGetItem::test_subclasses\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_unhashable\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_invalid_typeddict_key\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_incomplete_value\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_complex_incomplete\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test\nPASSED pyanalyze/test_implementation.py::TestDictGetItem::test_type_as_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_setitem_valid\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_non_literal_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_unrecognized_key\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_bad_value\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_incomplete_value\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_bad_key_type\nPASSED pyanalyze/test_implementation.py::TestDictSetItem::test_bad_value_type\nPASSED pyanalyze/test_implementation.py::TestIssubclass::test\nPASSED pyanalyze/test_implementation.py::TestIssubclass::test_negative_narrowing\nPASSED pyanalyze/test_implementation.py::TestCallableGuards::test_callable\nPASSED pyanalyze/test_implementation.py::TestAssertType::test_assert_type\nPASSED pyanalyze/test_implementation.py::TestAny::test_call\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute\nFAILED pyanalyze/test_implementation.py::TestSuperCall::test_mixin - Assertio...\nFAILED pyanalyze/test_implementation.py::TestSequenceImpl::test - AssertionEr...\nFAILED pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable\nFAILED pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend\nFAILED pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd\nFAILED pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index\nFAILED pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index\nFAILED pyanalyze/test_implementation.py::TestDictSetItem::test_weak - Asserti...\nFAILED pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction\n================== 12 failed, 67 passed, 2 warnings in 6.70s ===================\n","stderr_tail":"","stdout_sha256":"577736e8e4aac7695c27429eeede1b3c3dc797a80a6a07996b932cac7e619a65","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-28.log","tree_digest":"fc3987cf8197e3480a738e186201ef7e02683d839e5c90e1eac33d888e63a3f6","tree_download_s":2.597022708039731,"started_at":"2026-10-03T19:02:03.157162Z","duration_s":6.204586,"timed_out":false,"image_before":"0612191e-0d37-427b-9b67-0c7afe6c71dd","image_after":"f5c85230-a603-49c2-ac5f-637a0e382227","junit":{"passed":["pyanalyze/test_implementation.py::TestSuperCall::test_basic","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_wrong_args_classmethod","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_comprehension","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_gen_exp","pyanalyze/test_implementation.py::TestSuperCall::test_super_no_args_in_nested_function","pyanalyze/test_implementation.py::TestSuperCall::test_super_init_subclass","pyanalyze/test_implementation.py::TestSuperCall::test_good_super_call","pyanalyze/test_implementation.py::TestSuperCall::test_first_arg_is_base","pyanalyze/test_implementation.py::TestSuperCall::test_super_attribute","pyanalyze/test_implementation.py::TestSuperCall::test_metaclass","pyanalyze/test_implementation.py::TestSequenceImpl::test_union","pyanalyze/test_implementation.py::TestFormat::test_basic","pyanalyze/test_implementation.py::TestFormat::test_errors","pyanalyze/test_implementation.py::TestFormat::test_union","pyanalyze/test_implementation.py::TestTypeMethods::test","pyanalyze/test_implementation.py::TestEncodeDecode::test","pyanalyze/test_implementation.py::TestEncodeDecode::test_encode_wrong_type","pyanalyze/test_implementation.py::TestEncodeDecode::test_decode_wrong_type","pyanalyze/test_implementation.py::TestLen::test","pyanalyze/test_implementation.py::TestLen::test_narrowing","pyanalyze/test_implementation.py::TestLen::test_wrong_type","pyanalyze/test_implementation.py::TestBool::test_return_value","pyanalyze/test_implementation.py::TestBool::test_constraint","pyanalyze/test_implementation.py::TestCast::test","pyanalyze/test_implementation.py::TestCast::test_undefined_name","pyanalyze/test_implementation.py::TestSubclasses::test","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_pos_only","pyanalyze/test_implementation.py::TestGenericMutators::test_list_append_wrong_type","pyanalyze/test_implementation.py::TestGenericMutators::test_set_add","pyanalyze/test_implementation.py::TestGenericMutators::test_list_add","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd_never","pyanalyze/test_implementation.py::TestGenericMutators::test_weak_value","pyanalyze/test_implementation.py::TestGenericMutators::test_starred_weak","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_wrong_type","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend_union","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_get","pyanalyze/test_implementation.py::TestGenericMutators::test_setdefault","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_pop_union","pyanalyze/test_implementation.py::TestGenericMutators::test_dict_update","pyanalyze/test_implementation.py::TestGenericMutators::test_copy_and_update","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_annotation","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_in_lambda","pyanalyze/test_implementation.py::TestSequenceGetItem::test_subclasses","pyanalyze/test_implementation.py::TestDictGetItem::test_unhashable","pyanalyze/test_implementation.py::TestDictGetItem::test_invalid_typeddict_key","pyanalyze/test_implementation.py::TestDictGetItem::test_incomplete_value","pyanalyze/test_implementation.py::TestDictGetItem::test_complex_incomplete","pyanalyze/test_implementation.py::TestDictGetItem::test","pyanalyze/test_implementation.py::TestDictGetItem::test_type_as_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_setitem_valid","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_non_literal_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_unrecognized_key","pyanalyze/test_implementation.py::TestDictSetItem::test_typeddict_bad_value","pyanalyze/test_implementation.py::TestDictSetItem::test_incomplete_value","pyanalyze/test_implementation.py::TestDictSetItem::test_bad_key_type","pyanalyze/test_implementation.py::TestDictSetItem::test_bad_value_type","pyanalyze/test_implementation.py::TestIssubclass::test","pyanalyze/test_implementation.py::TestIssubclass::test_negative_narrowing","pyanalyze/test_implementation.py::TestCallableGuards::test_callable","pyanalyze/test_implementation.py::TestAssertType::test_assert_type","pyanalyze/test_implementation.py::TestAny::test_call"],"failed":["pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call","pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod","pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute","pyanalyze/test_implementation.py::TestSuperCall::test_mixin","pyanalyze/test_implementation.py::TestSequenceImpl::test","pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index","pyanalyze/test_implementation.py::TestDictSetItem::test_weak","pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction"],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{"pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call":"AssertionError: Did not expect error incompatible_call on line 6\n  \n  Incompatible arguments to super (code: bad_super_call)\n  In <test input 027eb10b2a4849e4d9d3b2361892c8fb8ff90f64d71f35b5459482fce7712f6e> at line 6\n     3: @wrap\n     4: class Tainotherium2(PropertyObject):\n     5:     def non_async_method(self):\n     6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input 027eb10b2a4849e4d9d3b2361892c8fb8ff90f64d71f35b5459482fce7712f6e> at line 6\n     3: @wrap\n     4: class Tainotherium2(PropertyObject):\n     5:     def non_async_method(self):\n     6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 6']\nE   AssertionError: Did not expect error incompatible_call on line 6\n      \n      Incompatible arguments to super (code: bad_super_call)\n      In <test input 027eb10b2a4849e4d9d3b2361892c8fb8ff90f64d71f35b5459482fce7712f6e> at line 6\n         3: @wrap\n         4: class Tainotherium2(PropertyObject):\n         5:     def non_async_method(self):\n         6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input 027eb10b2a4849e4d9d3b2361892c8fb8ff90f64d71f35b5459482fce7712f6e> at line 6\n         3: @wrap\n         4: class Tainotherium2(PropertyObject):\n         5:     def non_async_method(self):\n         6:         super(Tainotherium2, self).non_async_method()  # E: bad_super_call\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 6']","pyanalyze/test_implementation.py::TestSuperCall::test_bad_super_call_classmethod":"AssertionError: Did not expect error incompatible_call on line 7\n  \n  Incompatible arguments to super (code: bad_super_call)\n  In <test input be4c8f5334222779f44a113cd6ed022d9e1ea9a771783e4f6fb3b61eedccdd57> at line 7\n     4: class Tainotherium3(PropertyObject):\n     5:     @classmethod\n     6:     def no_args_classmethod(cls):\n     7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input be4c8f5334222779f44a113cd6ed022d9e1ea9a771783e4f6fb3b61eedccdd57> at line 7\n     4: class Tainotherium3(PropertyObject):\n     5:     @classmethod\n     6:     def no_args_classmethod(cls):\n     7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 7']\nE   AssertionError: Did not expect error incompatible_call on line 7\n      \n      Incompatible arguments to super (code: bad_super_call)\n      In <test input be4c8f5334222779f44a113cd6ed022d9e1ea9a771783e4f6fb3b61eedccdd57> at line 7\n         4: class Tainotherium3(PropertyObject):\n         5:     @classmethod\n         6:     def no_args_classmethod(cls):\n         7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input be4c8f5334222779f44a113cd6ed022d9e1ea9a771783e4f6fb3b61eedccdd57> at line 7\n         4: class Tainotherium3(PropertyObject):\n         5:     @classmethod\n         6:     def no_args_classmethod(cls):\n         7:         super(Tainotherium3, cls).no_args_classmethod()  # E: bad_super_call\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 7']","pyanalyze/test_implementation.py::TestSuperCall::test_undefined_super_attribute":"AssertionError: Did not expect error incompatible_call on line 7\n  \n  Literal[<super: <class 'ChildCapybara'>, <ChildCapybara object>>] has no attribute 'toggle' (code: undefined_attribute)\n  In <test input f4b13d23bb638dc2d16c0e6527515103e250c963107ff7fcd1059863aea44241> at line 7\n     4: class ChildCapybara(MotherCapybara):\n     5:     @classmethod\n     6:     def toggle(cls):\n     7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                ^\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input f4b13d23bb638dc2d16c0e6527515103e250c963107ff7fcd1059863aea44241> at line 7\n     4: class ChildCapybara(MotherCapybara):\n     5:     @classmethod\n     6:     def toggle(cls):\n     7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                ^\n  \nassert not ['Did not expect error incompatible_call on line 7']\nE   AssertionError: Did not expect error incompatible_call on line 7\n      \n      Literal[<super: <class 'ChildCapybara'>, <ChildCapybara object>>] has no attribute 'toggle' (code: undefined_attribute)\n      In <test input f4b13d23bb638dc2d16c0e6527515103e250c963107ff7fcd1059863aea44241> at line 7\n         4: class ChildCapybara(MotherCapybara):\n         5:     @classmethod\n         6:     def toggle(cls):\n         7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                    ^\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input f4b13d23bb638dc2d16c0e6527515103e250c963107ff7fcd1059863aea44241> at line 7\n         4: class ChildCapybara(MotherCapybara):\n         5:     @classmethod\n         6:     def toggle(cls):\n         7:         super(ChildCapybara, cls).toggle()  # E: undefined_attribute\n                    ^\n      \n    assert not ['Did not expect error incompatible_call on line 7']","pyanalyze/test_implementation.py::TestSuperCall::test_mixin":"AssertionError: Did not expect error incompatible_call on line 9\n  \n  Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n  In <test input 804de5e63cd55442d8adc5612bc3d1925024a0e9687c8e82d428091ace8b246c> at line 9\n     6: class Mixin(object):\n     7:     @classmethod\n     8:     def eat(cls):\n     9:         super(Mixin, cls).eat()\n                ^\n    10: \n    11: class Capybara(Mixin, Base):\n    12:     pass\n  \nassert not ['Did not expect error incompatible_call on line 9']\nE   AssertionError: Did not expect error incompatible_call on line 9\n      \n      Cannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\n      In <test input 804de5e63cd55442d8adc5612bc3d1925024a0e9687c8e82d428091ace8b246c> at line 9\n         6: class Mixin(object):\n         7:     @classmethod\n         8:     def eat(cls):\n         9:         super(Mixin, cls).eat()\n                    ^\n        10: \n        11: class Capybara(Mixin, Base):\n        12:     pass\n      \n    assert not ['Did not expect error incompatible_call on line 9']","pyanalyze/test_implementation.py::TestSequenceImpl::test":"[...]  \n  Bad value inference: expected tuple[int], got tuple[Any[error]] (code: inference_failure)\n  In <test input 090e25cf2f0b5e5aade34042cd2cf142eb7ffcd9c6445fc9bdf74ac0e75a813a> at line 19\n    16:     assert_is_value(tuple({i: i for i in ints}), GenericValue(tuple, [one_two]))\n    17: \n    18:     # SequenceValue\n    19:     assert_is_value(\n            ^\n    20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n    21:     )\n    22: \n  \nassert not ['Did not expect error incompatible_call on line 20', 'Did not expect error inference_failure on line 19']\nE   AssertionError: Did not expect error incompatible_call on line 20\n      Did not expect error inference_failure on line 19\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 090e25cf2f0b5e5aade34042cd2cf142eb7ffcd9c6445fc9bdf74ac0e75a813a> at line 20\n        17: \n        18:     # SequenceValue\n        19:     assert_is_value(\n        20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n                           ^\n        21:     )\n        22: \n        23:     # fallback\n      \n      Bad value inference: expected tuple[int], got tuple[Any[error]] (code: inference_failure)\n      In <test input 090e25cf2f0b5e5aade34042cd2cf142eb7ffcd9c6445fc9bdf74ac0e75a813a> at line 19\n        16:     assert_is_value(tuple({i: i for i in ints}), GenericValue(tuple, [one_two]))\n        17: \n        18:     # SequenceValue\n        19:     assert_is_value(\n                ^\n        20:         tuple([int(x)]), make_simple_sequence(tuple, [TypedValue(int)])\n        21:     )\n        22: \n      \n    assert not ['Did not expect error incompatible_call on line 20', 'Did not expect error inference_failure on line 19']","pyanalyze/test_implementation.py::TestSequenceImpl::test_not_iterable":"[...]e96a6f2069b4c9f28> at line 2\n     1: def capybara(x):\n     2:     tuple(3)  # E: unsupported_operation\n                  ^\n     3:     tuple(int(x))  # E: unsupported_operation\n  \n  Cannot call overloaded function (code: incompatible_call)\n      In overload () -> int\n        Takes 0 positional arguments but 1 were given\n      In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n        Missing required argument 'base'\n  \n  In <test input d6c95f3bdb8f8b7c286e67f9815c96d0d82e5c605fe0ac1e96a6f2069b4c9f28> at line 3\n     1: def capybara(x):\n     2:     tuple(3)  # E: unsupported_operation\n     3:     tuple(int(x))  # E: unsupported_operation\n                  ^\n  \nassert not ['Did not expect error incompatible_call on line 3', 'Expected unsupported_operation on line 3']\nE   AssertionError: Did not expect error incompatible_call on line 3\n      Expected unsupported_operation on line 3\n      \n      Literal[3] is not iterable (code: unsupported_operation)\n        Literal[3] has no attribute '__iter__'\n      \n      In <test input d6c95f3bdb8f8b7c286e67f9815c96d0d82e5c605fe0ac1e96a6f2069b4c9f28> at line 2\n         1: def capybara(x):\n         2:     tuple(3)  # E: unsupported_operation\n                      ^\n         3:     tuple(int(x))  # E: unsupported_operation\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input d6c95f3bdb8f8b7c286e67f9815c96d0d82e5c605fe0ac1e96a6f2069b4c9f28> at line 3\n         1: def capybara(x):\n         2:     tuple(3)  # E: unsupported_operation\n         3:     tuple(int(x))  # E: unsupported_operation\n                      ^\n      \n    assert not ['Did not expect error incompatible_call on line 3', 'Expected unsupported_operation on line 3']","pyanalyze/test_implementation.py::TestGenericMutators::test_list_extend":"AssertionError: Did not expect error incompatible_call on line 10\n  \n  Takes 0 positional arguments but 1 were given (code: incompatible_call)\n  In <test input 035117833e6e2b4eae2fff3355f8f5ba5951ae024a111fbe4df8cd50eba351f9> at line 10\n     7:     assert_is_value(\n     8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n     9:     )\n    10:     lst.extend({float(1.0)})\n                        ^\n    11:     assert_is_value(\n    12:         lst,\n    13:         make_simple_sequence(\n  \nassert not ['Did not expect error incompatible_call on line 10']\nE   AssertionError: Did not expect error incompatible_call on line 10\n      \n      Takes 0 positional arguments but 1 were given (code: incompatible_call)\n      In <test input 035117833e6e2b4eae2fff3355f8f5ba5951ae024a111fbe4df8cd50eba351f9> at line 10\n         7:     assert_is_value(\n         8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n         9:     )\n        10:     lst.extend({float(1.0)})\n                            ^\n        11:     assert_is_value(\n        12:         lst,\n        13:         make_simple_sequence(\n      \n    assert not ['Did not expect error incompatible_call on line 10']","pyanalyze/test_implementation.py::TestGenericMutators::test_list_iadd":"AssertionError: Did not expect error incompatible_call on line 10\n  \n  Takes 0 positional arguments but 1 were given (code: incompatible_call)\n  In <test input 5ab6d4eee231dbfec74e7384d7d9748778f13148cac141eb6c662f1fce419c1d> at line 10\n     7:     assert_is_value(\n     8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n     9:     )\n    10:     lst += {float(1.0)}\n                    ^\n    11:     assert_is_value(\n    12:         lst,\n    13:         make_simple_sequence(\n  \nassert not ['Did not expect error incompatible_call on line 10']\nE   AssertionError: Did not expect error incompatible_call on line 10\n      \n      Takes 0 positional arguments but 1 were given (code: incompatible_call)\n      In <test input 5ab6d4eee231dbfec74e7384d7d9748778f13148cac141eb6c662f1fce419c1d> at line 10\n         7:     assert_is_value(\n         8:         lst, make_simple_sequence(list, [TypedValue(int), TypedValue(str)])\n         9:     )\n        10:     lst += {float(1.0)}\n                        ^\n        11:     assert_is_value(\n        12:         lst,\n        13:         make_simple_sequence(\n      \n    assert not ['Did not expect error incompatible_call on line 10']","pyanalyze/test_implementation.py::TestSequenceGetItem::test_list_index":"[...]ce_failure on line 4\n      Did not expect error inference_failure on line 6\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 1a47b5339b10013ece70d10f93e1a94db16e0c5040926845c78fbc7e02d24deb> at line 2\n         1: def capybara(x):\n         2:     lst = [\"a\", \"b\", int(x)]\n                                 ^\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n      \n      Bad value inference: expected int, got Any[error] (code: inference_failure)\n      In <test input 1a47b5339b10013ece70d10f93e1a94db16e0c5040926845c78fbc7e02d24deb> at line 4\n         1: def capybara(x):\n         2:     lst = [\"a\", \"b\", int(x)]\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n                ^\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n         6:     assert_is_value(lst[5], KnownValue(\"a\") | KnownValue(\"b\") | TypedValue(int))\n      \n      Bad value inference: expected Union[int, Literal['a', 'b']], got Union[Any[error], Literal['a', 'b']] (code: inference_failure)\n      In <test input 1a47b5339b10013ece70d10f93e1a94db16e0c5040926845c78fbc7e02d24deb> at line 6\n         3:     assert_is_value(lst[0], KnownValue(\"a\"))\n         4:     assert_is_value(lst[2], TypedValue(int))\n         5:     assert_is_value(lst[-2], KnownValue(\"b\"))\n         6:     assert_is_value(lst[5], KnownValue(\"a\") | KnownValue(\"b\") | TypedValue(int))\n                ^\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 4', 'Did not expect error inference_failure on line 6']","pyanalyze/test_implementation.py::TestSequenceGetItem::test_tuple_index":"[...] 2', 'Did not expect error inference_failure on line 4']\nE   AssertionError: Did not expect error incompatible_call on line 2\n      Did not expect error inference_failure on line 4\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 440c4e5863c30d63a08c6b4a3f8c55134b7c49d5c0378b844525854b28c6723a> at line 2\n         1: def capybara(x):\n         2:     tpl = (\"a\", \"b\", int(x))\n                                 ^\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n      \n      Bad value inference: expected int, got Any[error] (code: inference_failure)\n      In <test input 440c4e5863c30d63a08c6b4a3f8c55134b7c49d5c0378b844525854b28c6723a> at line 4\n         1: def capybara(x):\n         2:     tpl = (\"a\", \"b\", int(x))\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n                ^\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n         6:     assert_is_value(tpl[5], AnyValue(AnySource.error))  # E: incompatible_call\n      \n      Tuple index out of range: Literal[5] (code: incompatible_call)\n      In <test input 440c4e5863c30d63a08c6b4a3f8c55134b7c49d5c0378b844525854b28c6723a> at line 6\n         3:     assert_is_value(tpl[0], KnownValue(\"a\"))\n         4:     assert_is_value(tpl[2], TypedValue(int))\n         5:     assert_is_value(tpl[-2], KnownValue(\"b\"))\n         6:     assert_is_value(tpl[5], AnyValue(AnySource.error))  # E: incompatible_call\n                                ^\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 4']","pyanalyze/test_implementation.py::TestDictSetItem::test_weak":"[...]ncompatible_call on line 2\n      Did not expect error inference_failure on line 3\n      Did not expect error inference_failure on line 10\n      \n      Cannot call overloaded function (code: incompatible_call)\n          In overload () -> int\n            Takes 0 positional arguments but 1 were given\n          In overload (x: Union[str, bytes, bytearray], /, base: typing.SupportsIndex) -> int\n            Missing required argument 'base'\n      \n      In <test input 67b419022a1da8c62b9c216902bac786cee09b57f628f68b6e9002233e93cfc8> at line 2\n         1: def capybara(arg):\n         2:     dct = {int(k): 1 for k in arg}\n                       ^\n         3:     assert_is_value(\n         4:         dct,\n         5:         DictIncompleteValue(\n      \n      Bad value inference: expected <dict containing {**{int: Literal[1]}}>, got <dict containing {**{Any[error]: Literal[1]}}> (code: inference_failure)\n      In <test input 67b419022a1da8c62b9c216902bac786cee09b57f628f68b6e9002233e93cfc8> at line 3\n         1: def capybara(arg):\n         2:     dct = {int(k): 1 for k in arg}\n         3:     assert_is_value(\n                ^\n         4:         dct,\n         5:         DictIncompleteValue(\n         6:             dict, [KVPair(TypedValue(int), KnownValue(1), is_many=True)]\n      \n      Bad value inference: expected <dict containing {**{int: Literal[1]}, Literal['x']: Literal['y']}>, got <dict containing {**{Any[error]: Literal[1]}, Literal['x']: Literal['y']}> (code: inference_failure)\n      In <test input 67b419022a1da8c62b9c216902bac786cee09b57f628f68b6e9002233e93cfc8> at line 10\n         7:         ),\n         8:     )\n         9:     dct[\"x\"] = \"y\"\n        10:     assert_is_value(\n                ^\n        11:         dct,\n        12:         DictIncompleteValue(\n        13:             dict,\n      \n    assert not ['Did not expect error incompatible_call on line 2', 'Did not expect error inference_failure on line 3', 'Did not expect error inference_failure on line 10']","pyanalyze/test_implementation.py::TestCallableGuards::test_isfunction":"AssertionError: Did not expect error inference_failure on line 7\n  \n  Bad value inference: expected function, got object (code: inference_failure)\n  In <test input 1027827147483c3a61f19d63fef1c987767532502ce6439eed81ebe675009e96> at line 7\n     4: def capybara(o: object) -> None:\n     5:     assert_is_value(o, TypedValue(object))\n     6:     if inspect.isfunction(o):\n     7:         assert_is_value(o, TypedValue(FunctionType))\n                ^\n  \nassert not ['Did not expect error inference_failure on line 7']\nE   AssertionError: Did not expect error inference_failure on line 7\n      \n      Bad value inference: expected function, got object (code: inference_failure)\n      In <test input 1027827147483c3a61f19d63fef1c987767532502ce6439eed81ebe675009e96> at line 7\n         4: def capybara(o: object) -> None:\n         5:     assert_is_value(o, TypedValue(object))\n         6:     if inspect.isfunction(o):\n         7:         assert_is_value(o, TypedValue(FunctionType))\n                    ^\n      \n    assert not ['Did not expect error inference_failure on line 7']"}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-29","seq":29,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-44be9568869e4ff68615e14f4c8ccef0/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-44be9568869e4ff68615e14f4c8ccef0/receipts_pytest.py pyanalyze/test_implementation.py::TestAny::test_call -v -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-29.xml","path":null,"exit_code":0,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-7.4.4, pluggy-1.6.0 -- /usr/local/bin/python\nrootdir: /pyanalyze\ncollecting ... collected 1 item\n\npyanalyze/test_implementation.py::TestAny::test_call PASSED              [100%]\n\n=============================== warnings summary ===============================\npyanalyze/test_name_check_visitor.py:343\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:343: SyntaxWarning: 'list' object is not callable; perhaps you missed a comma?\n    print([1, 2]())  # E: not_callable\n\npyanalyze/test_name_check_visitor.py:1300\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:1300: SyntaxWarning: list indices must be integers or slices, not float; perhaps you missed a comma?\n    return [1, 2][3.0]  # E: unsupported_operation\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n==================================== PASSES ====================================\n______________________________ TestAny.test_call _______________________________\n----------------------------- Captured stderr call -----------------------------\n\nCannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\nIn <test input 31cb86b5bce6c30dd1643e248c4a3baf3f5c78ae2f3e11fd518d2c669f0cf5a5> at line 4\n   1: from typing import Any\n   2: \n   3: def capybara():\n   4:     Any(42)  # E: incompatible_call\n          ^\n<test input 31cb86b5bce6c30dd1643e248c4a3baf3f5c78ae2f3e11fd518d2c669f0cf5a5> took 0.01 s\n----------- generated xml file: /opt/receipts/reports/agent1-29.xml ------------\n=========================== short test summary info ============================\nPASSED pyanalyze/test_implementation.py::TestAny::test_call\n======================== 1 passed, 2 warnings in 0.52s =========================\n","stderr_tail":"","stdout_sha256":"b7b2396e2cd5500896208f3a33fbf853cd870969fb80240a60adac028b06e13d","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-29.log","tree_digest":"fc3987cf8197e3480a738e186201ef7e02683d839e5c90e1eac33d888e63a3f6","tree_download_s":2.6098492089658976,"started_at":"2026-10-03T19:02:24.822489Z","duration_s":0.8283159999999999,"timed_out":false,"image_before":"f5c85230-a603-49c2-ac5f-637a0e382227","image_after":"f52edc90-d8d0-46af-bf20-7967b8596e9e","junit":{"passed":["pyanalyze/test_implementation.py::TestAny::test_call"],"failed":[],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-30","seq":30,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-9adc78ba22e94511a1f6604ad6d9dd02/bin/busybox sh -c 'mkdir -p /tmp && cp /opt/receipts-9adc78ba22e94511a1f6604ad6d9dd02/incoming/51385c653baa31fee0423a19390fda9325dc872196a9f96114aba14e749ee312 /tmp/test_any_usage.py'","path":"/tmp/test_any_usage.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"51385c653baa31fee0423a19390fda9325dc872196a9f96114aba14e749ee312","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-30.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:02:34.610473Z","duration_s":0.004697,"timed_out":false,"image_before":"f52edc90-d8d0-46af-bf20-7967b8596e9e","image_after":"9b21db9e-4062-4da2-9112-0023846a6ce4","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-31","seq":31,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && python -m pyanalyze /tmp/test_any_usage.py","path":null,"exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-31.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:02:38.097748Z","duration_s":0.32618199999999997,"timed_out":false,"image_before":"9b21db9e-4062-4da2-9112-0023846a6ce4","image_after":"bab52899-1d10-4c55-b084-49711cca038b","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-32","seq":32,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-62410526df8b4aa8b97794877ebdc203/bin/busybox sh -c 'mkdir -p /tmp && cp /opt/receipts-62410526df8b4aa8b97794877ebdc203/incoming/b01c88057d0c3446ebfabf2fdf02d066e75f58f47ebf35a8c723fd028fd84a82 /tmp/test_any_call.py'","path":"/tmp/test_any_call.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"b01c88057d0c3446ebfabf2fdf02d066e75f58f47ebf35a8c723fd028fd84a82","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-32.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:02:43.265650Z","duration_s":0.00471,"timed_out":false,"image_before":"bab52899-1d10-4c55-b084-49711cca038b","image_after":"7db99c5e-9994-4926-b03b-626adf12c2fa","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-33","seq":33,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && python -m pyanalyze /tmp/test_any_call.py","path":null,"exit_code":1,"stdout_tail":"","stderr_tail":"\nFailed to import /tmp/test_any_call.py due to TypeError('Cannot instantiate typing.Any') (code: import_failed)\nIn /tmp/test_any_call.py at line 1\n   1: from typing import Any\n      ^\n   2: \n   3: # This should trigger the error\n   4: x = Any(42)\nTraceback (most recent call last):\n  File \"/pyanalyze/pyanalyze/name_check_visitor.py\", line 1278, in _load_module\n    return importer.load_module_from_file(\n  File \"/pyanalyze/pyanalyze/importer.py\", line 102, in load_module_from_file\n    return import_module(str(abspath), abspath), False\n  File \"/pyanalyze/pyanalyze/importer.py\", line 110, in import_module\n    spec.loader.exec_module(module)\n  File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n  File \"/tmp/test_any_call.py\", line 4, in <module>\n    x = Any(42)\n  File \"/usr/local/lib/python3.10/typing.py\", line 387, in __call__\n    raise TypeError(f\"Cannot instantiate {self!r}\")\nTypeError: Cannot instantiate typing.Any\n","stdout_sha256":"a3664e694cedf74ae456bab95ad76a236f15a8508d2cd63a73e12b32e192a264","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-33.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:02:46.150956Z","duration_s":0.268972,"timed_out":false,"image_before":"7db99c5e-9994-4926-b03b-626adf12c2fa","image_after":"33172962-cc7d-4b6c-8737-406df31750f1","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-34","seq":34,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-6ba997c197ea4e77a69f83b02d7952bf/bin/busybox sh -c 'mkdir -p /tmp && cp /opt/receipts-6ba997c197ea4e77a69f83b02d7952bf/incoming/fa665300c6a01437a56a0489324f59a65f2a810bc2e463505c473782e6f8dc6d /tmp/test_any_call2.py'","path":"/tmp/test_any_call2.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"fa665300c6a01437a56a0489324f59a65f2a810bc2e463505c473782e6f8dc6d","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-34.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:02:50.933871Z","duration_s":0.004654,"timed_out":false,"image_before":"33172962-cc7d-4b6c-8737-406df31750f1","image_after":"9fe0045e-71a9-40a2-a202-79bd1f3b8540","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-35","seq":35,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && python -m pyanalyze /tmp/test_any_call2.py","path":null,"exit_code":1,"stdout_tail":"","stderr_tail":"\nCannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\nIn /tmp/test_any_call2.py at line 5\n   2: \n   3: def test():\n   4:     # This should trigger the error\n   5:     return Any(42)\n                 ^\n","stdout_sha256":"94f17af5131dc17d93b1440c8bc5051782cbb4c9966583a108fc6de7adea2c7a","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-35.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:02:54.332225Z","duration_s":0.27899399999999996,"timed_out":false,"image_before":"9fe0045e-71a9-40a2-a202-79bd1f3b8540","image_after":"5b50e14a-eaa3-4e92-8c0e-eb458314ae46","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-36","seq":36,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-7442ca9e96e0425cbba00fbde6a204ae/bin/busybox sh -c 'mkdir -p /tmp && cp /opt/receipts-7442ca9e96e0425cbba00fbde6a204ae/incoming/405263d915e597898ed066397c178e6656e5dd91f354813a5184aceb85841961 /tmp/test_any_attr_call.py'","path":"/tmp/test_any_attr_call.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"405263d915e597898ed066397c178e6656e5dd91f354813a5184aceb85841961","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-36.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:02:58.729249Z","duration_s":0.004602,"timed_out":false,"image_before":"5b50e14a-eaa3-4e92-8c0e-eb458314ae46","image_after":"a1443fdb-0d23-41a6-990e-bdaafe52792f","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-37","seq":37,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && python -m pyanalyze /tmp/test_any_attr_call.py","path":null,"exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-37.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:03:01.876090Z","duration_s":0.27580899999999997,"timed_out":false,"image_before":"a1443fdb-0d23-41a6-990e-bdaafe52792f","image_after":"775c1dfd-b26a-402f-9a0b-3571b04f4b4a","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-38","seq":38,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-24385e6eb05242d1a3d5558610e0b380/bin/busybox sh -c 'mkdir -p /pyanalyze/pyanalyze && cp /opt/receipts-24385e6eb05242d1a3d5558610e0b380/incoming/f1993b4e64f7d052e5542d48c2f94c827edb9e7c1c3b6ae1fd1e4db933e81e30 /pyanalyze/pyanalyze/name_check_visitor.py'","path":"pyanalyze/name_check_visitor.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"f1993b4e64f7d052e5542d48c2f94c827edb9e7c1c3b6ae1fd1e4db933e81e30","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-38.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:03:09.903766Z","duration_s":0.004767,"timed_out":false,"image_before":"775c1dfd-b26a-402f-9a0b-3571b04f4b4a","image_after":"d08616de-19d6-45fb-a6ca-27105e8e74eb","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-39","seq":39,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && python -m pyanalyze /tmp/test_any_attr_call.py","path":null,"exit_code":1,"stdout_tail":"","stderr_tail":"\nCannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\nIn /tmp/test_any_attr_call.py at line 5\n   2: \n   3: def test():\n   4:     # This should also trigger the error\n   5:     return typing.Any(42)\n                 ^\n","stdout_sha256":"9a8a8b58dfb83f01bdc491a714c4a9ca819891c886f39e2019022e05a7b63ad9","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-39.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:03:19.573169Z","duration_s":0.280943,"timed_out":false,"image_before":"d08616de-19d6-45fb-a6ca-27105e8e74eb","image_after":"b483300b-cd4f-4442-9a1d-168ab4ac50bd","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-40","seq":40,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && python -m pyanalyze /tmp/test_any_call2.py","path":null,"exit_code":1,"stdout_tail":"","stderr_tail":"\nCannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\nIn /tmp/test_any_call2.py at line 5\n   2: \n   3: def test():\n   4:     # This should trigger the error\n   5:     return Any(42)\n                 ^\n","stdout_sha256":"94f17af5131dc17d93b1440c8bc5051782cbb4c9966583a108fc6de7adea2c7a","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-40.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:03:24.460269Z","duration_s":0.276768,"timed_out":false,"image_before":"b483300b-cd4f-4442-9a1d-168ab4ac50bd","image_after":"4820d51a-d68f-4bfc-a25a-dddbf657ea96","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-41","seq":41,"branch_id":"agent1","kind":"command","cmd":"cd /pyanalyze && python -m pyanalyze /tmp/test_any_usage.py","path":null,"exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-41.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T19:03:29.145255Z","duration_s":0.291229,"timed_out":false,"image_before":"4820d51a-d68f-4bfc-a25a-dddbf657ea96","image_after":"d13e444b-2295-47f8-ac74-6ec91dfa4f3b","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-42","seq":42,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-2afe41529e3843cd9dfccb1ee7f690ef/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-2afe41529e3843cd9dfccb1ee7f690ef/receipts_pytest.py pyanalyze/test_implementation.py::TestAny::test_call -v -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-42.xml","path":null,"exit_code":0,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-7.4.4, pluggy-1.6.0 -- /usr/local/bin/python\nrootdir: /pyanalyze\ncollecting ... collected 1 item\n\npyanalyze/test_implementation.py::TestAny::test_call PASSED              [100%]\n\n=============================== warnings summary ===============================\npyanalyze/test_name_check_visitor.py:343\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:343: SyntaxWarning: 'list' object is not callable; perhaps you missed a comma?\n    print([1, 2]())  # E: not_callable\n\npyanalyze/test_name_check_visitor.py:1300\n  /pyanalyze/pyanalyze/test_name_check_visitor.py:1300: SyntaxWarning: list indices must be integers or slices, not float; perhaps you missed a comma?\n    return [1, 2][3.0]  # E: unsupported_operation\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n==================================== PASSES ====================================\n______________________________ TestAny.test_call _______________________________\n----------------------------- Captured stderr call -----------------------------\n\nCannot call Any() directly; use cast() instead or remove the call (code: incompatible_call)\nIn <test input 44dcfaa9ab8c0f30fc0a6ea9000c690b99c5724e944ff0f7cdd33c9e78ec30f3> at line 4\n   1: from typing import Any\n   2: \n   3: def capybara():\n   4:     Any(42)  # E: incompatible_call\n          ^\n<test input 44dcfaa9ab8c0f30fc0a6ea9000c690b99c5724e944ff0f7cdd33c9e78ec30f3> took 0.01 s\n----------- generated xml file: /opt/receipts/reports/agent1-42.xml ------------\n=========================== short test summary info ============================\nPASSED pyanalyze/test_implementation.py::TestAny::test_call\n======================== 1 passed, 2 warnings in 0.52s =========================\n","stderr_tail":"","stdout_sha256":"ea5cd5276ab95c75a78f8f5434787cf98def0b7d11b1d04be2002bf0ee1b062d","log_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/logs/agent1/agent1-42.log","tree_digest":"fc2d1855406414fc339a17dd2574b870fdf09aeaba7b8c81241e117005be53c8","tree_download_s":15.332751208916306,"started_at":"2026-10-03T19:03:33.151193Z","duration_s":0.828404,"timed_out":false,"image_before":"d13e444b-2295-47f8-ac74-6ec91dfa4f3b","image_after":"312857b3-4e2e-4be7-bdca-80b28b7dd0e8","junit":{"passed":["pyanalyze/test_implementation.py::TestAny::test_call"],"failed":[],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-43","seq":43,"branch_id":"agent1","kind":"diff","cmd":"compute patch in executor staging agent1-6147c5bc419a46ebb9083db2979d1a0d: /opt/homebrew/Cellar/git/2.53.0/bin/git -c core.hooksPath=/dev/null -c core.attributesFile=/dev/null -c diff.external= -c core.quotePath=false add -A && /opt/homebrew/Cellar/git/2.53.0/bin/git -c core.hooksPath=/dev/null -c core.attributesFile=/dev/null -c diff.external= -c core.quotePath=false diff --cached --binary --no-ext-diff --no-textconv --no-renames 486e7eec4dd2511497fe4a7693b537468d8ba1fd","path":null,"exit_code":0,"stdout_tail":"diff --git a/pyanalyze/name_check_visitor.py b/pyanalyze/name_check_visitor.py\nindex 3692076..6160315 100644\n--- a/pyanalyze/name_check_visitor.py\n+++ b/pyanalyze/name_check_visitor.py\n@@ -5199,6 +5199,27 @@ class NameCheckVisitor(node_visitor.ReplacingNodeVisitor):\n             self.log(logging.INFO, \"Ignoring callee\", callee_wrapped)\n             return AnyValue(AnySource.error)\n \n+        # Special case: disallow calling Any() directly\n+        is_any_call = False\n+        if isinstance(callee_wrapped, AnyValue):\n+            is_any_call = True\n+        elif isinstance(node, ast.Call):\n+            # Check for direct name: Any(...)\n+            if isinstance(node.func, ast.Name) and node.func.id == \"Any\":\n+                is_any_call = True\n+            # Check for attribute access: typing.Any(...) \n+            elif isinstance(node.func, ast.Attribute) and node.func.attr == \"Any\":\n+                is_any_call = True\n+        \n+        if is_any_call:\n+            if node is not None:\n+                self._show_error_if_checking(\n+                    node,\n+                    \"Cannot call Any() directly; use cast() instead or remove the call\",\n+                    error_code=ErrorCode.incompatible_call,\n+                )\n+            return AnyValue(AnySource.error)\n+\n         extended_argspec = self.signature_from_value(callee_wrapped, node)\n         if extended_argspec is ANY_SIGNATURE:\n             # don't bother calling it\n","stderr_tail":"","stdout_sha256":"723ac2482937a4f646d7241cbb5e8e8ced8b39512d768f65a8e61202f6e0251d","log_path":null,"tree_digest":"fc2d1855406414fc339a17dd2574b870fdf09aeaba7b8c81241e117005be53c8","tree_download_s":3.2832325419876724,"started_at":"2026-10-03T19:04:08.912120Z","duration_s":0.03432604088447988,"timed_out":false,"image_before":"312857b3-4e2e-4be7-bdca-80b28b7dd0e8","image_after":"312857b3-4e2e-4be7-bdca-80b28b7dd0e8","junit":null,"diff":{"files":[{"path":"pyanalyze/name_check_visitor.py","added":21,"deleted":0,"category":"source","status":"modified"}],"patch_sha256":"723ac2482937a4f646d7241cbb5e8e8ced8b39512d768f65a8e61202f6e0251d","patch_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/artifacts/agent1/agent1-43.patch"},"patch_sha256":"723ac2482937a4f646d7241cbb5e8e8ced8b39512d768f65a8e61202f6e0251d","dropped_paths":[],"snapshot_sha":"486e7eec4dd2511497fe4a7693b537468d8ba1fd"}
{"receipt_id":"agent1-44","seq":44,"branch_id":"agent1","kind":"diff","cmd":"compute patch in executor staging agent1-252205fe2eb145c4a5ff30bc75b0b73a: /opt/homebrew/Cellar/git/2.53.0/bin/git -c core.hooksPath=/dev/null -c core.attributesFile=/dev/null -c diff.external= -c core.quotePath=false add -A && /opt/homebrew/Cellar/git/2.53.0/bin/git -c core.hooksPath=/dev/null -c core.attributesFile=/dev/null -c diff.external= -c core.quotePath=false diff --cached --binary --no-ext-diff --no-textconv --no-renames 486e7eec4dd2511497fe4a7693b537468d8ba1fd","path":null,"exit_code":0,"stdout_tail":"diff --git a/pyanalyze/name_check_visitor.py b/pyanalyze/name_check_visitor.py\nindex 3692076..6160315 100644\n--- a/pyanalyze/name_check_visitor.py\n+++ b/pyanalyze/name_check_visitor.py\n@@ -5199,6 +5199,27 @@ class NameCheckVisitor(node_visitor.ReplacingNodeVisitor):\n             self.log(logging.INFO, \"Ignoring callee\", callee_wrapped)\n             return AnyValue(AnySource.error)\n \n+        # Special case: disallow calling Any() directly\n+        is_any_call = False\n+        if isinstance(callee_wrapped, AnyValue):\n+            is_any_call = True\n+        elif isinstance(node, ast.Call):\n+            # Check for direct name: Any(...)\n+            if isinstance(node.func, ast.Name) and node.func.id == \"Any\":\n+                is_any_call = True\n+            # Check for attribute access: typing.Any(...) \n+            elif isinstance(node.func, ast.Attribute) and node.func.attr == \"Any\":\n+                is_any_call = True\n+        \n+        if is_any_call:\n+            if node is not None:\n+                self._show_error_if_checking(\n+                    node,\n+                    \"Cannot call Any() directly; use cast() instead or remove the call\",\n+                    error_code=ErrorCode.incompatible_call,\n+                )\n+            return AnyValue(AnySource.error)\n+\n         extended_argspec = self.signature_from_value(callee_wrapped, node)\n         if extended_argspec is ANY_SIGNATURE:\n             # don't bother calling it\n","stderr_tail":"","stdout_sha256":"723ac2482937a4f646d7241cbb5e8e8ced8b39512d768f65a8e61202f6e0251d","log_path":null,"tree_digest":"fc2d1855406414fc339a17dd2574b870fdf09aeaba7b8c81241e117005be53c8","tree_download_s":2.4408659590408206,"started_at":"2026-10-03T19:04:37.622002Z","duration_s":0.03603754099458456,"timed_out":false,"image_before":"312857b3-4e2e-4be7-bdca-80b28b7dd0e8","image_after":"312857b3-4e2e-4be7-bdca-80b28b7dd0e8","junit":null,"diff":{"files":[{"path":"pyanalyze/name_check_visitor.py","added":21,"deleted":0,"category":"source","status":"modified"}],"patch_sha256":"723ac2482937a4f646d7241cbb5e8e8ced8b39512d768f65a8e61202f6e0251d","patch_path":"~/dev/nebius-hackathon/pilot/v2-P/quora__pyanalyze-688/runs/pilot-quora__pyanalyze-688-5c0f83454c/artifacts/agent1/agent1-44.patch"},"patch_sha256":"723ac2482937a4f646d7241cbb5e8e8ced8b39512d768f65a8e61202f6e0251d","dropped_paths":[],"snapshot_sha":"486e7eec4dd2511497fe4a7693b537468d8ba1fd"}
