<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def inject_experiment():
 """Inject experiment and enviroment variables into the template context."""

    exp = Experiment(session)
    return dict(experiment=exp, env=os.environ)