a186c5afadb30978403031ab81d952250d3cc9ee
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.
Languages
Python
99.6%
Shell
0.4%