Elysia Tools
导航
校验
EIN 遮罩示例: 合成数据练习
对照三个限定范围的输入输出练习。每张卡片都列出操作和精确预期结果,本指南不会执行展示的源码。
案例
这个案例集合中的条目
仅用字母展示 EIN 布局
遮罩展示两组布局,但字母不可能是 EIN;布局不证明 IRS 签发或分配。
标签
synthetic, offline, text-operations
{
"fixture_kind": "synthetic-invalid-placeholders",
"input": "XX-XXXXXXX",
"operation": "Split on the single hyphen; inspect group lengths, not numerical validity.",
"expected": {
"group_lengths": [
2,
7
],
"numeric_identifier": false
}
}移除标点不等于验证
剩余九个字符仍是字母;长度和标点规范化不能被报告为已分配税号。
标签
synthetic, offline, text-operations
{
"fixture_kind": "synthetic-invalid-placeholders",
"input": "XX-XXXXXXX",
"operation": "Remove only the displayed hyphen, then ask whether every remaining character is an ASCII digit.",
"expected": {
"normalized_mask": "XXXXXXXXX",
"all_ascii_digits": false
}
}区分公开字段与 EIN 字段
展示投影不含税号字段;虚构实体标签和未改变的验证标记不能建立真实企业身份。
标签
synthetic, offline, text-operations
{
"fixture_kind": "synthetic-invalid-placeholders",
"input": {
"entity_label": "DEMO-ENTITY",
"ein": "[EIN-MASK]",
"verification": "not_performed"
},
"operation": "Project only entity_label and verification into a fresh display object.",
"expected": {
"entity_label": "DEMO-ENTITY",
"verification": "not_performed"
}
}工具
经常与该案例搭配使用的工具
相关内容
相关案例集合
相关内容