harbor run -t openthoughts/tasktrove-exp-rle-error-report-v3-5k-error-report-3259harbor download openthoughts/tasktrove-exp-rle-error-report-v3-5k-error-report-3259Error_report
Title: Bug/Feature Request: Implement cookiecutter.prompt module per test-driven specification
Observed Behavior
Expected Behavior
Technical Requirements (as specified in the task)
render_variable(env, raw_var, context)
prompt_for_config(context, no_input=False)
prompt_choice_for_config(cookiecutter_dict, env, key, options, no_input)
read_user_variable(var, default)
read_user_choice(var, options)
read_user_dict(var, default)
Contextual requirements mapped to tests
render_variable must produce:
prompt_for_config must:
prompt_choice_for_config must:
Undefined variable handling: Rendering a template that references an undefined variable should raise exceptions.UndefinedVariableInTemplate with message "Unable to render variable 'foo'" and context equal to the provided context.
Self-contained deliverable
Notes