強化 PChome rescore 漏掃與錯配防線
All checks were successful
CD Pipeline / deploy (push) Successful in 1m4s

This commit is contained in:
OoO
2026-05-25 16:05:08 +08:00
parent dab782cc6d
commit bd33f7ff60
7 changed files with 140 additions and 2 deletions

View File

@@ -59,7 +59,14 @@ def main(argv: list[str] | None = None) -> int:
parser.add_argument("--input", help="JSONL file path, or '-' for stdin. If omitted, query DATABASE_PATH.")
parser.add_argument("--source", default="pchome")
parser.add_argument("--status", action="append", dest="statuses", help="Attempt status to include; repeatable.")
parser.add_argument("--reason-filter", default="strong_exact_spec_match")
parser.add_argument(
"--reason-filter",
default=None,
help=(
"Only include rows whose diagnostic_codes contain this text. "
"Default is unfiltered so newer focused matcher reasons are not missed."
),
)
parser.add_argument("--limit", type=int, default=100)
parser.add_argument("--sample-limit", type=int, default=20)
parser.add_argument("--min-score", type=float, default=MIN_MATCH_SCORE)