2.0 KiB
ISR
Nine tracked files carry Copyright (c) 2024/2025 Institute of Systems and Robotics headers — the scope of the MIT licence and the list of those files are in LICENSE-NOTES.md.
Configuration
The PostgreSQL password is not stored in the code.
metrics/subjective/pre_processing.py reads it from the environment
variable ISR_DB_PASSWORD and builds database_url from it:
export ISR_DB_PASSWORD='<your-database-password>'
python metrics/subjective/pre_processing.py
If the variable is missing the script stops with a RuntimeError;
there is no default and no silent None. Any password that was
ever pushed to this repository must be rotated.
Note: the repository still tracks the compiled bytecode
metrics/subjective/__pycache__/pre_processing.cpython-310.pyc, which
contains the old password. Remove it (git rm) and run with
PYTHONDONTWRITEBYTECODE=1 until it is gone; the code patch cannot
delete that binary file without breaking git apply.
License
MIT, with a scope: only for the code and text authored by André Neto. Nine tracked
files carry an institutional copyright header
(Copyright (c) 2024/2025 Institute of Systems and Robotics) and are not covered by the
MIT licence — their rights stay with the institution, and no authorisation from the
institution to relicense them is recorded here.
- The full MIT text is in
LICENSE; the per-file scope and the list of the nine files are inLICENSE-NOTES.md - The nine files:
metrics/__init__.py,metrics/objective/__init__.py,metrics/objective/full_reference/__init__.py,metrics/subjective/__init__.py,metrics/subjective/pre_processing.py,metrics/subjective/post_processing.py,metrics/subjective/compute_mos.py,metrics/subjective/anova.py,scripts/compute_subjective.py - Participant data and the third-party London Faces dataset keep the attribution already
written in
metrics/subjective/tables/DATA-SOURCES.md.