From a4a3e0a8e395a7643a1d4c3d1764dd37ee353c3a Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 28 Aug 2026 17:30:14 +0200 Subject: [PATCH] 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) Claude-Session: https://claude.ai/code/session_0172dj34FDpao6wsix8ZuCzE --- file_length/_tables.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/file_length/_tables.py b/file_length/_tables.py index bc160ce..16a39e7 100644 --- a/file_length/_tables.py +++ b/file_length/_tables.py @@ -154,6 +154,26 @@ VENDORED_SUBPATHS = { # sibling references/ dir, so splitting one into SKILL.part2.md would # break the format rather than improve readability. "todo": (".agents/skills",), + # University coursework archive. The authoritative list, with a verified + # reason per entry, is gates/vendored.txt in that repo -- this tuple is a + # mirror of it. Keep the two in step (`./run.sh sync-vendored` there). + "WUT_Computer_Science": ( + # ASP.NET scaffolder's jQuery/Bootstrap dist bundle: 30,875 lines of + # JS and 43,027 of CSS, ~98% of all JS and CSS in the repo. + "Programming/EGUI/lab2/lab2/wwwroot/lib", + # Stock Unity package and new-project template content. + "Programming/E-PSYOPS/theProject/Assets/TextMesh Pro", + "Programming/E-PSYOPS/theProject/Assets/TutorialInfo", + # Manufacturer-supplied Altium/EAGLE/PADS component libraries. + "NotProgramming/EMISY/componentSchematic", + "NotProgramming/EMISY/schematic", + # EOPSY simulators shipped by the department as tarballs; work/ is the + # extraction target of `make setup`. Verified 2026-08-28 by extracting + # ftp/sched.tgz and ftp/memory.tgz and diffing: 14/14 java files + # byte-identical to the originals, so nothing here is student-written. + "Programming/EOPSY/lab3/task3/work", + "Programming/EOPSY/lab4/task4/work", + ), } #: Directory names that mark a vendored agent-skill tree wherever they appear.