enhance: センシティブメディア検出を外部化#16945
Draft
kakkokari-gtyih wants to merge 2 commits intomisskey-dev:developfrom
Draft
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #16945 +/- ##
============================================
+ Coverage 42.56% 62.84% +20.27%
============================================
Files 1685 1151 -534
Lines 170650 115246 -55404
Branches 4223 7900 +3677
============================================
- Hits 72643 72427 -216
+ Misses 97546 40677 -56869
- Partials 461 2142 +1681 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
力尽きた |
Contributor
|
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -9765,6 +9765,9 @@
"null"
]
},
+ "sensitiveMediaDetectionAvailable": {
+ "type": "boolean"
+ },
"sensitiveMediaDetection": {
"type": "string",
"enum": [
@@ -9774,16 +9777,6 @@
"remote"
]
},
- "sensitiveMediaDetectionSensitivity": {
- "type": "string",
- "enum": [
- "medium",
- "low",
- "high",
- "veryLow",
- "veryHigh"
- ]
- },
"setSensitiveFlagAutomatically": {
"type": "boolean"
},
@@ -10221,8 +10214,8 @@
"mcaptchaSecretKey",
"recaptchaSecretKey",
"turnstileSecretKey",
+ "sensitiveMediaDetectionAvailable",
"sensitiveMediaDetection",
- "sensitiveMediaDetectionSensitivity",
"setSensitiveFlagAutomatically",
"enableSensitiveMediaDetectionForVideos",
"proxyAccountId",
@@ -19113,16 +19106,6 @@
"remote"
]
},
- "sensitiveMediaDetectionSensitivity": {
- "type": "string",
- "enum": [
- "medium",
- "low",
- "high",
- "veryLow",
- "veryHigh"
- ]
- },
"setSensitiveFlagAutomatically": {
"type": "boolean"
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
wip
インターフェイスとしては、
multipart/form-dataで画像 or 動画データを受け取りつつ、判定が完了したらアップロード完了を待たずにレスポンス{ sensitive: boolean; porn: boolean; }を返せるようにしてあるWhy
Fix #16804
Fix #16944
Close #10669
Additional info (optional)
Checklist