diff --git a/backend/app/models/tag_allowlist.py b/backend/app/models/tag_allowlist.py index 75bd0f2..3bbbc7a 100644 --- a/backend/app/models/tag_allowlist.py +++ b/backend/app/models/tag_allowlist.py @@ -22,7 +22,11 @@ class TagAllowlist(Base): tag_id: Mapped[int] = mapped_column( ForeignKey("tag.id", ondelete="CASCADE"), primary_key=True ) - min_confidence: Mapped[float] = mapped_column(Float, nullable=False, default=0.95) + # Default auto-apply threshold for a newly-accepted tag. 0.90 (lowered from + # 0.95 on operator evidence 2026-06-07: 0.95 was too strict and skipped + # confident-enough applications). Per-tag value is still tunable in the + # allowlist table; existing rows keep whatever they were stored with. + min_confidence: Mapped[float] = mapped_column(Float, nullable=False, default=0.90) added_at: Mapped[datetime] = mapped_column( DateTime(timezone=True), nullable=False, server_default=func.now() )