WUT_Computer_Science/Programming/PORR/code
Krzysztof kuhy Rudnicki 8798105aa1 Grade against 3.14 too, not just run on it
The pre-commit workflow already installs `python-version: "3.x"`, but ruff was
still grading the archive against py310 -- so it kept withholding the pyupgrade
and type-checking fixes that only become safe at the newer target.
`pin_ci_python.py` rewrites the knob.

The 17 findings that appeared are what the stale target was hiding:
`datetime.timezone.utc` where `datetime.UTC` is now correct (UP017), and 14
imports used only in annotations that belong under `TYPE_CHECKING` (TC002,
TC003) -- safe here precisely because 3.14's PEP 649 defers annotation
evaluation, which is the same reason ruff would not offer them at py310.

`ruff check` and `ruff format --check` are clean again, so the zero-findings
state this repo reached earlier today holds at the new target.

Still contradictory and deliberately untouched: the four
`Programming/ERSMS-project/*/Dockerfile` files say `FROM python:3.10-slim`.
They build an archived coursework service against its own era's pinned
dependencies, and nothing in this repo runs them; bumping the base image would
be a rewrite of that project, not a lint-target change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SfnJmxxsZ534AKk16rC2Gr
2026-08-29 11:55:43 +02:00
..
linear_algebra_utils.py PORR: zero findings, 18 tests still passing after every refactor 2026-08-28 21:01:13 +02:00
main.py PORR: zero findings, 18 tests still passing after every refactor 2026-08-28 21:01:13 +02:00
matrix_generator.py PORR: zero findings, 18 tests still passing after every refactor 2026-08-28 21:01:13 +02:00
nemeth12.mat Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
poli3.mat Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
processing_type.py PORR: zero findings, 18 tests still passing after every refactor 2026-08-28 21:01:13 +02:00
README.md Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
requirements.txt Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
richardson_method.py Grade against 3.14 too, not just run on it 2026-08-29 11:55:43 +02:00
richardson_mpi.py PORR: zero findings, 18 tests still passing after every refactor 2026-08-28 21:01:13 +02:00
richardson_problem.py PORR: zero findings, 18 tests still passing after every refactor 2026-08-28 21:01:13 +02:00
spd_2.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
spd_5.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
spd_10.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
spd_50.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
spd_100.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
spd_300.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
spd_500.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
spd_750.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
spd_1000.npz Add 'Programming/PORR/' from commit '0a62d75a828646fb5c8e13f24327fb196fc17c8e' 2026-02-06 22:15:00 +01:00
tests.py PORR: zero findings, 18 tests still passing after every refactor 2026-08-28 21:01:13 +02:00
threads_indep_old.py Grade against 3.14 too, not just run on it 2026-08-29 11:55:43 +02:00
threads_indep.py Grade against 3.14 too, not just run on it 2026-08-29 11:55:43 +02:00
threads_too_simple.py Grade against 3.14 too, not just run on it 2026-08-29 11:55:43 +02:00
time_measurement.py Grade against 3.14 too, not just run on it 2026-08-29 11:55:43 +02:00

Download matrices

poli3.npz matrice

https://wutwaw-my.sharepoint.com/:u:/g/personal/01156786_pw_edu_pl/EZQv_ttJO1lAgiV8HOutZQQBmGGjXm5fhLmkOcvEPHqeDg?e=XygcyO

nemeth12.npz matrice

https://wutwaw-my.sharepoint.com/:u:/g/personal/01156786_pw_edu_pl/EeCGZePTxDdOhV91lJw6viQBhOXtxTlWNoj85lyZCoA26w?e=AcOVcK

spd_10000.npz matrice

https://wutwaw-my.sharepoint.com/:u:/g/personal/01156786_pw_edu_pl/EYTVCameBPFIk61AyG9-dwYBgdpt2PuyMyU9Unbdtu3Xww?e=pk7PLx

Those link will expire on 24-02-2024

Put the matrice in code folder

Create environment

pyenv virtualenv porr

Activate environment

pyenv activate porr

Install requirements

pip install -r requirements.txt