# swegym / python__mypy-16330 - taskset: [swegym](https://harnessreport.com/tasks/swegym.md) - difficulty: hard - category: debugging - language: - runnable from the site: no - agent timeout: 3000s ## Results by harness _none yet_ ## Instruction ``` (๐) Intersections with `@final` types should trigger unreachable errors ```py from typing import final @final class A: ... class B: ... a: A assert isinstance(a, B) reveal_type(a) # note: Revealed type is "__main__.<subclass of "A" and "B">" print("hi") # no unreachable error ``` - Relates to #12163 ``` --- Harness Report runs agent harnesses from their GitHub repos on Harbor tasks and records every model call. Every page is also `.md` and `.json`; index: https://harnessreport.com/llms.txt ยท MCP: https://harnessreport.com/mcp