refactor(classifier): single-pass hard-drop trigger; cleaner drop reason rendering
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ final class ClassifierTest extends Cf7stgTestCase
|
||||
self::assertGreaterThanOrEqual(3, $r['score']);
|
||||
}
|
||||
|
||||
public function test_seo_spam_with_url_is_red(): void
|
||||
public function test_seo_spam_with_url_yields_drop(): void
|
||||
{
|
||||
// score = SEO(-2) + URL(-3) + latin_only(-1) = -6, which is ≤ drop threshold(-5)
|
||||
// → label promoted from spam to drop (score-based drop, no hard-rule since email is valid)
|
||||
|
||||
Reference in New Issue
Block a user