blackopsrepl commited on
Commit
0965204
Β·
1 Parent(s): 724daf3

chore: update docs and test data

Browse files
Files changed (3) hide show
  1. README.md +8 -3
  2. src/app.py +8 -14
  3. tests/data/calendar.ics +58 -55
README.md CHANGED
@@ -175,18 +175,23 @@ Currently, the **Gradio web demo** and **MCP personal tool** operate as separate
175
  cd yuga-planner
176
  ```
177
 
178
- 2. **Install dependencies:**
 
 
 
 
 
179
  ```bash
180
  make install
181
  ```
182
 
183
- 3. **Set up environment variables / secrets:**
184
  ```bash
185
  make setup-secrets
186
  # Then edit tests/secrets/cred.py to add your API credentials
187
  ```
188
 
189
- 4. **Run the app:**
190
  ```bash
191
  make run
192
  ```
 
175
  cd yuga-planner
176
  ```
177
 
178
+ 2. **Create a virtual environment:**
179
+ ```bash
180
+ make venv
181
+ ```
182
+
183
+ 3. **Install dependencies:**
184
  ```bash
185
  make install
186
  ```
187
 
188
+ 4. **Set up environment variables / secrets:**
189
  ```bash
190
  make setup-secrets
191
  # Then edit tests/secrets/cred.py to add your API credentials
192
  ```
193
 
194
+ 5. **Run the app:**
195
  ```bash
196
  make run
197
  ```
src/app.py CHANGED
@@ -51,8 +51,14 @@ def app(debug: bool = False):
51
  with gr.Blocks() as demo:
52
  gr.Markdown(
53
  """
54
- # Yuga Planner
55
- Yuga Planner is a neuro-symbolic system prototype: it provides an agent-powered team scheduling and task allocation platform built on [Gradio](https://gradio.app/).
 
 
 
 
 
 
56
  """
57
  )
58
 
@@ -66,18 +72,6 @@ def app(debug: bool = False):
66
 
67
  def _draw_info_page(debug: bool = False):
68
  with gr.Tab("πŸ“‹ Information"):
69
- gr.Markdown(
70
- """
71
- # 🐍 Yuga Planner
72
-
73
- **Yuga Planner** is a neuro-symbolic system that combines AI agents with constraint optimization
74
- for intelligent scheduling.
75
-
76
- ## πŸ”Œ **Using as MCP Tool**
77
-
78
- You can use Yuga Planner as an MCP server to integrate scheduling into your AI workflows.
79
- """
80
- )
81
 
82
  def get_server_url():
83
  try:
 
51
  with gr.Blocks() as demo:
52
  gr.Markdown(
53
  """
54
+ # 🐍 Yuga Planner
55
+
56
+ **Yuga Planner** is a neuro-symbolic system that combines AI agents with constraint optimization
57
+ for intelligent scheduling.
58
+
59
+ ## πŸ”Œ **Using as MCP Tool**
60
+
61
+ You can use Yuga Planner as an MCP server to integrate scheduling into your AI workflows.
62
  """
63
  )
64
 
 
72
 
73
  def _draw_info_page(debug: bool = False):
74
  with gr.Tab("πŸ“‹ Information"):
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
  def get_server_url():
77
  try:
tests/data/calendar.ics CHANGED
@@ -1,56 +1,59 @@
1
- BEGIN:VCALENDAR
2
- VERSION:2.0
3
- PRODID:-//Mock Calendar//EN
4
- CALSCALE:GREGORIAN
5
-
6
- BEGIN:VEVENT
7
- UID:recur-meeting-1@mock
8
- DTSTAMP:20240523T000000Z
9
- DTSTART;TZID=UTC:20250603T100000
10
- DTEND;TZID=UTC:20250603T110000
11
- RRULE:FREQ=WEEKLY;BYDAY=TU,TH
12
- SUMMARY:Team Sync
13
- END:VEVENT
14
-
15
- BEGIN:VEVENT
16
- UID:recur-meeting-2@mock
17
- DTSTAMP:20240523T000000Z
18
- DTSTART;TZID=UTC:20250602T143000
19
- DTEND;TZID=UTC:20250602T153000
20
- RRULE:FREQ=WEEKLY;BYDAY=MO,WE,FR
21
- SUMMARY:Project Review
22
- END:VEVENT
23
-
24
- BEGIN:VEVENT
25
- UID:single-event-1@mock
26
- DTSTAMP:20240523T000000Z
27
- DTSTART;TZID=UTC:20250605T133000
28
- DTEND;TZID=UTC:20250605T143000
29
- SUMMARY:Client Call
30
- END:VEVENT
31
-
32
- BEGIN:VEVENT
33
- UID:single-event-2@mock
34
- DTSTAMP:20240523T000000Z
35
- DTSTART;TZID=UTC:20250616T143000
36
- DTEND;TZID=UTC:20250616T153000
37
- SUMMARY:Workshop
38
- END:VEVENT
39
-
40
- BEGIN:VEVENT
41
- UID:single-event-3@mock
42
- DTSTAMP:20240523T000000Z
43
- DTSTART;TZID=UTC:20250707T150000
44
- DTEND;TZID=UTC:20250707T160000
45
- SUMMARY:Planning Session
46
- END:VEVENT
47
-
48
- BEGIN:VEVENT
49
- UID:single-event-4@mock
50
- DTSTAMP:20240523T000000Z
51
- DTSTART;TZID=UTC:20250722T100000
52
- DTEND;TZID=UTC:20250722T110000
53
- SUMMARY:Demo
54
- END:VEVENT
55
-
 
 
 
56
  END:VCALENDAR
 
1
+ BEGIN:VCALENDAR
2
+ VERSION:2.0
3
+ PRODID:-//ical.marudot.com//iCal Event Maker
4
+ CALSCALE:GREGORIAN
5
+ BEGIN:VTIMEZONE
6
+ TZID:Africa/Lagos
7
+ LAST-MODIFIED:20240422T053450Z
8
+ TZURL:https://www.tzurl.org/zoneinfo-outlook/Africa/Lagos
9
+ X-LIC-LOCATION:Africa/Lagos
10
+ BEGIN:STANDARD
11
+ TZNAME:WAT
12
+ TZOFFSETFROM:+0100
13
+ TZOFFSETTO:+0100
14
+ DTSTART:19700101T000000
15
+ END:STANDARD
16
+ END:VTIMEZONE
17
+ BEGIN:VEVENT
18
+ DTSTAMP:20250620T134120Z
19
+ UID:recur-meeting-2@mock
20
+ DTSTART;TZID=Africa/Lagos:20250602T150000
21
+ DTEND;TZID=Africa/Lagos:20250602T160000
22
+ SUMMARY:Project Review
23
+ END:VEVENT
24
+ BEGIN:VEVENT
25
+ DTSTAMP:20250620T134120Z
26
+ UID:recur-meeting-1@mock
27
+ DTSTART;TZID=Africa/Lagos:20250603T100000
28
+ DTEND;TZID=Africa/Lagos:20250603T110000
29
+ SUMMARY:Team Sync
30
+ END:VEVENT
31
+ BEGIN:VEVENT
32
+ DTSTAMP:20250620T134120Z
33
+ UID:single-event-1@mock
34
+ DTSTART;TZID=Africa/Lagos:20250605T140000
35
+ DTEND;TZID=Africa/Lagos:20250605T150000
36
+ SUMMARY:Client Call
37
+ END:VEVENT
38
+ BEGIN:VEVENT
39
+ DTSTAMP:20250620T134120Z
40
+ UID:single-event-2@mock
41
+ DTSTART;TZID=Africa/Lagos:20250616T160000
42
+ DTEND;TZID=Africa/Lagos:20250616T170000
43
+ SUMMARY:Workshop
44
+ END:VEVENT
45
+ BEGIN:VEVENT
46
+ DTSTAMP:20250620T134120Z
47
+ UID:single-event-3@mock
48
+ DTSTART;TZID=Africa/Lagos:20250707T110000
49
+ DTEND;TZID=Africa/Lagos:20250707T120000
50
+ SUMMARY:Planning Session
51
+ END:VEVENT
52
+ BEGIN:VEVENT
53
+ DTSTAMP:20250620T134120Z
54
+ UID:single-event-4@mock
55
+ DTSTART;TZID=Africa/Lagos:20250722T090000
56
+ DTEND;TZID=Africa/Lagos:20250722T100000
57
+ SUMMARY:Demo
58
+ END:VEVENT
59
  END:VCALENDAR