Skip to content

Commit

Permalink
reduce false positives
Browse files Browse the repository at this point in the history
Signed-off-by: Zhu Chenrui <[email protected]>
  • Loading branch information
boomzero authored Aug 31, 2024
1 parent 48c064a commit 3b1d814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ export class Process {
text: Data["Content"],
}
);
if (check[check[0]["label"] == "NEGATIVE" ? 0 : 1]["score"].toFixed() > 0.85) {
if (check[check[0]["label"] == "NEGATIVE" ? 0 : 1]["score"].toFixed() > 0.90) {
return new Result(false, "您设置的标签内容含有负面词汇,请修改后重试");
}
ThrowErrorIfFailed(await this.XMOJDatabase.Update("badge", {
Expand Down

5 comments on commit 3b1d814

@boomzero
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PythonSmall-Q 要不定一个规矩:开发组成员必须每月修复至少1个issue, 否则会被移除。

@PythonSmall-Q
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你……这不是针对我妈

@boomzero
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你……这不是针对我妈

I never said this…

@boomzero
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My objectives are clearly described in the discussion thread.

@PythonSmall-Q

@boomzero
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你……这不是针对我妈

针对你妈???

Please sign in to comment.