Classes
Members
# detectionService
Contradiction Detector Service instance
Methods
# async processAndApplyContradictions(investigation, updateMethod) → {Promise.<IInvestigation>}
Processes contradictions in an investigation and applies updates if needed.
Parameters:
| Name | Type | Description |
|---|---|---|
investigation |
IInvestigation
|
The investigation to process. |
updateMethod |
function
|
The method used to update the investigation. |
- The investigation after updates have been applied.
Promise.<IInvestigation>
# async processContradictions(investigation) → {Promise.<(object|null)>}
Processes contradictions in an investigation and returns update fields if contradictions are detected.
Parameters:
| Name | Type | Description |
|---|---|---|
investigation |
IInvestigation
|
The investigation to process. |
- An object with updated fields if contradictions are detected, or
nullotherwise.
Promise.<(object|null)>