Spaces:
Runtime error
Runtime error
levisstrauss commited on
Commit Β·
bae7f79
1
Parent(s): f8b002a
Fix alignment
Browse files
app.py
CHANGED
|
@@ -868,44 +868,44 @@ class ProjectPlannerWorkflow:
|
|
| 868 |
# Build the plan document
|
| 869 |
plan = f"""# π Project Plan
|
| 870 |
|
| 871 |
-
|
| 872 |
-
|
| 873 |
-
|
| 874 |
-
|
| 875 |
-
|
| 876 |
-
|
| 877 |
-
|
| 878 |
-
|
| 879 |
-
|
| 880 |
-
|
| 881 |
-
|
| 882 |
-
|
| 883 |
-
|
| 884 |
-
|
| 885 |
-
|
| 886 |
-
|
| 887 |
-
|
| 888 |
-
{user_stories}
|
| 889 |
-
|
| 890 |
-
---
|
| 891 |
-
|
| 892 |
-
## π¦ Product Features
|
| 893 |
-
|
| 894 |
-
{features}
|
| 895 |
-
|
| 896 |
-
---
|
| 897 |
-
|
| 898 |
-
## π§ Engineering Tasks
|
| 899 |
-
|
| 900 |
-
{tasks}
|
| 901 |
-
|
| 902 |
-
---
|
| 903 |
-
|
| 904 |
-
## π Workflow Log
|
| 905 |
|
| 906 |
-
|
| 907 |
-
|
| 908 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 909 |
|
| 910 |
# Add each log entry as a proper table row
|
| 911 |
for log_entry in self.workflow_log:
|
|
@@ -915,20 +915,20 @@ class ProjectPlannerWorkflow:
|
|
| 915 |
|
| 916 |
# Add footer
|
| 917 |
plan += """
|
| 918 |
-
|
| 919 |
-
|
| 920 |
-
|
| 921 |
-
|
| 922 |
-
|
| 923 |
-
|
| 924 |
-
|
| 925 |
-
|
| 926 |
-
|
| 927 |
-
|
| 928 |
-
|
| 929 |
-
|
| 930 |
-
|
| 931 |
-
|
| 932 |
|
| 933 |
return plan
|
| 934 |
|
|
|
|
| 868 |
# Build the plan document
|
| 869 |
plan = f"""# π Project Plan
|
| 870 |
|
| 871 |
+
**Generated:** {datetime.now().strftime("%Y-%m-%d %H:%M")}
|
| 872 |
+
|
| 873 |
+
---
|
| 874 |
+
|
| 875 |
+
## π Summary Statistics
|
| 876 |
+
|
| 877 |
+
| Metric | Count |
|
| 878 |
+
|--------|-------|
|
| 879 |
+
| User Stories | {self.stats['user_stories']} |
|
| 880 |
+
| Product Features | {self.stats['features']} |
|
| 881 |
+
| Engineering Tasks | {self.stats['tasks']} |
|
| 882 |
+
| Evaluation Iterations | {self.stats['iterations']} |
|
| 883 |
+
|
| 884 |
+
---
|
| 885 |
+
|
| 886 |
+
## π€ User Stories
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 887 |
|
| 888 |
+
{user_stories}
|
| 889 |
+
|
| 890 |
+
---
|
| 891 |
+
|
| 892 |
+
## π¦ Product Features
|
| 893 |
+
|
| 894 |
+
{features}
|
| 895 |
+
|
| 896 |
+
---
|
| 897 |
+
|
| 898 |
+
## π§ Engineering Tasks
|
| 899 |
+
|
| 900 |
+
{tasks}
|
| 901 |
+
|
| 902 |
+
---
|
| 903 |
+
|
| 904 |
+
## π Workflow Log
|
| 905 |
+
|
| 906 |
+
| Time | Level | Message |
|
| 907 |
+
|------|-------|---------|
|
| 908 |
+
"""
|
| 909 |
|
| 910 |
# Add each log entry as a proper table row
|
| 911 |
for log_entry in self.workflow_log:
|
|
|
|
| 915 |
|
| 916 |
# Add footer
|
| 917 |
plan += """
|
| 918 |
+
---
|
| 919 |
+
|
| 920 |
+
## β
Next Steps
|
| 921 |
+
|
| 922 |
+
1. Review and prioritize the user stories with stakeholders
|
| 923 |
+
2. Validate feature groupings with the product team
|
| 924 |
+
3. Estimate engineering tasks with the development team
|
| 925 |
+
4. Create sprint plan based on dependencies
|
| 926 |
+
5. Set up project tracking in your preferred tool (Jira, Linear, etc.)
|
| 927 |
+
|
| 928 |
+
---
|
| 929 |
+
|
| 930 |
+
*Generated by AI Project Planner | Powered by GPT-3.5*
|
| 931 |
+
"""
|
| 932 |
|
| 933 |
return plan
|
| 934 |
|