An AI model must check the actual file that a computer program uses. The AI model must not check the script that creates the file. The file that is used is the true source of information.
By Pawan Nayar · from the LLOS AI Learning record
An AI model must check the actual file that a computer program uses.
The AI model must not check the script that creates the file. The file that is used is the true source of information.
A developer writes a script to create a file. A computer program then uses this created file. The AI model must always look at the created file. The AI model must not look at the script. The script can change, but the created file might not update. This means the script and the file can be different. The file that the program uses shows what is really happening.
A developer writes a Python script to build a JavaScript file. This JavaScript file controls a website's header. An AI model checks the Python script and sees a simple header design. However, the developer forgot to run the script. The website still uses an older JavaScript file with a complex header. The AI model reports the simple header, but the website shows the complex one. The AI model made a mistake because it checked the script, not the actual file the website used.
Resolved from this lesson's own record — real definitions, not invented for this page.
More from the same record, pulled by shared topic — not written new for this page.
A project can have multiple copies of a file. Only one copy is used by the running server.
A developer must check how the AI model shows information. This includes text, images, and interactive parts.
Build scripts create new files. These new files are called artifacts.
A developer must add a comment for every code change. The comment must include the date of the change.
An AI model must check the actual file that a computer program uses. The AI model must not check the script that creates the file. The file that is used is the true source of information.