This website edition distinguishes the full original suite from the current checker and clarifies what a passing run-time test can establish. Full package and metadata validation require separate checks.
How to use the SCORM 1.2 conformance test suite to check that a course written with an AI assistant really speaks SCORM, instead of only looking right in a browser.
The problem
"Vibe coding" a course means describing what you want to an AI assistant and letting it write the HTML, JavaScript and packaging. It is fast, and the result often looks finished: the pages render, the buttons work, the quiz scores.
None of that proves the course will work in a Learning Management System (LMS). The parts of SCORM that matter (finding the LMS's API, calling it in the right order, sending values in the right format, and packaging the files the way an LMS expects) are invisible when you open the course on your own computer. There is no LMS there, so the course's SCORM code either never runs or quietly gives up.
AI assistants make this worse in a specific way: they write SCORM code that looks plausible. It uses real function names, real element names and confident comments. It is often a mix of SCORM 1.2 and SCORM 2004, or code that works only when the course is opened alone. Test against the standard and in the target LMS. That is what the ADL conformance test suite is for.
Mistakes AI-written SCORM 1.2 code commonly makes
These are the kinds of errors to expect. Each can escape a visual check and cause problems in an LMS.
Mixing up SCORM versions
SCORM 1.2 and SCORM 2004 use different APIs and different data elements. Mixed code may find no API at all, or set values the LMS ignores.
| SCORM 1.2 (what this suite tests) | SCORM 2004 (a different standard) |
|---|---|
API object named API | API object named API_1484_11 |
LMSInitialize(""), LMSGetValue, LMSSetValue, LMSCommit(""), LMSFinish("") | Initialize(""), GetValue, SetValue, Commit(""), Terminate("") |
cmi.core.lesson_status | cmi.completion_status and cmi.success_status |
cmi.core.score.raw | cmi.score.raw and cmi.score.scaled |
cmi.core.lesson_location | cmi.location |
cmi.core.session_time as HHHH:MM:SS.SS | cmi.session_time as an ISO 8601 duration, such as PT1M30S |
Not finding the API, and hiding that
- Looking in only one place. The LMS puts the
APIobject on a parent window or on the window that opened the course. Correct code walks up the chain of parent windows and also checks the opener. AI code often checks onlywindow.parent. - Faking an API when none is found. Some generated code creates a stand-in API object when the real one is missing, so the course "works" on your desktop. Inside an LMS that same fallback can mask a discovery bug, and nothing is ever recorded.
Calling the API out of order
- Calling
LMSGetValueorLMSSetValuebeforeLMSInitialize(""). - Never calling
LMSFinish(""), or calling it only from a page-unload handler. Relying solely onunloadis fragile in modern browsers. Prefer an explicit exit path and test any lifecycle-event fallback in the target LMS. - Calling the API again after
LMSFinish("").
Misreading return values
The SCORM 1.2 API returns strings. LMSSetValue returns "true" or "false", and both are non-empty strings, so if (API.LMSSetValue(...)) is always true in JavaScript. A failed save looks like a success unless the code compares the string or calls LMSGetLastError().
Sending values in the wrong format or to the wrong place
cmi.core.session_timeas plain seconds or an ISO 8601 duration instead ofHH:MM:SS.- A score outside 0 to 100, or not a number.
- A
lesson_statusvalue outside SCORM 1.2's vocabulary (for example, SCORM 2004 words). - Writing elements that are read-only (such as
cmi.core.student_id) or reading elements that are write-only (such ascmi.core.session_time). - Data longer than the element allows, such as
cmi.suspend_dataover 4,096 characters orcmi.core.lesson_locationover 255.
Packaging mistakes
imsmanifest.xmlmissing, misnamed, or inside a subfolder of the zip instead of at its root.- The launch resource not marked
adlcp:scormtype="sco", or itshrefpointing at the wrong file. - Missing or wrong namespaces and schema version, so the LMS rejects the import.
How the test suite catches these
| Suite test | What it catches in AI-written courses |
|---|---|
| SCO Run-Time Environment | Observed API calls: call order, missing LMSFinish, invalid values, read-only and write-only violations, wrong formats. No calls or failed initialization can indicate a discovery problem, but do not identify its cause on their own. The suite acts as the LMS and logs every call with the error code it produced. |
| Content Package | Manifest mistakes: structure, required attributes, the launch resource. |
| Metadata | Invalid metadata XML, if the package includes metadata. |
The LMS Run-Time Environment test is for LMS vendors, not course authors.
The table describes the original suite. The current TypeScript port implements only the SCO Run-Time Environment test, with basic launch and missing-file diagnostics. Content Package and Metadata tests are not ported.
A verification workflow
- Ask for the right thing. Tell the AI the course must be SCORM 1.2, must use the
APIobject withLMSInitialize,LMSSetValueand so on, and must not include SCORM 2004 code or a fallback fake API. Ask it to check every return value withLMSGetLastError(). - Check the package. Use a separate Content Package test or appropriate package validator to check the course's
imsmanifest.xmland investigate reported errors. The current checker is not a full manifest validator. - Run the SCO Run-Time Environment test. In the original suite, launch the file named in the manifest's
hreffor the SCO resource, not an inner page or the ZIP. In the modern checker, select the published ZIP and exercise the first SCO it launches. - Walk every path. The suite only sees the calls the course makes while you use it. Go through the course completely: every page, both passing and failing the quiz, leaving partway and resuming. A path you skip is a path that was not tested.
- Finish properly. In the original suite, end through the course's own exit or the Complete Test button, not End Test, which aborts the test. In the modern checker, use the normal course exit and end the session to review the observed finish behavior.
- Read the log, then give it to the AI. Look for failed checks, any
LMSGetLastErrorresult other than 0, and the final verdict. Paste the relevant log lines back to the AI and ask it to fix exactly those calls. The log is precise evidence (which call, which value, which error), which is much better than "it doesn't work". - Repeat until the verdict is conformant on every path.
- Then try your real LMS. A passing self-test does not guarantee compatibility or persistence in a particular LMS. Test the actual LMS you will use.
What a passing result does and does not prove
A passing SCO run-time result is evidence that the observed calls passed the implemented checks on the paths you exercised. It does not establish full manifest validity, actual LMS persistence or correctness of unvisited paths.
It does not prove:
- That paths you did not take are correct.
- That the course marks completion or passing at the right moment. A course can legally report "completed" too early; that is a design question, not a conformance one.
- That the course works in every LMS, since LMSs vary.
- Accessibility, content accuracy, or anything about SCORM 2004.
- Official certification. A self-test is not certified unless an ADL Certified Auditor ran it.
Which version of the suite to use today
The original ADL suite (1.2.7) was run by the project in Microsoft Edge IE mode with Oracle Java 8 (see Running the Original Suite in Edge IE Mode). Under it, the course runs inside Internet Explorer 11's engine, loaded from local files. That has two consequences for AI-written courses:
- Modern JavaScript may not run. IE11 does not support JavaScript modules (
<script type="module">) or much of the JavaScript written since 2015, which is what AI assistants and modern build tools usually produce. Such a course shows a blank or broken page under the original suite even if its SCORM code is correct. - Courses that load their own files may stay blank. IE refuses to load data files from disk with
XMLHttpRequest, so a course that fetches JSON or XML at start-up does not display. In our test of a current commercial course, the SCORM calls still reached the suite and were logged, but the screen stayed blank, so the course could not be walked through.
A plain course (static HTML and simple scripts, no modules, no data files fetched at start-up) can be tested under the original suite today.
The TypeScript port is intended to reproduce the original SCO run-time test logic. Its SCO Run-Time Environment logic is verified against the original: 117 recorded scenarios, 9,092 data-validation checks, and a live run of 4,340 API calls all matched. Because it needs no Java or Internet Explorer, it can test courses in a modern browser, served from a web server the way an LMS serves them, and it can run automatically, for example after every change the AI makes. Anyone can run it with no install in the course checker web page, open the course checker: choose the course's .zip, go through the course, and copy the results for your AI assistant. Its MCP server lets an AI assistant run this test itself: the course opens in a browser page that plays the LMS, you or the AI go through the course and press End SCO, and the AI reads the same log and verdict the original suite would give. That browser page was checked against the original's live run (all 4,340 calls matched). See the SCORM conformance MCP guide and repository documentation.
Short checklist
- The course targets SCORM 1.2 only:
API,LMS...functions,cmi.core...elements. - The API search walks up parent windows and checks the opener, with no fake fallback.
LMSInitialize("")comes first;LMSFinish("")is called exactly once, from a real exit path.- Every
LMSSetValueresult is compared as a string or checked withLMSGetLastError(). - Times are
HH:MM:SS, scores 0 to 100, statuses from the SCORM 1.2 vocabulary, data within length limits. imsmanifest.xmlis at the zip's root, and the SCO resource'shrefis the real launch page.- A separate Content Package check is complete.
- SCO Run-Time Environment test passes on each exercised path; normal exit behavior is verified.
- The course was tried in the LMS you will use.
Related resources
- SCORM 1.2 Course Checker
- SCORM 1.2 developer reference
- The SCORM 1.2 Test Suite and Why We Ported It
- Running the Original ADL SCORM 1.2 Test Suite 1.2.7 in Microsoft Edge IE Mode
Source and licensing
Adapted from the original project documentation. Copyright (c) 2026 Actyra. Project-authored documentation is released under the MIT License, subject to third-party rights and restrictions described in the repository NOTICE. The legacy ADL software is not covered by the MIT License. This independent project is not affiliated with, endorsed by or certified by ADL. Self-test results do not constitute official certification or guarantee LMS compatibility.
