From 5fc792d791cd440ddbd12530907ad9df5c241204 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 28 Aug 2026 19:33:14 +0200 Subject: [PATCH] file_length: TRAK/sightpy is vendored, not coursework WUT_Computer_Science/Programming/TRAK/sightpy is the ray tracer from rafael-fuente/Python-Raytracer (BSD 3-Clause). TRAK's assignment was photon mapping built on top of it. Verified against a fresh upstream clone with line endings normalised (the copy in the archive is LF, upstream ships CRLF): 30 of 32 .py files are byte-identical; sightpy/ray.py and sightpy/scene.py carry a 12- and 13-line local patch that adds ray counters for the report. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_0172dj34FDpao6wsix8ZuCzE --- file_length/_tables.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/file_length/_tables.py b/file_length/_tables.py index 16a39e7..28dc31a 100644 --- a/file_length/_tables.py +++ b/file_length/_tables.py @@ -173,6 +173,11 @@ VENDORED_SUBPATHS = { # byte-identical to the originals, so nothing here is student-written. "Programming/EOPSY/lab3/task3/work", "Programming/EOPSY/lab4/task4/work", + # sightpy, the BSD-3 ray tracer from rafael-fuente/Python-Raytracer. + # Verified 2026-08-28 against a fresh upstream clone, line endings + # normalised: 30/32 .py byte-identical; ray.py and scene.py carry a + # 12- and 13-line local patch adding ray counters for the report. + "Programming/TRAK/sightpy", ), }