WIP: codebase validation function for use in schedulers