Exempt answers to ordinary work and pay questions from the side-gig rule (#128) #46
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/jev_antispam_bot!46
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/128-work-question-exemption"
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?
Closes agentboard #128 (follow-up from #126 / PR #44).
Problem.
answersRequestrecognized a replied-to question as on-topic forside_gig_offeronly throughGIG || SEEKER. An ordinary question ("Кто работал в Ленте на выкладке?") was off topic, so a member's honest answer with a rate and a DM offer matched and was deleted above the 0.30 floor.Fix. A replied-to or quoted member request now counts as on topic when it also contains a word about a job or its pay (
WORK_TOPIC):Something that works, paying for things, or a schedule change stays off topic: "Магазин работает сегодня?", "У кого работает интернет?", "Can I pay by card?", "Does the elevator work?", "Когда смена расписания?". This only adds exemptions; the request still has to be another member's text with a question mark or request phrase. Pay words are listed whole, so "платье" and "платформа" stay off topic.
Tests.
corpusRepliedAnswersinsrc/fixtures/promo-corpus.tspins both ticket examples: each matches standalone and is none as a reply to its question. Existing corpus lists are unchanged and the pinned-corpus test still passes.bun run typecheckclean;bun test636 pass, 0 fail.9-day replay. I diffed the
promoPatternmatch set over the 72,511-row production capture betweene494d6c(main) and this head: 74 matches on both, no differences. Incidents 619 and 1030 still match.Accepted leaks (non-blocking, documented). Some close calls still count as work questions: "Где работает банкомат?", "Где оплата за газ?", "How much did you pay for the car?". In the capture, 49 of 20,630 replies to members get the exemption, against 5 at base, and no matched ad replies to a member: all 27 matched ads that carry a preview are comments on channel posts.
Not done (minor suggestions). I left these out on purpose:
RECRUITS("подработ…") overridesOWN_JOB. They would also add misses for own-story ads.