pyspj.models.continuity

ContinuitySPJResult

class pyspj.models.continuity.ContinuitySPJResult(correctness: bool, score: float, message: Optional[str] = None, detail: Optional[str] = None, **kwargs)[source]
Overview:

Result of continuity special judge.

__eq__(other)

Return self==value.

__hash__()

Return hash(self).

__init__(correctness: bool, score: float, message: Optional[str] = None, detail: Optional[str] = None, **kwargs)[source]

Constructor for pyspj.models.continuity.ContinuitySPJResult.

Parameters
  • correctness – correctness of result

  • score – score of result

  • message – message of result

  • detail – detail of result

__repr__()[source]

Get representation format of current result object.

Returns

Representation string.

property correctness

Correctness of this result.

property detail

Detail information of this result.

property message

Message of this result.

property score

Score of this result.

to_json() → Mapping[str, str][source]

Get JSON-formatted result data.

Returns

A json for the current result data.