-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathgenerate_issues.py
More file actions
92 lines (72 loc) · 4.03 KB
/
Copy pathgenerate_issues.py
File metadata and controls
92 lines (72 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import json
import random
modules = [
"Blockchain Learning Simulator",
"Smart Contract Playground",
"Web3 Learning Roadmap",
"Hackathon Project Idea Generator",
"Open Source Contribution Trainer",
"Platform Infrastructure",
"User Dashboard"
]
issue_types = [
{"type": "Frontend", "difficulty": "Beginner", "tech": "React, Tailwind CSS"},
{"type": "Frontend", "difficulty": "Intermediate", "tech": "Next.js, State Management, UI/UX"},
{"type": "Backend", "difficulty": "Intermediate", "tech": "Node.js, Express, PostgreSQL"},
{"type": "Backend", "difficulty": "Hard", "tech": "Node.js, Microservices, Redis"},
{"type": "Smart Contract", "difficulty": "Intermediate", "tech": "Rust, Soroban"},
{"type": "Smart Contract", "difficulty": "Hard", "tech": "Rust, Soroban, DeFi"},
{"type": "DevOps", "difficulty": "Intermediate", "tech": "Docker, CI/CD, GitHub Actions"}
]
action_verbs = ["Implement", "Build", "Create", "Design", "Refactor", "Optimize", "Integrate", "Develop"]
features = [
"User Onboarding Flow", "Interactive Tutorial", "Dark Mode Toggle", "Progress Tracking Dashboard",
"Code Compilation Web Worker", "Real-time Chat", "Project Submission Portal", "Peer Review System",
"Gamification Badges", "Leaderboard", "Wallet Connection Modal", "Transaction History Table",
"Smart Contract Template Library", "Auto-save Feature for Editor", "Error Highlighting in Playground",
"Mobile Responsive Layout", "API Rate Limiting", "OAuth Integration", "Email Notification System",
"Database Indexing", "Caching Layer", "WebSocket Subscriptions", "Analytics Dashboard",
"Content Management System", "Automated Testing Suite", "CI/CD Pipeline", "Documentation Site",
"Stellar Testnet Faucet Integration", "Soroban RPC Endpoint Switcher", "Contract Verification Tool",
"Multi-sig Wallet Support", "Token Vesting UI", "Decentralized Identity Verification",
"Hackathon Team Matching", "Idea Voting Mechanism", "Mentor Booking System",
"Interactive Cryptography Visualizer", "Hash Function Demo", "Merkle Tree Builder",
"P2P Network Simulator", "Consensus Algorithm Sandbox", "Block Explorer Interface",
"Custom RPC URL Support", "Gas Estimation Calculator", "Transaction Visualizer",
"Local Node Setup Script", "GitHub OAuth Login", "PR Simulation Environment",
"Issue Triage Minigame", "Git Conflict Resolution Tutorial", "Open Source License Guide",
"Accessibility Auditing", "i18n Internationalization", "SEO Optimization",
"Performance Profiling", "Security Vulnerability Scanner", "Dependency Update Automation"
]
issues = []
for i in range(739, 739 + 70):
issue_type = random.choice(issue_types)
module = random.choice(modules)
action = random.choice(action_verbs)
feature = random.choice(features)
title = f"#{i} [{issue_type['type']}] {action} {feature} for {module}"
eta = "1-2 days" if issue_type['difficulty'] == "Beginner" else "2-3 days" if issue_type['difficulty'] == "Intermediate" else "3-5 days"
content = f"""{title}
Repo Avatar StellarDevHub/Web3-Student-Lab
🚀 Feature Overview
{action} the {feature} within the {module} module to enhance user experience and platform capabilities.
This is an essential, MVP-critical feature designed to take Web3 Student Lab's curriculum layer to a dynamic, production-ready level.
🛠️ Implementation Requirements
Implement core logic for {feature}.
Ensure compatibility with existing {module} infrastructure.
Add comprehensive tests for new functionality.
🔧 Technical Specifications
{issue_type['tech']}, relevant SDKs.
✅ Acceptance Criteria
Feature is fully functional and passes all automated tests.
Code meets project style guidelines.
Documentation is updated.
🎓 Difficulty Level
{issue_type['difficulty']} - Requires understanding of {issue_type['type']} development.
⏱️ Timeline
ETA: {eta}
"""
issues.append(content)
with open("70_new_issues.md", "w") as f:
f.write("\n".join(issues))
print("Successfully generated 70_new_issues.md")