Synthetic teaching inputs only, not real product or model benchmark results. See the page for scope and limits.

Practice: audit a folder with a read-only Python script

The ZIP contains three tiny fictional sample files, including a Unicode filename. A read-only script inventories relative paths and byte sizes without changing or uploading file contents.

1. Extract the ZIP to a dedicated scratch folder and run: python inventory.py sample-files. Keep the default path under your own control.
2. Compare the sorted CSV printed by the script with expected-inventory.csv. Notice that byte lengths differ from character counts for Arabic UTF-8 text.
3. Try an empty folder and a nonexistent path. Confirm the script handles missing folders clearly and does not overwrite any source file.

Reference outcome: Three sorted entries with byte sizes derived from the supplied files; no file content is sent anywhere.

Limits: The script walks local files and prints metadata only. Symlinks, permissions, race conditions, and very large trees require additional production safeguards.
