fix(forecasting): deal_count confidence note carries «за N мес» window (#1637) #1684
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#1684
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/confidence-deal-count-window-1637"
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?
Проблема (#1637, P3)
confidence_engine.py_factor_from_countдляdeal_countне получал suffix → нота теряла окно «за N мес».Решение
compute_report_confidenceпринимаетdeal_count_months: int | None = None; при наличии формируетsuffix="за {N} мес". Default None — backward-compatible.Verify
ruffclean;pytest(confidence) → 136 passed (+2 теста).Follow-up (не в PR)
report_assembler._build_confidenceможет передаватьdeal_count_monthsдля live-отчётов — однострочник в другом файле, отдельным PR при желании.Closes #1637