refactor: update folder structure and adjust output paths
Browse files- .gitignore +1 -8
- CHANGELOG.md +7 -7
- test/test_phase0_hf_vision_api.py +2 -2
.gitignore
CHANGED
|
@@ -28,8 +28,7 @@ uv.lock
|
|
| 28 |
Thumbs.db
|
| 29 |
|
| 30 |
# User-only folders (manual use, not app runtime)
|
| 31 |
-
|
| 32 |
-
user_output/
|
| 33 |
user_dev/
|
| 34 |
user_archive/
|
| 35 |
|
|
@@ -39,12 +38,6 @@ _cache/
|
|
| 39 |
# Runtime logs (app creates, temporary, for debugging)
|
| 40 |
_log/
|
| 41 |
|
| 42 |
-
# Reference materials (static copies, not in git)
|
| 43 |
-
ref/
|
| 44 |
-
|
| 45 |
-
# Documentation folder (external storage)
|
| 46 |
-
docs/
|
| 47 |
-
|
| 48 |
# Testing
|
| 49 |
.pytest_cache/
|
| 50 |
.coverage
|
|
|
|
| 28 |
Thumbs.db
|
| 29 |
|
| 30 |
# User-only folders (manual use, not app runtime)
|
| 31 |
+
user_io/
|
|
|
|
| 32 |
user_dev/
|
| 33 |
user_archive/
|
| 34 |
|
|
|
|
| 38 |
# Runtime logs (app creates, temporary, for debugging)
|
| 39 |
_log/
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
# Testing
|
| 42 |
.pytest_cache/
|
| 43 |
.coverage
|
CHANGELOG.md
CHANGED
|
@@ -486,7 +486,7 @@ submission_data = {
|
|
| 486 |
4. **Our additions are OPTIONAL** - debug/features we added
|
| 487 |
5. **Original template is 8777 bytes** - ours is 32722 bytes (4x larger)
|
| 488 |
|
| 489 |
-
**Reference:** `
|
| 490 |
|
| 491 |
---
|
| 492 |
|
|
@@ -498,7 +498,7 @@ submission_data = {
|
|
| 498 |
|
| 499 |
1. Cloned original template to `/Users/mangubee/Downloads/Final_Assignment_Template`
|
| 500 |
2. Removed git-specific files (`.git/` folder, `.gitattributes`)
|
| 501 |
-
3. Copied to project as `
|
| 502 |
4. Cleaned up temporary clone from Downloads
|
| 503 |
|
| 504 |
**Why Static Reference:**
|
|
@@ -518,18 +518,18 @@ submission_data = {
|
|
| 518 |
|
| 519 |
```bash
|
| 520 |
# Compare file sizes
|
| 521 |
-
ls -lh
|
| 522 |
|
| 523 |
# See differences
|
| 524 |
-
diff
|
| 525 |
|
| 526 |
# Count lines added
|
| 527 |
-
wc -l app.py
|
| 528 |
```
|
| 529 |
|
| 530 |
**Created Files:**
|
| 531 |
|
| 532 |
-
- **\
|
| 533 |
|
| 534 |
---
|
| 535 |
|
|
@@ -558,7 +558,7 @@ wc -l app.py ref/project_template_original/app.py
|
|
| 558 |
- Remote: `mangubee/agentbee` (renamed on HuggingFace)
|
| 559 |
- Sync: ✅ All changes pushed
|
| 560 |
- Git: All commits synced
|
| 561 |
-
- Template: `
|
| 562 |
|
| 563 |
---
|
| 564 |
|
|
|
|
| 486 |
4. **Our additions are OPTIONAL** - debug/features we added
|
| 487 |
5. **Original template is 8777 bytes** - ours is 32722 bytes (4x larger)
|
| 488 |
|
| 489 |
+
**Reference:** `user_io/reference/project_template_original/app.py` for original structure
|
| 490 |
|
| 491 |
---
|
| 492 |
|
|
|
|
| 498 |
|
| 499 |
1. Cloned original template to `/Users/mangubee/Downloads/Final_Assignment_Template`
|
| 500 |
2. Removed git-specific files (`.git/` folder, `.gitattributes`)
|
| 501 |
+
3. Copied to project as `user_io/reference/project_template_original/` (static reference, no git)
|
| 502 |
4. Cleaned up temporary clone from Downloads
|
| 503 |
|
| 504 |
**Why Static Reference:**
|
|
|
|
| 518 |
|
| 519 |
```bash
|
| 520 |
# Compare file sizes
|
| 521 |
+
ls -lh user_io/reference/project_template_original/app.py app.py
|
| 522 |
|
| 523 |
# See differences
|
| 524 |
+
diff user_io/reference/project_template_original/app.py app.py
|
| 525 |
|
| 526 |
# Count lines added
|
| 527 |
+
wc -l app.py user_io/reference/project_template_original/app.py
|
| 528 |
```
|
| 529 |
|
| 530 |
**Created Files:**
|
| 531 |
|
| 532 |
+
- **\user_io/reference/project_template_original/** (NEW) - Static reference to original template (3 files)
|
| 533 |
|
| 534 |
---
|
| 535 |
|
|
|
|
| 558 |
- Remote: `mangubee/agentbee` (renamed on HuggingFace)
|
| 559 |
- Sync: ✅ All changes pushed
|
| 560 |
- Git: All commits synced
|
| 561 |
+
- Template: `user_io/reference/project_template_original/` added for comparison
|
| 562 |
|
| 563 |
---
|
| 564 |
|
test/test_phase0_hf_vision_api.py
CHANGED
|
@@ -364,8 +364,8 @@ if __name__ == "__main__":
|
|
| 364 |
from datetime import datetime
|
| 365 |
|
| 366 |
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 367 |
-
output_dir = Path("
|
| 368 |
-
output_dir.mkdir(exist_ok=True)
|
| 369 |
|
| 370 |
output_file = output_dir / f"phase0_vision_validation_{timestamp}.json"
|
| 371 |
with open(output_file, "w") as f:
|
|
|
|
| 364 |
from datetime import datetime
|
| 365 |
|
| 366 |
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 367 |
+
output_dir = Path("user_io/result_ServerApp")
|
| 368 |
+
output_dir.mkdir(parents=True, exist_ok=True)
|
| 369 |
|
| 370 |
output_file = output_dir / f"phase0_vision_validation_{timestamp}.json"
|
| 371 |
with open(output_file, "w") as f:
|