# Changelog

## Score

- CAI 64 → 62 (-2.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 59 → 55 (-4.1)
- Architecture 95 → 95 (+0.2)
- Maturity 66 → 66 (-0.0)
- Readiness 73 → 73 (-0.5)
- Security 61 → 64 (+3.2)
- Event Sourcing 100 → 100 (+0.0)
- Performance 94 → 73 (-21.4)

## Resolved (270)

- AnswersSolver::atomic_narrow_for_facet (cognitive 20) (pyrefly/lib/alt/narrow.rs)
- AnswersSolver::atomic_narrow_for_facet (cyclomatic 18) (pyrefly/lib/alt/narrow.rs)
- AnswersSolver::calculate_and_record_answer (cognitive 16) (pyrefly/lib/alt/answers_solver.rs)
- AnswersSolver::check_sqlalchemy_update_values_call (cognitive 17) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::expr_infer_without_shape_comment (cognitive 18) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::infer_shaped_array_index (cognitive 50) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::infer_shaped_array_index (cyclomatic 32) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::inject_module_attrs (cognitive 25) (pyrefly/lib/alt/callable.rs)
- AnswersSolver::paramspec_from_call (cognitive 18) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::parse_registered_shaped_array_type (cognitive 49) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::parse_registered_shaped_array_type (cyclomatic 27) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::parse_type_shape_dsl_argument (cognitive 28) (pyrefly/lib/alt/type_level_dsl.rs)
- AnswersSolver::parse_type_shape_dsl_argument (cyclomatic 17) (pyrefly/lib/alt/type_level_dsl.rs)
- AnswersSolver::typevar_from_call (cognitive 34) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::typevar_from_call (cyclomatic 24) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::typevartuple_from_call (cognitive 19) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::validate_type_var_default (cognitive 33) (pyrefly/lib/alt/solve.rs)
- AnswersSolver::validate_type_var_default (cyclomatic 25) (pyrefly/lib/alt/solve.rs)
- BindingsBuilder::extract_shaped_array_metadata (cognitive 43) (pyrefly/lib/binding/shape_type.rs)
- BindingsBuilder::extract_shaped_array_metadata (cyclomatic 18) (pyrefly/lib/binding/shape_type.rs)
- …and 250 more

## New (501)

- AnswersSolver::analyze_class_field_value (cyclomatic 20) (pyrefly/lib/alt/class/class_field.rs)
- AnswersSolver::apply_literal (cognitive 24) (pyrefly/lib/alt/specials.rs)
- AnswersSolver::augassign_infer (cyclomatic 16) (pyrefly/lib/alt/operators.rs)
- AnswersSolver::binary_operator_order (cognitive 31) (pyrefly/lib/alt/operators.rs)
- AnswersSolver::binary_operator_order (cyclomatic 17) (pyrefly/lib/alt/operators.rs)
- AnswersSolver::call_infer_inner (cognitive 18) (pyrefly/lib/alt/call.rs)
- AnswersSolver::call_intersection (cognitive 32) (pyrefly/lib/alt/call.rs)
- AnswersSolver::call_intersection (cyclomatic 20) (pyrefly/lib/alt/call.rs)
- AnswersSolver::check_for_deprecated_call (cognitive 18) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::check_for_deprecated_call (cyclomatic 18) (pyrefly/lib/alt/expr.rs)
- AnswersSolver::check_pydantic_model_validate_input (cognitive 46) (pyrefly/lib/alt/class/pydantic.rs)
- AnswersSolver::check_pydantic_model_validate_input (cyclomatic 26) (pyrefly/lib/alt/class/pydantic.rs)
- AnswersSolver::check_sqlalchemy_keyword_call (cognitive 17) (pyrefly/lib/alt/sqlalchemy.rs)
- AnswersSolver::collect_pydantic_constraint_params (cognitive 16) (pyrefly/lib/alt/class/pydantic.rs)
- AnswersSolver::completions (cognitive 48) (pyrefly/lib/alt/attr.rs)
- AnswersSolver::completions (cyclomatic 16) (pyrefly/lib/alt/attr.rs)
- AnswersSolver::completions_inner1 (cyclomatic 19) (pyrefly/lib/alt/attr.rs)
- AnswersSolver::constructor_to_callable (cyclomatic 17) (pyrefly/lib/alt/call.rs)
- AnswersSolver::dataclass_field_keywords (cognitive 19) (pyrefly/lib/alt/class/dataclass.rs)
- AnswersSolver::declared_bool_value (cognitive 45) (pyrefly/lib/alt/solve.rs)
- …and 481 more

## Changes since last survey

- 300 commits — 290 feature/other, 10 fixes

## By area

- pyrefly/lib — 133 commits
- tensor-shapes/pyrefly-torch-stubs — 94 commits
- (root) — 16 commits
- crates/pyrefly_config — 11 commits
- tensor-shapes/jax-pyrefly-stubs — 10 commits
- conformance/third_party — 8 commits
- crates/pyrefly_util — 6 commits
- .github/workflows — 4 commits
- tensor-shapes/pyrefly-numpy-stubs — 4 commits
- tensor-shapes/pyrefly-einops-stubs — 3 commits
- crates/pyrefly_types — 2 commits
- .agents/skills — 1 commit
- crates/pyrefly_build — 1 commit
- crates/pyrefly_python — 1 commit
- pyrefly/benches — 1 commit
- schemas/pyrefly.json — 1 commit
- scripts/benchmark — 1 commit
- website/docs — 1 commit
- website/src — 1 commit
- website/yarn.lock — 1 commit

## Notable commits

- fix: Fix cascading errors when narrowing missing attributes (#5482)
- fix: Fix false-positive extra argument error for unknown-length *args with 0-param callables (#5555)
- fix: Fix slots class variable conflict (issue #5641) (#5642)
- fix: `--report-glean` fix: Name methods on Literal and LiteralString receivers by their class (#5605)
- fix: fix Completion returns no items inside a function body when the typed text is a keyword (as, in, is, ...) #5529 (#5617)
- fix: fix False negative: Pyrefly does not emit an unpacking error in for k, v in dict #3352 (#3353)
- fix: fix Pyrefly should narrow subsequent match cases after None case #3213 (#5585)
- fix: fix dunder all definition #4344 (#5586)
- fix: fix: report unreachable match case after a full class pattern (#5577)
- fix: jax-pyrefly-stubs: support DuckTypedArray in *_like and fix logsumexp/truncated_normal stubs (#5633)
- change: Accept Tensor.clone memory-format options
- change: Accept Torch `torch.empty` options and list sizes
- change: Accept `SupportsIndex` tensor indices, matching Torch
- change: Accept `Tensor.item` on any tensor
- change: Accept any input for nested Pydantic models with from_attributes
- change: Accept any input for nested Pydantic models with input-replacing model validators
- change: Accept integer lists in the interpolate size fallback
- change: Accept list `dim` in `Tensor.mean` and `torch.mean`
- change: Accept list `dim` in `Tensor.sum` and `torch.sum`
- change: Accept mixed-layout arrays in `torch.from_numpy`
- …and 280 more

## Architecture

- Unchanged — 0 containers · 5 contexts · 0 edges
