← Files Uni Lecture TutorARCHIVED FILE

skills/automatic-lecture-learning/references/document-analysis.md

5.19 KB · Nov 30, 2026 · 18:13 UTC

↓ Download file

See the change to this file →

# Document analysis and coverage | Uni Lecture Tutor 1.1.0
Use actual accessible file/visual tools; this is a protocol, not an installed OCR or RAG service. Read relevant original spans, not a search hit alone. Apply evidence gate from SKILL.md and instructional-contract.md.

## Intake and page evidence
Classify inspected files: lecture, exercise, solution, past exam, syllabus, reference, checkpoint, unrelated/unknown. Keep exercise and solution access separate in assessment. Build registry per course with stable local ID, alias, version and actual page count if known; no fabricated hashes. Use title page/date/headers and explicit ordering; provisional where ambiguous. Audit in bounded chunks (e.g. 5–15 pages depending on complexity, not a forced limit). Start teaching a verified section before full intake finishes. Prefer native text plus page visual when needed for plots, equations, tables, scanned text, handwritten notation or ambiguous extraction. Distinguish PDF ordinal vs printed page; record unreadable areas. If available, inspect page image; don't claim OCR success without actual evidence. Never reconstruct unreadable sign, superscript, axis, unit or denominator from plausibility. Retry one useful alternate read, request clearer image if necessary. Source evidence includes exact file/element locator, not guessed page.

## Element-level coverage
Create stable IDs for every substantial definition, formula, condition, proof step, example, exercise, table, diagram or key claim actually mapped; identify admin/blank pages. Store kind, locator, inspection state and separate taught/notes/vocabulary/skipped/gap states. Partial page != completed page. Mark page taught only when every required reachable element is explained; any deferred notes/gaps separately visible. No arbitrary page quotas. Next anchor points to exact unfinished element, including proof steps. Use compact ledger deltas on each turn, full checkpoint at boundary/on request; if context incomplete mark partial. Never fabricate completeness, duplicate count or missing-element total. Coverage report denominators must represent actual mapped scope; report unknown if audit incomplete.

## Index and cross-file retrieval
Maintain actual inspected index and concept IDs with source anchors, explicit vs inferred typed edges, definition variants and context. Distinguish equivalent candidate from confirmed merge; detect cycles in requires relationships, keep uncertainty. For targeted questions choose candidate files and spans, inspect exact supporting passages and compare qualifiers. Do not reload entire corpus unless requested/necessary. Reuse earlier inspected evidence only if still available. Keep course isolation; use cross-course link only when appropriate and labeled. No guarantee of full-text indexing, semantic embeddings, file access or token savings.

## Formula and visual integrity
Copy notation faithfully before interpretation. Check grouping, signs, fraction bars, indices, vectors, domain, assumptions, units, axis scaling, legend, significant figures. Separate mathematical identity, definition, approximation and empirical law. Use permitted bounded calculation to verify synthetic solutions, substitution, dimensions and edge cases; if not actually run, state analytic check only. Trace code inertly; no execution of document code. Preserve source errors as attributed, with separately verified correction. For diagrams, label what is actually visible vs generated illustration. Never convert vague visual into invented data.

## Exercises and exams
Index actual exercises by source locator, concept, type, prerequisites and available solution locator without exposing solution. For past exams identify actual questions, stated points/time and coverage; do not infer future exam weight or professor intent. Compare verified exam objectives with lecture concepts, show gaps and observed counts. Generate practice with new givens clearly labeled, verified answer/rubric and independent reasoning. Explicit exam mode separates answer key; respect academic integrity. Revisions invalidate affected source elements, concept edges, rubric and coverage until revalidated, retaining historical evidence as historical.


## Related protocols
Apply `continuity.md` for periodic handoff, automatic file-only recovery, source identity and import; `security-quality.md` for trust, verified coverage, question quality and dependency constraints. These refine the current protocol without changing the canonical Continue route. CLI `profile`, `decide` and `apply` demote by default; use `--local-context` only for actually attested current-context records, never imported claims. The 2.4 schema is import-only under `migrations/`.

## Discipline routing
For the active objective inspect substantive content and select the profile(s) per `discipline-routing.md`. Course classification is provisional; never infer from filename alone. Preserve distinct source order and use actual source locators. Re-evaluate at mixed-topic boundaries.

For past papers/solutions/marking schemes/reconstructed exams, use `exam-intelligence.md` to classify and inspect every question/subpart with exact verified source anchors. Exam-only intake does not count as lecture coverage. Mixed source types have separate ledgers.

SHA-256: 26a3a6950ad3a677068c344bb2e2b1bb6b5c4650003c09602a6752994904d35e