Skip to main content

MegaCallResult

Represents the result of a mega call containing multiple analysis types.

Each field is null when its analysis was not requested. When spam was requested and first-pass screening is confident the comment is spam, only spam_check is filled in and every other field is null, even if requested. A comment answered as suspected spam (spam_check.suspected_spam is true) is not spam, so every requested field is filled in as usual. See Megacall → First-Pass Screening.

from respectify.schemas import CommentRelevanceResult, CommentScore, DogwhistleResult, MegaCallResult, PerspectiveAnalyzeCommentResponse, SpamDetectionResult

Fields​

comment_score​

Comment score result. Null unless requested via include_comment_score (Python) or 'commentscore' service (PHP).

result.comment_score: Optional[CommentScore]

spam_check​

Spam detection result. Null unless requested via include_spam (Python) or 'spam' service (PHP).

result.spam_check: Optional[SpamDetectionResult]

relevance_check​

Comment relevance result. Null unless requested via include_relevance (Python) or 'relevance' service (PHP).

result.relevance_check: Optional[CommentRelevanceResult]

dogwhistle_check​

Dogwhistle detection result. Null unless requested via include_dogwhistle (Python) or 'dogwhistle' service (PHP).

result.dogwhistle_check: Optional[DogwhistleResult]

perspective​

Perspective-compatible analyzeComment response. Null unless requested via include_perspective_analyze_comment (Python) or 'perspectiveAnalyzeComment' service (PHP).

result.perspective: Optional[PerspectiveAnalyzeCommentResponse]