Skip to content

Commit f494c24

Browse files
committed
remove old template folder
1 parent 5ed139a commit f494c24

6 files changed

Lines changed: 5 additions & 29 deletions

File tree

development/notes/plan_forkable_filesystem_rl_scenario.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ This strategy is preferred over `docker commit` for `mcp/filesystem` because the
5757

5858
### 4.1. Prepare Host Template Directory
5959

60-
* Create a directory structure on the host, e.g.:
60+
* Create a directory structure on the host at a path of your choice, e.g.:
6161
```
62-
./mcp_agent_test_templates/fs_move_scenario/
62+
/path/to/fs_move_scenario/
6363
├── source_dir/
6464
│ └── file_to_move.txt (contains "Hello from source")
6565
└── target_dir/ (empty)
@@ -76,7 +76,7 @@ This strategy is preferred over `docker commit` for `mcp/filesystem` because the
7676
mcp_transport: "stdio"
7777
docker_image: "mcp/filesystem"
7878
container_command: ["/data"] # Served directory inside container
79-
template_data_path_host: "./mcp_agent_test_templates/fs_move_scenario/" # Path to host template
79+
template_data_path_host: "/path/to/fs_move_scenario/" # Path to host template
8080
# container_volumes can be omitted or will be overridden if template_data_path_host is used for filesystem type
8181
```
8282

examples/mcp_agent_filesystem_rl/test_example.py

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Test script for MCP Agent Filesystem RL Example
44
55
This script verifies that the example setup is working correctly by:
6-
1. Testing the template directory structure
6+
1. Testing the dataset format
77
2. Testing the reward function with mock data
88
3. Testing MCP server connectivity (if running)
99
"""
@@ -17,32 +17,12 @@
1717
# Add the eval-protocol package to the path
1818
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
1919

20-
from eval_protocol.models import ( # Ensure EvaluateResult is imported
20+
from eval_protocol.models import (
2121
EvaluateResult,
2222
Message,
2323
)
2424

2525

26-
def test_template_structure():
27-
"""Test that the template directory has the correct structure."""
28-
print("Testing template directory structure...")
29-
30-
# Construct path relative to this test file, then go to project root and find the template
31-
base_path = Path(__file__).parent.parent.parent
32-
template_path = base_path / "mcp_agent_test_templates" / "fs_rl_example_scenario"
33-
34-
# Check directories exist
35-
assert template_path.exists(), f"Template directory not found: {template_path}"
36-
assert (template_path / "source_files").exists(), "source_files directory missing"
37-
assert (template_path / "archive").exists(), "archive directory missing"
38-
39-
# Check important_document.txt exists
40-
important_doc = template_path / "source_files" / "important_document.txt"
41-
assert important_doc.exists(), "important_document.txt missing from source_files"
42-
43-
print("✓ Template directory structure is correct")
44-
45-
4626
def test_dataset_format():
4727
"""Test that the dataset file is correctly formatted."""
4828
print("Testing dataset format...")

mcp_agent_test_templates/fs_move_scenario/source_dir/file_to_move.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

mcp_agent_test_templates/fs_move_scenario/target_dir/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.

mcp_agent_test_templates/fs_rl_example_scenario/archive/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.

mcp_agent_test_templates/fs_rl_example_scenario/source_files/important_document.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)