trial codebases