평가 및 화면 구조 정리
This commit is contained in:
parent
1248ae8ca4
commit
391639c1de
44 changed files with 5816 additions and 4501 deletions
|
|
@ -20,13 +20,18 @@ def build_parser() -> argparse.ArgumentParser:
|
|||
default=str(REPO_ROOT / "data" / "privacy" / "pii-masking-ko-fixtures.json"),
|
||||
)
|
||||
parser.add_argument("--json", action="store_true")
|
||||
parser.add_argument(
|
||||
"--include-evidence-text",
|
||||
action="store_true",
|
||||
help="Include masked text and remaining forbidden strings for local synthetic debugging only.",
|
||||
)
|
||||
return parser
|
||||
|
||||
|
||||
def main() -> int:
|
||||
parser = build_parser()
|
||||
args = parser.parse_args()
|
||||
report = evaluate_fixture(Path(args.fixtures))
|
||||
report = evaluate_fixture(Path(args.fixtures), include_evidence_text=args.include_evidence_text)
|
||||
if args.json:
|
||||
print(json.dumps(report, ensure_ascii=False, indent=2, sort_keys=True))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue