A reproducible RL environment for project management: agents make daily staffing, priority, and intervention decisions in the presence of dependencies, disruptions, and delayed consequences, optimizing final delivery outcomes over short-term gains.
Repo VirusHacks/AdaptiveProjectManagerEnv, read from GitHub 6 h ago. VirusHacks has not joined Take My Repo.
VirusHacks/AdaptiveProjectManagerEnv is a public repo on GitHub by VirusHacks. A reproducible RL environment for project management: agents make daily staffing, priority, and intervention decisions in the presence of dependencies, disruptions, and delayed consequences, optimizing final delivery outcomes over short-term gains. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It is written mainly in Python, has 0 stars and last changed on 2026-04-08. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-22.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
An OpenEnv reinforcement learning environment that simulates software project management under uncertainty.
Quick Start · How It Works · Tasks · Reward System · API Reference · Documentation
Software projects fail for predictable, repeatable reasons: critical work discovered late, overloaded teams, shifting priorities, cascading delays. Existing tools track status. They do not decide what to do next.
This environment frames project management as a sequential decision problem and asks:
Given the current project state, what should the manager do today?
The agent must balance five competing objectives every step: delivery speed, budget, team health, scope, and stakeholder satisfaction. No single heuristic solves all states. The best action depends on what has already happened, what is likely to happen next, and how today's choice changes tomorrow's options.
This makes it a natural fit for reinforcement learning: repeated decisions, delayed consequences, multiple conflicting goals, and changing conditions.
Full problem analysis: Problem.md
One environment step simulates one project day. The orchestrator executes in deterministic order:
Scheduled Events → Task Assignments → Work Execution → Burnout Update → Budget Deduction → Reward Calculation → Termination Check
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────────┐
│ Agent / Policy │ ──► │ OpenEnv API │ ──► │ Env Orchestrator │
│ chooses action │ │ reset / step │ │ deterministic order │
└────────┬─────────┘ └────────┬─────────┘ └──────────┬───────────┘
│ │ │
│ ▼ ▼
│ ┌─────────────────┐ ┌───────────────┐
│ │ ProjectState │ ◄─────► │ Task Engine │
│ │ (truth source) │ │ dependencies │
│ │ │ │ effort calc │
│ │ • day, budget │ └───────────────┘
│ │ • tasks [ ] │ ┌───────────────┐
│ │ • employees [ ]│ ◄─────► │ Employee Eng │
│ │ • risks [ ] │ │ burnout/skills│
│ └────────┬────────┘ └───────────────┘
│ │ ┌───────────────┐
│ └────────────────► │ Reward Engine │
│ │ + Grader │
▼ └───────────────┘
┌──────────────────┐
│ Observation Out │ ◄── (obs, reward, done)
└──────────────────┘
Key properties:
Full system design: Architecture.md
Three difficulty levels, each modeling a real software delivery scenario. Difficulty scales through longer horizons, more dependencies, and overlapping disruptions — not just more tasks.
| Task | Scenario | Team | Tasks | Days | Seed | Disruptions |
|---|---|---|---|---|---|---|
easy |
Web Launch | 3 | 5 | 12 | 42 | None |
medium |
MVP Crunch | 4 | 9 | 18 | 1337 | Employee illness (day 6), scope change (day 10) |
hard |
Enterprise Migration | 5 | 14+ | 22 | 9001 | Illness (day 5), production incident (day 7), compliance task (day 9), vendor delay (day 12), burnout cascade (day 15), key person risk (day 18) |
| Policy | Easy | Medium | Hard |
|---|---|---|---|
| Random | 0.15–0.30 | 0.10–0.20 | 0.05–0.15 |
| Heuristic | 0.80–0.95 | 0.55–0.70 | 0.20–0.35 |
| LLM Agent (Qwen 2.5-72B) | 0.91 | 0.65 | 0.30 |
| Strong Agent Target | 0.95+ | 0.75–0.85 | 0.55–0.70 |
The hard task baseline of 0.30 demonstrates the massive complexity of overlapping crises, technical debt, and delayed consequences. The gap between current frontier models (~0.30) and the theoretical ceiling provides a huge optimization curve for RL and Agentic solvers.
Full task specifications: Tasks.md
Every employee tracks a burnout value in [0, 1]. Each day of work increases burnout. Rest decreases it.
burnout += 0.15 × workload − 0.05 × rest
if overtime: burnout += 0.10
if burnout > 0.8: productivity × 0.5
This creates a fundamental tradeoff: pushing the team harder today risks lower output tomorrow. Overtime on day 3 can cause a productivity collapse on day 10. The agent must learn to manage team health across the full episode, not just maximize immediate throughput.
Each task requires a specific skill. Assigning an exact-match employee yields 1.0 productivity. Partial match yields 0.5. No match yields 0.0.
Multiple employees can work on the same task, but coordination overhead applies:
productivity = Σ(skill_scores) × 1 / (1 + 0.15 × (n_assigned − 1))
| Team Size | Effective Output |
|---|---|
| 1 | 1.00× |
| 2 | 1.74× |
| 3 | 2.31× |
This forces a planning decision: concentrate people on one blocker, or distribute them across multiple tasks?
Medium and hard tasks include deterministic disruptions at specific days:
| Event Type | Example | Impact |
|---|---|---|
| Employee absence | Backend lead sick for 3 days | Critical skill unavailable |
| Production incident | Urgent hotfix injected on day 7 | Must triage immediately or lose stakeholder satisfaction |
| Scope change | Payment integration needs +2 days effort | Deadline pressure increases |
| Compliance requirement | New mandatory audit task injected | Scope grows mid-project |
| Vendor delay | External integration delayed +3 days | Blocking dependency extends |
| Burnout cascade | If team burnout > 0.6, QA productivity halves | Delayed consequence of overwork |
| Key person risk | DevOps lead poached, unavailable 2 days | Late-project capacity loss |
Events are seeded, so they occur on the same day every run. The agent must learn to anticipate and mitigate them.
Beyond task assignments, the agent can take strategic actions with long-term consequences:
| Action | Effect | Cost |
|---|---|---|
none |
Normal execution | — |
request_overtime |
+20% productivity | Increases burnout faster |
hire_contractor |
Adds versatile employee | Depletes budget |
defer_low_priority_work |
Blocks low-priority tasks | May lower stakeholder satisfaction |
These are high-impact choices. Using overtime early may prevent a delay, but the accumulated burnout can trigger cascade failures later. Hiring a contractor saves time but consumes budget that affects the final score.
The reward has two components: dense step rewards that shape daily behavior, and a terminal score that evaluates the overall project outcome. This prevents both sparse-reward failure (agent cannot learn) and reward hacking (agent games local signals while ignoring final outcome).
R = 5·Ccrit + 2·Cnorm + 1.5·Dblocked + 0.5·Umatch − 0.25 − 3·Overdue − Pburnout − Preassign
| Component | Value | Purpose |
|---|---|---|
| Complete critical task | +5.0 | Prioritize the critical path |
| Complete normal task | +2.0 | Reward general progress |
| Clear a blocker (critical path bonus) | +1.5 × downstream count | Teach: unblock dependencies first |
| Skill-matched assignment | +0.5 | Reward good resource allocation |
| Time cost per day | −0.25 | Discourage stalling |
| Overdue critical task | −3.0 | Penalize missed deadlines |
| Burnout penalty | −(avg − 0.7) × 4 | Protect team sustainability |
| Unnecessary reassignment | −0.5 | Discourage thrashing |
Anti-exploit measures: The reward explicitly penalizes task-switching loops (+0.5 assignment reward is small enough that the −0.5 reassignment penalty makes farming impossible), idle employees when work exists (−2.0), and repeated useless assignments (−2.0).
At episode end, the grader computes a normalized score in [0.0, 1.0]:
Score = 0.35 × Completion + 0.25 × Deadline + 0.15 × Budget + 0.15 × TeamHealth + 0.10 × Satisfaction
Each component is normalized to [0, 1]. The weights reflect real PM priorities: delivery matters most, but burning the team or blowing the budget produces a lower score even with 100% task completion.
The step reward and terminal grader are intentionally aligned: optimizing step rewards should also optimize the final score. This prevents the common failure where an agent learns to maximize intermediate rewards while producing poor final outcomes.
Full reward rationale, edge cases, and anti-hacking analysis: Reward_Design.md
class ProjectAction(BaseModel):
assignments: List[Assignment] # Employee-to-task assignments
reprioritized_tasks: List[str] # Tasks to escalate to critical
contingency_action: Literal[
"none",
"request_overtime",
"hire_contractor",
"defer_low_priority_work"
]
class Assignment(BaseModel):
employee_id: str
task_id: str
class ProjectObservation(BaseModel):
day: int # Current project day
days_remaining: int # Days until deadline
budget_remaining: float # Remaining budget
project_completion: float # Overall completion (0.0–1.0)
blocked_tasks: int # Tasks that cannot proceed
overdue_tasks: int # Tasks past internal deadline
average_burnout: float # Team health (0.0–1.0)
tasks: List[TaskState] # Full task details
employees: List[EmployeeState] # Full employee details
risks: List[RiskState] # Active risks
message: str # Recent events
done: bool # Episode complete
reward: float # Step reward
class TaskState(BaseModel):
id: str
priority: Literal["low", "medium", "high", "critical"]
status: Literal["todo", "in_progress", "blocked", "done"]
required_skill: str
remaining_effort: float # Continuous: tracks long-running work
dependencies: List[str]
is_critical_path: bool
class EmployeeState(BaseModel):
id: str
skills: List[str]
available: bool
assigned_task_id: Optional[str]
workload: float # 0.0–1.0
burnout: float # 0.0–1.0, >0.8 halves productivity
Complete state/action design rationale: State_Actions.md
git clone <repo-url> && cd adaptive-project-manager
uv sync # or: pip install -e .
cp .env.example .env # Set HF_TOKEN, API_BASE_URL, MODEL_NAME
uv run python inference.py
Required environment variables:
HF_TOKEN=your_hugging_face_token
API_BASE_URL=https://router.huggingface.co/v1
MODEL_NAME=Qwen/Qwen2.5-72B-Instruct
Output format:
[START] task=easy
[STEP] day=2 action={"assignments":[{"e":"emp_1","t":"task_1"}],"contingency":"none"} reward=0.50
[END] task=easy score=0.96
[START] task=medium
...
[END] task=hard score=0.66
[SUMMARY] average_score=0.76
from server.hustlers_env_environment import AdaptiveProjectManagerEnv
from models import ProjectAction, Assignment
env = AdaptiveProjectManagerEnv()
obs = env.reset(task_id="easy")
while not obs.done:
action = ProjectAction(
assignments=[Assignment(employee_id="emp_1", task_id="task_1")],
contingency_action="none"
)
obs = env.step(action)
print(f"Day {obs.day}: {obs.project_completion:.0%} complete, burnout={obs.average_burnout:.2f}")
docker build -t adaptive-project-manager:latest .
docker run -p 8000:8000 adaptive-project-manager:latest
openenv push --repo-id your-username/adaptive-project-manager
uv run python -m pytest test_main.py -v # Unit tests
uv run python test_enhancements.py # Feature tests
All graders verified for bound compliance: scores always in [0.0, 1.0]. Deterministic seeds ensure reproducible results across runs.
Full test results and performance data: RESULTS.md
├── models.py # Pydantic models (Action, Observation, State)
├── client.py # Docker-based environment client
├── inference.py # LLM baseline inference script
├── openenv.yaml # OpenEnv spec configuration
├── pyproject.toml # Dependencies (uv-managed)
├── Dockerfile # Container definition
├── server/
│ ├── app.py # FastAPI application
│ ├── hustlers_env_environment.py # Core environment logic (27KB)
│ └── custom_gradio_ui.py # Interactive dashboard
├── tasks/
│ ├── easy.py # Web Launch scenario (seed 42)
│ ├── medium.py # MVP Crunch scenario (seed 1337)
│ └── hard.py # Enterprise Migration scenario (seed 9001)
└── graders/
├── base_grader.py # Shared multi-dimensional scoring
├── easy_grader.py # Easy task grader
├── medium_grader.py # Medium task grader (event-aware)
└── hard_grader.py # Hard task grader (crisis-aware)
| Requirement | Status | Evidence |
|---|---|---|
openenv validate passes |
Pass | Typed Pydantic models, correct YAML |
reset() returns clean initial state |
Pass | Deterministic per-task seeds |
step() returns (observation, reward, done) |
Pass | Structured response per spec |
state() returns current state |
Pass | Full ProjectState serialization |
| 3+ tasks with graders | Pass | easy, medium, hard with [0.0, 1.0] scores |
| Scores deterministic and reproducible | Pass | Fixed seeds, explicit transition equations |
Baseline inference.py reproduces |
Pass | Scores: 0.96, 0.66, 0.52 |
| Dockerfile builds and runs | Pass | docker build && docker run verified |
| HF Space deploys and responds | Pass | Live Space |
| Runtime < 20 min | Pass | Inference completes in < 5 min |
| Uses OpenAI client | Pass | Reads API_BASE_URL, MODEL_NAME, HF_TOKEN |
| Document | Contents |
|---|---|
| Problem.md | Why project management is a sequential decision problem, why RL is a good fit, and why fixed rules fail |
| Architecture.md | System design, component interactions, runtime flow, determinism guarantees |
| Reward_Design.md | Complete reward function derivation, weight rationale, anti-exploit defenses, discount factor analysis |
| State_Actions.md | Observation and action space design, long-running task model, productivity formula, contingency action semantics |
| Tasks.md | Full task specifications, team compositions, dependency graphs, scheduled events, expected performance ranges |
| RESULTS.md | Unit test results, episode traces, grader verification, performance benchmarks, reward distribution analysis |
| EVALUATION.md | Comprehensive self-evaluation against hackathon rubric, competitive analysis |
| Criterion | Weight | How This Environment Addresses It |
|---|---|---|
| Real-world utility | 30% | Models actual PM decisions: resource allocation, crisis response, scope management. Not a toy or game. |
| Task and grader quality | 25% | Three tasks with genuine difficulty progression. Multi-dimensional grader (completion, deadline, budget, health, satisfaction). Deterministic seeds. Hard task challenges frontier models (0.30 baseline with 6 overlapping crises in 22 days). |
| Environment design | 20% | Dense reward with 8 components including critical path bonus. Anti-exploit penalties. Clean state management with early termination (burnout collapse, deadlock, budget exhaustion). Sensible episode boundaries. Configurable mechanics via named constants. |
| Code quality and spec compliance | 15% | Full OpenEnv spec compliance. Typed Pydantic models. Clean separation of concerns. Working Dockerfile. Live HF Space. Reproducible baseline. |
| Creativity and novelty | 10% | Technical debt (rushing spawns bugs later). Effort estimation uncertainty. Burnout mechanic with delayed consequences. Scheduled crisis events (6 on hard). Production incident mechanic. Contingency actions with long-term tradeoffs. PM domain is rare in RL benchmarks. |
Built for the OpenEnv Hackathon
Problem · Architecture · Rewards · Tasks · Results
VirusHacks/AdaptiveProjectManagerEnv is a public repo on GitHub by VirusHacks. A reproducible RL environment for project management: agents make daily staffing, priority, and intervention decisions in the presence of dependencies, disruptions, and delayed consequences, optimizing final delivery outcomes over short-term gains.
It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-04-08. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
FastAPI framework, high performance, easy to learn, fast to code, ready for production

A MNIST-like fashion product database. Benchmark :point_down:
A curated and opinionated list of resources for Chief Technology Officers, with the emphasis on startups
AI-powered financial news assistant that translates complex articles into any language, verifies facts to stop fake news. Making financial knowledge accessible to everyone

Explore neighbourhood of Delhi through 3d simulation, receive pollution alerts on an Apple Watch, and see alternative routes in action. It turns confusing air-quality numbers into a simple visual experience to help people make more informed everyday travel decision
Commando AI: AI-powered project management using Monte Carlo simulation to predict delivery dates with confidence intervals. Multi-agent AI optimizes resource allocation. Automates workflows across Slack, Discord, Google Drive, Notion. Features real-time meeting transcription and intelligent task automation.

Edify-AI is Google Maps for a student’s career — an AI mentor that turns confusion into clarity by guiding learning, resumes, and interviews with real-time course correction.
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/VirusHacks/AdaptiveProjectManagerEnvTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.