ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: TypyBench: Evaluating LLM Type Inference for Untyped Python Repositories

Original paper: Honghua Dong; Jiacheng Yang; Xun Deng; Yuhe Jiang; Gennady Pekhimenko; Fan Long; Xujie Si. TypyBench: Evaluating LLM Type Inference for Untyped Python Repositories. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/dong25l.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: PDF pp.5,7; Figs.1,9-10 and p.14 prompts; released repo_similarity.py:get_repo_similarity, helpers.py:get_type_dict_from_repo, evaluation.py:evaluate, Dockerfile entry point.

PDF p.4; released type_similarity.py:get_type_attributes,_get_type_info_similarity,get_type_similarity

scripts/evaluation.py:evaluate cache load and cache save blocks, CSV overall_score_wo_missing_exact output

Question: What does the recorded analysis establish about “TypyBench: Evaluating LLM Type Inference for Untyped Python Repositories”?
Bounded finding:
Core TypeCheck interpretation does not distinguish stub declaration consistency from compatibility with unchanged implementation. Two bounded released-code defects affect inherited attribute similarity and cache-reloaded exact-match scalar. Supplementary aggregate arithmetic agrees with printed main results.

Recorded check:
Existing findings, counterevidence and bounded classifications; no scientific reassessment performed during import.
Complete public transcription of the retained report, with internal workflow identifiers and host paths omitted.

Case-wide limitations:
- Stub-only checker counts omit original implementation obligations — Counterevidence: Stubs retain useful declaration/import/inheritance checks. Missing-rate is also reported. Neither addresses the complete-signature counterexample. Historical prediction directory contents/experiment commit are not supplied, so historical rankings are not declared reversed.
- Local symbol names do not equal supported inherited operations — Counterevidence: A declaration-only similarity is mathematically coherent but differs from the paper's stated supported-operation semantics. Paper's experiment environment was Mypy1.11.1; no exact-environment empirical rerun claimed.
- Cached exact-match-without-missing loads the TypeSim key — Counterevidence: Fresh computation/saved exact field is correct. Exact-match depth arrays are loaded separately. Historical usage of faulty cached scalar is unknown.
- Limitations: Historical experiment commit and prediction folders not verified
- Limitations: No author code, dataset, model APIs or empirical benchmark rerun
- Limitations: Independent synthetic mypy tests used1.14.1/Python3.13.5 versus paper1.11.1/Python3.12
- Limitations: Separate OpenReview attachment unavailable (403 acquisition)
- Limitations: Source plots checked through extracted context and numerical tables; parent inspects rendered key pages
- Limitations: Completed by parent; see provenance execution_facts.compile and visual_qa.
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.

Original source excerpts (verbatim):
We then use the Jaccard index to measure functional similarity, where two types are similar if they share most of the same methods and operations.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 4
Source PDF SHA-256: cedd43736ab0bfe6fc28e917e93aab07e1f8aec4353c01f8a0ef7d6aa9c868bc

Review status: Independent review pending
Case: icml2025-0197-typybench-evaluating-llm-type-inference-for-untyped-python-reposit
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0197-typybench-evaluating-llm-type-inference-for-untyped-python-reposit.html
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0197-typybench-evaluating-llm-type-inference-for-untyped-python-reposit/records/icml2025-0197-typybench-evaluating-llm-type-inference-for-untyped-python-reposit.r1.json
Canonical record SHA-256: 8dd416ef88cd70afe40888b9f481e1af97152200e21f6b3be66bbb2829763136
The page follows the latest revision; the versioned record identifies this snapshot.