What went wrong
The AI features in the LMS keep a query logLMS · LMS AI Core · The Laravel sidePrivacyLogs and saved conversations blank out private text. Evaluation exports, the files used to judge answer quality, keep summaries instead of full answers.See it in the LMS build, a record of questions, kept to help find faults. Sensitive text in it is redacted, meaning blanked out. A review in July followed a learner’s text beyond that log. It found three gaps.
The first gap was in AI Core, the LMS’s separate Python service. Its main web addresses, the ones with a version number, took requests even when no access keyLMS · LMS AI Core · The AI serviceKey-only accessEvery request to the service’s main web addresses, the ones with a version number, must carry an access key. If no key has been set up, the service refuses the request. Its public documentation pages are switched off.See it in the LMS build was set up. The second gap was that saved learner messages were not blanked out. The third gap was in evaluation reports, which show how the AI does on a set of test cases. They kept full responses or the full data sent with a request.
What I changed
In AI Core, requests to those addresses now fail when no access key is set up. Its built-in documentation pages are also off. Saved conversations now use the same blanking-out rules as the query log. They may keep a longer history than a log entry. That way a length limit meant for the log does not cut a conversation short.
Evaluation reports now keep only chosen fields. These include the status, the scope and the number of cited passages. They also keep the names of the fields in each request, but not what the fields held. Full request data and raw error messages are gone. That removes those copies of learner text. It does not make every field in a report anonymous. Nor does it make every record of a call to the AI provider anonymous.
How I know it works
Python tests cover the access key check and the switched-off documentation. Tests in Laravel, the main LMS application, cover learner access, blanking out messages and report output. The July 1 record shows 12 Python tests passing, with one warning about a feature due to be retired. On the Laravel side, which is written in A technical wordPHPThe programming language that Laravel, a popular web framework, is written in., it shows 54 focused tests making 360 checks. Some of these tests failed before the fixes.
The program that makes the evaluation reports runs a set of cases. It uses prepared test data in place of real replies from the AI provider. It checks citations, refusals and access. It also checks injection cases, where text tries to trick the AI into breaking its rules. Its results apply to those cases only. They do not show general accuracy, behaviour under heavy real use, or safety against every injection.