docs(tradein): clarify n_analogs vs analogs[] top-10 cap (#698) #737
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#737
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "docs/698-analogs-cap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
n_analogsis the FULL count of found comps;analogsis capped to top-10 (estimator.py:2026/2028). A consumer readinglen(analogs)under-counts. Make the cap explicit in bothAggregatedEstimatefield comments, each referencing the other.Change
Comments only —
n_analogsandanalogsinschemas/trade_in.py. Per the issue's chosen interpretation (doc-tier, p3): no new fields (analogs_shown/analogs_totaldeliberately not added — would be API-breaking), no[:10]cap change, no frontend touch.DoD
n_analogscomment contains «ПОЛНОЕ» +len(analogs).analogscomment containsn_analogs+top-10.ruff check app/schemas/trade_in.pyclean.AggregatedEstimate.model_fieldsunchanged (diff is comments-only).Refs #698
✅ APPROVE
Docs-only #698. Дифф чисто комментарии — два cross-reference комментария на
n_analogs/analogs, точно описывают top-10 cap (estimator.py:2026/2028).model_fieldsне меняется, нет field/signature правок. Корректно, нет риска, нет self-extending триггера, нет secrets. DoD выполнен (ПОЛНОЕ + len(analogs); n_analogs + top-10).