Varshith dharmaj commited on
Commit
a3ed50f
ยท
verified ยท
1 Parent(s): 13d7e9f

Upload docs/QUICKSTART.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. docs/QUICKSTART.md +172 -172
docs/QUICKSTART.md CHANGED
@@ -1,172 +1,172 @@
1
- # ๐Ÿš€ QUICK START GUIDE - MVMยฒ
2
-
3
- ## โšก Fastest Way to Get Started
4
-
5
- ### Step 1: Open Terminal in Project Directory
6
- ```bash
7
- cd c:\Users\Varshith Dharmaj\Downloads\major\math_verification_mvp
8
- ```
9
-
10
- ### Step 2: Run the Startup Script
11
- ```powershell
12
- .\start.ps1
13
- ```
14
-
15
- Choose option **2** for quick demo (Dashboard Only)
16
-
17
- ---
18
-
19
- ## ๐Ÿ“‹ What You'll See
20
-
21
- 1. **Dashboard opens at:** http://localhost:8501
22
- 2. **Two input modes:**
23
- - ๐Ÿ“ **Text Input** - Try the pre-filled example
24
- - ๐Ÿ“ท **Image Upload** - Upload a handwritten math problem
25
-
26
- 3. **Click "Verify Solution"** to see results
27
-
28
- ---
29
-
30
- ## ๐Ÿงช Testing the System
31
-
32
- ### Quick Test (No Services Required)
33
- The dashboard will work in demo mode even without microservices running.
34
-
35
- ### Full Test (All Services)
36
- ```powershell
37
- .\start.ps1
38
- ```
39
- Choose option **1** - This opens 4 windows:
40
- - OCR Service (Port 8001)
41
- - SymPy Service (Port 8002)
42
- - LLM Service (Port 8003)
43
- - Dashboard (Port 8501)
44
-
45
- ---
46
-
47
- ## ๐ŸŽฏ Try These Examples
48
-
49
- ### Example 1: Valid Solution โœ…
50
- **Problem:** "Janet has 3 apples. She buys 2 more. She gives 1 away."
51
-
52
- **Steps:**
53
- ```
54
- Janet starts with 3 apples
55
- She buys 2 more: 3 + 2 = 5 apples
56
- She gives 1 away: 5 - 1 = 4 apples
57
- ```
58
-
59
- **Expected:** VALID with high confidence
60
-
61
- ---
62
-
63
- ### Example 2: Error Detection โŒ
64
- **Problem:** "There are 5 boxes with 8 apples each."
65
-
66
- **Steps:**
67
- ```
68
- Number of boxes = 5
69
- Apples per box = 8
70
- Total = 5 ร— 8 = 45
71
- ```
72
-
73
- **Expected:** ERROR detected (5 ร— 8 = 40, not 45)
74
-
75
- ---
76
-
77
- ## ๐Ÿ”ง Prerequisites
78
-
79
- ### Required (Basic Demo)
80
- - โœ… Python 3.10+
81
- - โœ… Virtual environment (./start.ps1 creates this automatically)
82
-
83
- ### Optional (Full Features)
84
- - Tesseract OCR (for image processing)
85
- - Gemini API Key (for LLM reasoning)
86
-
87
- ---
88
-
89
- ## ๐Ÿ“ฆ Installing Additional Components
90
-
91
- ### Tesseract OCR (for Image Mode)
92
- 1. Download: https://github.com/tesseract-ocr/tesseract
93
- 2. Install and add to PATH
94
- 3. Restart terminal
95
-
96
- ### Gemini API Key (for LLM Features)
97
- 1. Get free key: https://ai.google.dev/
98
- 2. Copy `.env.template` to `.env`
99
- 3. Add: `GEMINI_API_KEY=your_key_here`
100
-
101
- ---
102
-
103
- ## ๐Ÿ› Troubleshooting
104
-
105
- ### "Module not found"
106
- ```powershell
107
- .\venv\Scripts\Activate.ps1
108
- pip install -r requirements.txt
109
- ```
110
-
111
- ### "Port already in use"
112
- Close any applications using ports 8001-8003, 8501
113
-
114
- ### Services not connecting
115
- - Check if all service windows are still open
116
- - Look for error messages in service windows
117
- - Restart the startup script
118
-
119
- ---
120
-
121
- ## ๐Ÿ“Š What to Expect
122
-
123
- ### Performance Metrics
124
- - โฑ๏ธ Processing time: 1-5 seconds per problem
125
- - ๐ŸŽฏ Accuracy: 68%+ on valid test cases
126
- - ๐Ÿ” Error detection: 78%+ when errors present
127
-
128
- ### Features Working
129
- - โœ… Text input verification
130
- - โœ… Multi-model consensus
131
- - โœ… Error detection and reporting
132
- - โœ… Confidence scoring
133
- - โœ… Agreement analysis
134
-
135
- ### Image Input (Requires Tesseract)
136
- - ๐Ÿ“ท Handwritten math problems
137
- - ๐Ÿ“„ Printed worksheets
138
- - ๐Ÿ–ผ๏ธ Whiteboard photos
139
-
140
- ---
141
-
142
- ## ๐ŸŽ“ Research Features Demonstrated
143
-
144
- 1. **Multimodal Input** - Accept both text and images
145
- 2. **Weighted Consensus** - Symbolic (40%), LLM (35%), ML (25%)
146
- 3. **OCR-Aware Calibration** - Novel uncertainty propagation
147
- 4. **Real-time Processing** - <5 second response time
148
-
149
- ---
150
-
151
- ## ๐Ÿ“ž Next Steps
152
-
153
- 1. โœ… **Test basic functionality** - Run the text examples
154
- 2. โšก **Try image upload** - If you have Tesseract installed
155
- 3. ๐Ÿงช **Run automated tests** - `python tests/test_system.py`
156
- 4. ๐Ÿ“Š **Collect data** - Test with your own math problems
157
- 5. ๐ŸŽจ **Customize** - Modify weights, add more patterns
158
-
159
- ---
160
-
161
- ## ๐Ÿ†˜ Need Help?
162
-
163
- Check the full README.md for:
164
- - Detailed architecture
165
- - API documentation
166
- - Advanced configuration
167
- - Deployment options
168
-
169
- ---
170
-
171
- **MVMยฒ** - Making Mathematical Verification Multimodal
172
- VNR VJIET Major Project 2025
 
1
+ # ๐Ÿš€ QUICK START GUIDE - MVMยฒ
2
+
3
+ ## โšก Fastest Way to Get Started
4
+
5
+ ### Step 1: Open Terminal in Project Directory
6
+ ```bash
7
+ cd c:\Users\Varshith Dharmaj\Downloads\major\math_verification_mvp
8
+ ```
9
+
10
+ ### Step 2: Run the Startup Script
11
+ ```powershell
12
+ .\start.ps1
13
+ ```
14
+
15
+ Choose option **2** for quick demo (Dashboard Only)
16
+
17
+ ---
18
+
19
+ ## ๐Ÿ“‹ What You'll See
20
+
21
+ 1. **Dashboard opens at:** http://localhost:8501
22
+ 2. **Two input modes:**
23
+ - ๐Ÿ“ **Text Input** - Try the pre-filled example
24
+ - ๐Ÿ“ท **Image Upload** - Upload a handwritten math problem
25
+
26
+ 3. **Click "Verify Solution"** to see results
27
+
28
+ ---
29
+
30
+ ## ๐Ÿงช Testing the System
31
+
32
+ ### Quick Test (No Services Required)
33
+ The dashboard will work in demo mode even without microservices running.
34
+
35
+ ### Full Test (All Services)
36
+ ```powershell
37
+ .\start.ps1
38
+ ```
39
+ Choose option **1** - This opens 4 windows:
40
+ - OCR Service (Port 8001)
41
+ - SymPy Service (Port 8002)
42
+ - LLM Service (Port 8003)
43
+ - Dashboard (Port 8501)
44
+
45
+ ---
46
+
47
+ ## ๐ŸŽฏ Try These Examples
48
+
49
+ ### Example 1: Valid Solution โœ…
50
+ **Problem:** "Janet has 3 apples. She buys 2 more. She gives 1 away."
51
+
52
+ **Steps:**
53
+ ```
54
+ Janet starts with 3 apples
55
+ She buys 2 more: 3 + 2 = 5 apples
56
+ She gives 1 away: 5 - 1 = 4 apples
57
+ ```
58
+
59
+ **Expected:** VALID with high confidence
60
+
61
+ ---
62
+
63
+ ### Example 2: Error Detection โŒ
64
+ **Problem:** "There are 5 boxes with 8 apples each."
65
+
66
+ **Steps:**
67
+ ```
68
+ Number of boxes = 5
69
+ Apples per box = 8
70
+ Total = 5 ร— 8 = 45
71
+ ```
72
+
73
+ **Expected:** ERROR detected (5 ร— 8 = 40, not 45)
74
+
75
+ ---
76
+
77
+ ## ๐Ÿ”ง Prerequisites
78
+
79
+ ### Required (Basic Demo)
80
+ - โœ… Python 3.10+
81
+ - โœ… Virtual environment (./start.ps1 creates this automatically)
82
+
83
+ ### Optional (Full Features)
84
+ - Tesseract OCR (for image processing)
85
+ - Gemini API Key (for LLM reasoning)
86
+
87
+ ---
88
+
89
+ ## ๐Ÿ“ฆ Installing Additional Components
90
+
91
+ ### Tesseract OCR (for Image Mode)
92
+ 1. Download: https://github.com/tesseract-ocr/tesseract
93
+ 2. Install and add to PATH
94
+ 3. Restart terminal
95
+
96
+ ### Gemini API Key (for LLM Features)
97
+ 1. Get free key: https://ai.google.dev/
98
+ 2. Copy `.env.template` to `.env`
99
+ 3. Add: `GEMINI_API_KEY=your_key_here`
100
+
101
+ ---
102
+
103
+ ## ๐Ÿ› Troubleshooting
104
+
105
+ ### "Module not found"
106
+ ```powershell
107
+ .\venv\Scripts\Activate.ps1
108
+ pip install -r requirements.txt
109
+ ```
110
+
111
+ ### "Port already in use"
112
+ Close any applications using ports 8001-8003, 8501
113
+
114
+ ### Services not connecting
115
+ - Check if all service windows are still open
116
+ - Look for error messages in service windows
117
+ - Restart the startup script
118
+
119
+ ---
120
+
121
+ ## ๐Ÿ“Š What to Expect
122
+
123
+ ### Performance Metrics
124
+ - โฑ๏ธ Processing time: 1-5 seconds per problem
125
+ - ๐ŸŽฏ Accuracy: 68%+ on valid test cases
126
+ - ๐Ÿ” Error detection: 78%+ when errors present
127
+
128
+ ### Features Working
129
+ - โœ… Text input verification
130
+ - โœ… Multi-model consensus
131
+ - โœ… Error detection and reporting
132
+ - โœ… Confidence scoring
133
+ - โœ… Agreement analysis
134
+
135
+ ### Image Input (Requires Tesseract)
136
+ - ๐Ÿ“ท Handwritten math problems
137
+ - ๐Ÿ“„ Printed worksheets
138
+ - ๐Ÿ–ผ๏ธ Whiteboard photos
139
+
140
+ ---
141
+
142
+ ## ๐ŸŽ“ Research Features Demonstrated
143
+
144
+ 1. **Multimodal Input** - Accept both text and images
145
+ 2. **Weighted Consensus** - Symbolic (40%), LLM (35%), ML (25%)
146
+ 3. **OCR-Aware Calibration** - Novel uncertainty propagation
147
+ 4. **Real-time Processing** - <5 second response time
148
+
149
+ ---
150
+
151
+ ## ๐Ÿ“ž Next Steps
152
+
153
+ 1. โœ… **Test basic functionality** - Run the text examples
154
+ 2. โšก **Try image upload** - If you have Tesseract installed
155
+ 3. ๐Ÿงช **Run automated tests** - `python tests/test_system.py`
156
+ 4. ๐Ÿ“Š **Collect data** - Test with your own math problems
157
+ 5. ๐ŸŽจ **Customize** - Modify weights, add more patterns
158
+
159
+ ---
160
+
161
+ ## ๐Ÿ†˜ Need Help?
162
+
163
+ Check the full README.md for:
164
+ - Detailed architecture
165
+ - API documentation
166
+ - Advanced configuration
167
+ - Deployment options
168
+
169
+ ---
170
+
171
+ **MVMยฒ** - Making Mathematical Verification Multimodal
172
+ VNR VJIET Major Project 2025