utils/file_length
Krzysztof kuhy Rudnicki a4a3e0a8e3
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
file_length: declare WUT_Computer_Science vendored subtrees
The coursework archive carries third-party content that the cap would
otherwise demand be split: the ASP.NET scaffolder's jQuery/Bootstrap dist
bundle (30,875 lines of JS, 43,027 of CSS -- ~98% of all JS and CSS in that
repo), stock Unity package/template assets, manufacturer-supplied Altium and
PADS component libraries, and the EOPSY course simulators.

The EOPSY entries are the load-bearing ones, because "provided by the
department" is normally a judgement call. It is not here: work/ is the
extraction target of `make setup`, and extracting the committed tarballs and
diffing shows 14/14 java files byte-identical to the originals --
ControlPanel.java (1852 lines) and Kernel.java (511) included. Nothing under
work/ is student-written, so splitting it would diverge the source from the
assignment it shipped with.

A data change to the existing extension point, so md_naming inherits it via
the shared file_length._tables import. The authoritative per-entry reasons
live in gates/vendored.txt in that repo; this tuple mirrors it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172dj34FDpao6wsix8ZuCzE
2026-08-28 17:30:14 +02:00
..
__init__.py Add shared 250-line file-length gate 2026-08-14 14:24:57 +02:00
_tables.py file_length: declare WUT_Computer_Science vendored subtrees 2026-08-28 17:30:14 +02:00
check.py Point the file-length gate at the renamed TODO file 2026-08-24 16:06:39 +02:00
config.py Split the two shell scripts and the gate's own config 2026-08-22 14:59:27 +02:00
exemptions.py Split the two shell scripts and the gate's own config 2026-08-22 14:59:27 +02:00