Type file fields as their stored name in `values()` and `values_list()` #3876
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.43) × (1 − Review Confidence (0.92)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 180 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.92 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.311
Real PR Conversation Timeline
4 items
should this be in .yml test file?
I prefer everything in python files so we track possible plugin code progress on other typecheckers.
I would just like for it to be easier to understand when ignores are expected or false positives. Currently it's not ideal.
Basically no ignores or all 4 ignores are usually correct behavior, anything in between is probably a bug on at least one checker. But this is not super visible currently. Probably something we would want easier if we find a better solution for #3343
then - lgtm
sobolevn
UnknownPlatypus
I have made things!
FileFieldusedFieldFileas its get type, but that's only what attribute access gives (seeFileDescriptor.__get__),values(),values_list()and aggregates return the stored name.str(str | Nonewithnull=True, same__init__overloads as the other fields) and__get__returnsFieldFile/ImageFieldFiledirectly.values()instead of__get__, so I could drop the file field special case in thenull=Truewidening.Followup to #3763
AI Policy