Files
iqa-study/README.md
T
Andre Neto ae46994aac Add MIT LICENSE (first commit year 2025) and point the README section to it
O repo era publico e espelhado sem licenca. MIT foi a licenca decidida para o
catalogo; o ano do copyright e o do primeiro commit. Nota: os ficheiros com
cabecalho do Institute of Systems and Robotics e os dados de terceiros ficam
fora do ambito desta licenca (ver NOTA-LICENCA).
2026-10-08 14:53:39 +01:00

858 B

ISR

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 — see LICENSE.