RED-6929: Fix Acceptance Tests/Rules
This commit is contained in:
parent
f54727ec8d
commit
23d14db2d9
@ -130,7 +130,7 @@ rule "CBI.1.1: Redact CBI Address (Vertebrate Study)"
|
|||||||
// Rule unit: CBI.2
|
// Rule unit: CBI.2
|
||||||
rule "CBI.2.0: Don't redact genitive CBI_author"
|
rule "CBI.2.0: Don't redact genitive CBI_author"
|
||||||
when
|
when
|
||||||
$entity: RedactionEntity(type == "CBI_author", anyMatch(textAfter, "['’’'ʼˈ´`‘′ʻ’']s"), getIsApplied())
|
$entity: RedactionEntity(type == "CBI_author", anyMatch(textAfter, "['’’'ʼˈ´`‘′ʻ’']s"), isApplied())
|
||||||
then
|
then
|
||||||
RedactionEntity falsePositive = entityCreationService.byBoundary($entity.getBoundary(), "CBI_author", EntityType.FALSE_POSITIVE, document);
|
RedactionEntity falsePositive = entityCreationService.byBoundary($entity.getBoundary(), "CBI_author", EntityType.FALSE_POSITIVE, document);
|
||||||
falsePositive.skip("CBI.2.0", "Genitive Author found");
|
falsePositive.skip("CBI.2.0", "Genitive Author found");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user