证据冲突、反证与污染处理
原能力
保留证据冲突、关键反证和污染状态,按依赖关系使受影响结果重新核验。(合同附件 R7 4.6)
首选项目
OpenLineage(Apache-2.0)。 OpenLineage
匹配范围
血缘遍历和关联结果影响定位。
源码
OpenLineage · class RunEvent
client/python/src/openlineage/client/run.py · 102–115 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
class RunEvent(RedactMixin):
eventType: RunState = attr.ib(validator=attr.validators.in_(list(RunState))) # noqa: N815
eventTime: str = attr.ib() # noqa: N815
run: Run = attr.ib()
job: Job = attr.ib()
producer: str = attr.ib()
inputs: list[Dataset] | None = attr.ib(factory=list)
outputs: list[Dataset] | None = attr.ib(factory=list)
schemaURL: str = attr.ib(default=SCHEMA_URL) # noqa: N815
_skip_redact: ClassVar[list[str]] = ["eventType", "eventTime", "producer", "schemaURL"]
@eventTime.validator
def check(self, attribute: str, value: str) -> None: # noqa: ARG002
- # Copyright 2018-2026 contributors to the OpenLineage project
- # SPDX-License-Identifier: Apache-2.0
NetworkX · def descendants(
networkx/algorithms/dag.py · 36–49 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
def descendants(G, source):
"""Returns all nodes reachable from `source` in `G`.
Parameters
----------
G : NetworkX Graph
source : node in `G`
Returns
-------
set()
The descendants of `source` in `G`
Raises
实现与验收要点
冲突、反证、污染事件条件,以及重新核验和恢复。