curiouscurrent commited on
Commit
d3bd55e
·
verified ·
1 Parent(s): 4df72a0

Create task_parser.py

Browse files
Files changed (1) hide show
  1. coordinator/task_parser.py +15 -0
coordinator/task_parser.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coordinator/task_parser.py
2
+
3
+ def parse_brief(brief: str):
4
+ """
5
+ Minimal parser: splits the brief into simple tasks
6
+ """
7
+ # Very simple splitting by keywords for demonstration
8
+ tasks = []
9
+ if "authentication" in brief:
10
+ tasks.append("Implement authentication system")
11
+ if "task sharing" in brief:
12
+ tasks.append("Implement task sharing feature")
13
+ if "task management" in brief:
14
+ tasks.append("Implement task management module")
15
+ return tasks