harbor run -t openthoughts/tasktrove-openswe-tasks-patched-v5-oracle-success-openswe_oss-20249
harbor download openthoughts/tasktrove-openswe-tasks-patched-v5-oracle-success-openswe_oss-20249
The repository has not been cloned yet. Run the following command first to clone the repo, check out the target commit, and install dependencies:
bash /setup_files/setup.sh
The code will then be available at /testbed.
/testbed
You are working on the repository proboscis/pinjected (instance: proboscis__pinjected-67).
proboscis/pinjected
proboscis__pinjected-67
The code is located in /testbed.
##55 Fix test_gather_meta_design: Missing 'name' dependency and host-dependent paths
Test test_gather_meta_design in test/test_module_inspector.py is failing due to a missing dependency key 'name' and host-dependent test package paths.
test_gather_meta_design
test/test_module_inspector.py
DependencyResolutionError: DI key 'name' not found
The test verifies MetaContext's ability to gather meta-design information, which is critical for:
The test fails for two reasons:
def test_gather_meta_design(): test_file = "/Users/s22625/repos/pinject-design/pinjected/test_package/child/module1.py" mc: MetaContext = MetaContext.gather_from_path(Path(test_file)) mc.final_design.provide('name') == "test_package.child.module1"
This failure affects: