Skip to content

chore(tooling): the audit stops repeating errors the engine gate blocks - #45

Merged
astrapi69 merged 1 commit into
mainfrom
chore/audit-engine-duplicates
Oct 1, 2026
Merged

astrapi69 merged 1 commit into
mainfrom
chore/audit-engine-duplicates

Conversation

@astrapi69

Copy link
Copy Markdown
Owner

Summary

This brings the two template-owned audit files in line with adaptive-learner-content-template#93 (merge e4570ef). Both are copied byte for byte from the template.

scripts/audit_content.py (advisory, not in CI) no longer reports malformed answer sets that the engine gate already rejects with its own ids:

  • cloze markers and blanks;
  • multiselect accept, distractors and overlap;
  • word_tiles with one tile;
  • picture_choice without exactly one correct image;
  • a repeated matching left term.

It keeps the checks no gate blocks:

  • whitespace-only fields;
  • duplicate card fronts;
  • a free_text answer that is also a distractor;
  • lessons missing from their set.

tests/test_audit_content.py pins both halves.

Measured

  • The audit's output on this repository is the same before and after the copy: no findings.
  • tests/test_audit_content.py: 10 passed.

🤖 Generated with Claude Code

Template-owned files copied from adaptive-learner-content-template#93
(e4570ef).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@astrapi69
astrapi69 merged commit 47ae83f into main Oct 1, 2026
6 checks passed
@astrapi69
astrapi69 deleted the chore/audit-engine-duplicates branch October 1, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants