move diagnostics.py to prop