fix(routing): resolve golines, gosmopolitan and misspell lint failures
- classifier.go: s/honour/honor/ (American English per misspell) - router.go: break SelectModel signature across lines (golines) - router_test.go: break long Message literal (golines) - router_test.go: replace CJK string literal with rune slice so gosmopolitan does not flag the source file; behaviour is identical
This commit is contained in:
1 parent
02e8192349
commit
09e68cb63b
3 files changed
+17
-5
No files matched your search
@@ -71,7 +71,7 @@ func (c *RuleClassifier) Score(f Features) float64 {
|
||||
score += 0.10
|
||||
}
|
||||
|
||||
// Cap at 1.0 to honour the [0, 1] contract even when multiple signals fire
|
||||
// Cap at 1.0 to honor the [0, 1] contract even when multiple signals fire
|
||||
// simultaneously (e.g., long message + code block + tool chain = 1.10 raw).
|
||||
if score > 1.0 {
|
||||
score = 1.0
|
||||
|
||||
Reference in new issue
Block a user