PatchAttestDefensePolicy

class PatchAttestDefensePolicy[source]

PatchAttestDefensePolicy(*, rules: ‘AttestDefenseAiUseRules’, allowed_tools: ‘t.Union[PatchAttestDefenseOnlyAiTools, AttestDefenseAnyAiTool]’, policy_text: ‘str’, disclosure_text: ‘str’)

rules: AttestDefenseAiUseRules

The rule for each use of AI.

allowed_tools: PatchAttestDefenseOnlyAiTools | AttestDefenseAnyAiTool

The AI tools the student may use.

policy_text: str

The policy as the teacher wrote it.

disclosure_text: str

What the student must disclose about their use of AI.