Hi, I noticed sim/context_helpers.py::_resolve_deadline() is a copy of utils/trials.py::resolve_deadline(), but can't be deduplicated because utils/__init__.py eagerly imports display and experiment (both require psychopy). Any import through psyflow.utils pulls in psychopy, breaking sim/'s pure-Python guarantee.
Would you be open to lazy-loading display/experiment in utils/__init__.py, using the same __getattr__ pattern as psyflow/__init__.py? Happy to submit a PR.