和顺 / 知衡 返回所属 Agent
ZH-04.03

论点强弱说明

原能力

列出用于支撑结论的关键证据强度与未验证假设,说明不能外推的情形。(细化版 p.16–17)

首选项目

Taguette(BSD-3-Clause)。 Taguette

匹配范围

标注支持、反例及未验证假设并输出原文位置。

源码

Taguette · class Highlight

taguette/database/models.py · 592–605 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
class Highlight(Base):
    __tablename__ = 'highlights'
    __table_args__ = ({'sqlite_autoincrement': True},)

    id = Column(Integer, primary_key=True)
    document_id = Column(Integer, ForeignKey('documents.id',
                                             ondelete='CASCADE'),
                         nullable=False, index=True)
    document = relationship('Document', back_populates='highlights')
    start_offset = Column(Integer, nullable=False)
    end_offset = Column(Integer, nullable=False)
    snippet = Column(Text, nullable=False)
    tags = relationship('Tag', secondary='highlight_tags',
                        back_populates='highlights')

实现与验收要点

评价证据充足性、适用对象及外推限制。