Spaces:
Sleeping
Sleeping
Update final submission roadmap
Browse files112342 unmodified lines789101111121313141514151716171819201921222122232425262728293031232425262733282935363738303140323334353637384239404445464748495051414243444553464755484957585960615051525354556356576558596760616970717273746263646566766768787980818269708471728687887374759076777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413592136137138139949596979899100101102103140141142105143144107108109110111112145146114147148149150116117151152119153154155156121122123124125157158127159160161162163129164165131166167168133134135136169170138171172173140141142143144145174175176147177178149179180151181182183184185186153187188155156157158159160189190191192162193194195164196197166198199168200201202203204205170206207172173174208209210211212176213214178179180215216217218182219220184185186221222188223224190225226192227228194229230231232233234196197198235236200237238202203204239240206241242208209210243244245246247248212249250214251252216253254218255256220221222257258259260261262263224264265226227266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307229308309310311312231232313314234315316317318236319320238239240321322242323324325326327328244245246329330248331332250251333334335336337338339340255256257341342343344# Hackstreet Boys Final Roadmap# Hackstreet Boys Roadmap
## Team
2 unmodified lines - Roopal Guha Neogi - Suyash Kumar- Submission deadline: April 8, 2026, 11:59 PM IST- Current planning checkpoint: April 3, 2026
## How To Use This File## What We Are Optimizing For
- `PROJECT_STATUS.md` is the canonical log of completed work.- This roadmap is now the remaining execution plan from the current merged repo state to final submission.- `analysis/comp.md`, `analysis/comp_know.md`, and `analysis/inference.md` are internal prioritization notes only. Use them to guide priorities, but do not mention competitor repos in public-facing docs.These are the main wins for the final stretch, in order:
## Current Repo State1. **RL improvement**2. **Robustness**3. **Real-world grounding**4. **Submission safety**
The repo has already established the core submission shape:In practice, that means:
- locked IT helpdesk ticket routing domain- locked vocabulary and task names- 3-task difficulty ladder- deterministic grading with partial credit- working heuristic baseline- merged local validation on `/health`, `/tasks`, and `inference.py`- current local benchmark reference: - Task 1: `1.0000` - Task 2: `0.8800` - Task 3: `0.9400` - Overall: `0.9400`- improve the reward and episode behavior only where changes are low-risk and test-backed- add strong automated validation so the repo feels reliable, not hand-wavy- ground our taxonomy and partial-credit choices against real external IT support data without trying to absorb that data into the runtime dataset this late- avoid broad refactors that create new failure modes near submission
The remaining work is no longer broad feature development. The remaining work is:## Honest Scope Call
1. final packaging and deployment readiness2. clean rerun evidence3. small high-impact improvements that strengthen submission quality without risking regressions4. freeze and submit earlyWhat is viable before the deadline:
## Submission Gates That Must Be True- unit tests- smoke tests- focused integration tests- deterministic regression checks- lightweight RL-oriented scoring improvements- grounding audits against public real-world support datasets
These are the practical must-pass items from `PLAN.md` and `KNOWLEDGE.md`:What is **not** viable before the deadline:
- the environment starts correctly- `reset()`, `step()`, and `state()` behave correctly- 3 tasks exist and remain meaningfully different- grader scores stay in `[0.0, 1.0]`- `inference.py` runs reproducibly without crashing- Docker builds and starts cleanly- docs and metadata are current- the repo is easy for judges to understand and rerun- replacing `data/dataset.json` with an external dataset- redesigning the taxonomy from scratch- large architecture rewrites- open-ended benchmark expansion without validation
## Final Priority Order## Guardrails
If time gets tight, prioritize in this exact order:To stay on track:
1. merged Docker and deployment validation2. clean-copy rerun3. README and metadata readiness for Hugging Face / OpenEnv deployment4. small reward and observation improvements that strengthen RL value5. extra polish1. do not merge external datasets into the main runtime dataset before submission2. do not broaden the action schema or rename fields3. do not make reward changes unless tests prove exact, zero, and partial-credit cases clearly4. every Codex-generated code change must end with tests or validation evidence5. prefer small, bounded implementation passes over one large all-at-once rewrite
## Ownership From Now Until Submission## Working Model With Codex
### Roopal ownershipUsing Codex to generate all implementation work is viable **if we keep each ask narrow and verifiable**.
Files already owned:Best pattern:
- `data/dataset.json`- `server/tasks.py`- `server/grader.py`- `README.md`- `KNOWLEDGE.md`- `MENTAL_MODEL.md`1. ask for one bounded change set2. add or update tests in the same pass3. run the relevant checks4. only then move to the next improvement
Roopal mandatory finish-line responsibilities:Bad pattern:
- keep the docs judge-friendly and fully current- add Hugging Face Spaces README frontmatter- keep the task story and public explanation simple and strong- make only safe grader improvements that improve reward quality without destabilizing labels- sync benchmark references in docs if any runtime change alters the numbers- ask for tests, scoring changes, dataset expansion, CI, and docs all in one prompt
Roopal optional high-value improvements:## Last-Mile Phase Plan
- add a short TRL / GRPO usage example to `README.md`- expand the issue-type similarity matrix with only a few safe, reviewable near-miss pairs- add one or two sharper hard-case examples in docs if useful### Phase 1: Test Foundation**Window:** April 3 to April 4
### Suyash ownership**Primary objective:** make the current env provably correct before we tune anything
Deliverables:
- add `pytest`-based test structure- add unit tests for: - `server/grader.py` - `server/reward.py` - `server/tasks.py` - `models.py` where validation matters- add smoke tests for: - environment `reset()` - environment `step()` - deterministic seeded behavior - score range `[0.0, 1.0]`- add focused integration tests for: - FastAPI endpoints such as `/health`, `/tasks`, `/reset`, `/step`, `/state` - one full seeded episode through the app surface
Most important assertions in this phase:
- exact matches score `1.0`- unrelated wrong labels score `0.0`- only approved near-miss pairs receive partial credit- assignment group and resolution action remain exact-match fields- the environment is deterministic when seeded- the baseline path still completes all tasks
Exit criteria:
- tests clearly prove the scorer is **not** "always fuzzy"- core environment behavior is covered by automated checks- we can change scoring logic later without guessing whether we broke it
### Phase 2: RL Improvement Without Big Risk**Window:** April 4 to April 5
**Primary objective:** make the reward surface better for RL while preserving determinism and judge clarity
Allowed improvements in this phase:
- refine `ISSUE_TYPE_SIMILARITY` only where justified and test-backed- tighten priority partial-credit coverage if tests show obvious gaps- improve episode history if it helps multi-step learning and does not complicate grading- add deterministic regression checks around expected baseline behavior- optionally add a safe `queue_size` override in `reset()` only if it is clean and fully tested
Non-goals for this phase:
- no new fields in the public schema- no major reward-architecture refactor- no broad rubric redesign
Decision rule:
- if a proposed RL improvement makes scoring harder to explain, skip it- if it improves learning signal and is easy to test, keep it
Exit criteria:
Files already owned:- reward logic is still simple to explain- exactness is preserved where it should be exact- any extra partial credit is intentional, narrow, and documented by tests
- `models.py`- `server/environment.py`- `server/app.py`- `server/reward.py`- `client.py`- `inference.py`- `openenv.yaml`- `server/Dockerfile`- `pyproject.toml`- `requirements.txt`### Phase 3: Real-World Grounding Audit**Window:** April 5 to April 6
Suyash mandatory finish-line responsibilities:**Primary objective:** show that our labels and ambiguity rules are grounded in real support data, without late-stage dataset merge risk
- keep the runtime stable from the merged branch- confirm Docker evidence on the merged submission branch- add `.openenvignore` for cleaner `openenv push` packaging- verify deployment assumptions around `app_port: 7860`, `/health`, `/docs`, `/ws`, and `/web`- do a clean-copy install-and-run pass from a fresh clone if possible- rerun `inference.py` after any runtime-side changeGrounding approach:
Suyash optional high-value improvements:- audit our taxonomy against public real-world support datasets- use those datasets as reference material, not as direct training/runtime data- document what they validate about our domain, labels, and near-miss structure
- enrich observation history with slightly more useful prior-step context- support an optional `queue_size` reset kwarg if the change stays tiny and low-riskRecommended external references:
### Shared responsibilities- `Classification of IT Support Tickets` (Zenodo): manually classified IT support tickets- `Semantic Similarity of IT Support Tickets` (Zenodo): manually labeled support-ticket similarity pairs- `MSDialog`: Microsoft technical support conversations for realistic support-language patterns
- do not rename schemas or vocabulary- rerun the benchmark after any code change that could affect behavior- keep `PROJECT_STATUS.md` honest- use the GitHub Actions Docker smoke workflow when local Docker is blocked by machine setup- stop adding risky features before the deadline dayConcrete work in this phase:
## Improvements Worth Doing Before April 8- compare our issue types to external category patterns- review whether our ambiguous tickets reflect real support ambiguity- justify or reject candidate partial-credit pairs using external examples- note any obvious taxonomy blind spots for future work
These are the best ideas from the competitive analysis that are still worth doing this late.Important constraint:
### P0: Do before submission- do **not** import external rows into `data/dataset.json` at this stage- do **not** claim full external-dataset benchmarking unless we actually run it
- add Hugging Face Spaces frontmatter to `README.md`- add `.openenvignore`- make sure the merged branch has a green Docker smoke result- do one clean-copy rerun outside the current working tree if possibleExit criteria:
### P1: Do only if the repo remains stable- we can honestly say our environment design is grounded against real support data- any scoring adjustments introduced in Phase 2 have an external rationale, not just intuition
- add a short TRL / GRPO integration example to `README.md`- expand `ISSUE_TYPE_SIMILARITY` with only a few obvious, defensible pairs such as: - `onboarding` vs `service_request` - `feature_request` vs `service_request` - `security_compliance` vs `identity_access`- enrich `history` slightly if it helps multi-step reasoning and does not bloat observations### Phase 4: Hardening And Regression Safety**Window:** April 6 to April 7
### P2: Defer unless everything else is already green**Primary objective:** make the repo reliable from the outside, not just locally understandable
- optional `queue_size` reset overrideDeliverables:
## Improvements To Avoid Before The Deadline- run the full test suite on the merged repo state- keep or improve Docker smoke coverage- if feasible, add CI for `pytest` in addition to Docker smoke- rerun heuristic baseline and confirm it remains stable after test/scoring changes- verify docs still match the implemented behavior
These ideas came up in the analysis, but they are too risky or too large for the remaining time window:Exit criteria:
- MCP migration- transform-based reward refactor- large dataset expansion from 45 to 100 tickets- major schema changes- broad prompt or inference rewrites that could disturb the stable baseline- big dependency-management changes just for polish- runtime behavior, tests, and docs all agree- no unresolved ambiguity remains about the baseline numbers- Docker and app-surface behavior have at least one real validation path
## Date-By-Date Execution Plan### Phase 5: Freeze And Submission Packaging**Window:** April 7 to April 8
### April 6, 2026**Primary objective:** stop taking avoidable risk
Primary goal:Allowed work:
- lock down deployment readiness and clean rerun evidence- bug fixes- doc corrections- metadata fixes- smoke-test reruns- submission packaging
Roopal:Avoid in this phase:
- add Hugging Face Spaces README frontmatter- keep judge-facing README language concise and strong- review whether a small issue-similarity expansion is safe enough to land- new dataset content- scoring experiments- structural refactors- "nice-to-have" features
Suyash:Exit criteria:
- add `.openenvignore`- verify the Docker smoke workflow on the merged branch- do a clean-copy install plus `inference.py` rerun from a fresh clone if possible- the repo is stable- the docs are accurate- the submission story is clear
Shared checkpoint:## Test Strategy
- Docker evidence is green- clean-copy rerun is complete or explicitly blocked- no stale claims remain in docs### Unit Tests
### April 7, 2026Goal:
Primary goal:- prove the scorer, reward helpers, and dataset/task loaders behave exactly as intended
- only high-signal improvements, then freezePriority unit targets:
Roopal:- `grade_action()` exact-match, zero-score, and partial-credit cases- unsupported `task_id` behavior- task weights summing to expected behavior- reward helper bounds- dataset loader behavior including Windows BOM handling
- add a short TRL / GRPO example if it can be written cleanly- make at most one final safe grader improvement if benchmark stability is preserved- do a final docs consistency pass across `README.md`, `KNOWLEDGE.md`, and `MENTAL_MODEL.md`### Smoke Tests
Suyash:Goal:
- make only tiny runtime improvements if they are clearly helpful and low-risk- otherwise freeze the runtime and packaging files- rerun the benchmark if any runtime-side change lands- prove the environment works end to end with minimal assumptions
Shared checkpoint:Priority smoke targets:
- final benchmark numbers recorded if unchanged or freshly rerun if changed- docs, metadata, and runtime all tell the same story- feature work stops by the end of the day- `reset()` returns a valid observation- `step()` advances the queue- final reward stays in `[0.0, 1.0]`- same seed gives the same episode behavior- heuristic baseline completes without crashing
### April 8, 2026### Integration Tests
Primary goal:Goal:
- submit from a calm, validated repo state- prove the real app surface behaves correctly, not just the pure Python helpers
Morning:Priority integration targets:
- run one final smoke test on the submission branch- verify Docker evidence still exists on the merged commit- verify `README.md`, `openenv.yaml`, and required files are present and current- `/health`- `/tasks`- `/reset`- `/step`- `/state`- one full seeded episode through the app or client layer
Afternoon:## RL Improvement Rules
- make only typo-level or packaging-only fixes- do not make risky grader, dataset, or runtime changesWe should improve RL usefulness in ways that keep the env judge-friendly.
Good RL improvements:
- clearer deterministic feedback- better exact-vs-partial boundaries- richer but still simple episode history- deterministic controls that help reproducible rollouts
Bad RL improvements:
- vague similarity expansion without examples- turning exact business-routing fields into fuzzy fields- adding complexity that makes the README harder to explain
## Grounding Rules
Grounding matters, but it must stay lightweight this late.
Good grounding work:
- audit our taxonomy against public support-ticket datasets- use real support phrasing to validate dataset realism- use labeled similarity pairs to justify a few near-miss cases
Bad grounding work:
- rushed ingestion of external datasets- category remapping that forces taxonomy churn- unsupported claims that our scores are benchmarked externally when they are not
## Ownership Split For The Final Stretch
### Roopal ownership
- grounding audit- ticket realism review- documentation updates- competitive-positioning clarity
### Suyash ownership
Final submission rule:- tests- runtime hardening- scoring and reward implementation changes- Docker and integration validation
- stop risky edits several hours before the 11:59 PM IST deadline- submit early if the repo is already green### Shared review items
## What Counts As Complete- any changes to partial-credit rules- any benchmark number updates- final submission claims
### April 6 complete means## Priority Order If Time Gets Tight
- merged Docker validation exists- clean-copy rerun evidence exists or a specific blocker is documented- deployment-readiness files are in placeIf the deadline compresses further, do this exact order:
### April 7 complete means1. unit tests proving non-fuzzy scoring behavior2. smoke and integration tests for seeded deterministic runs3. grounding audit against external real-world support datasets4. low-risk RL reward improvements5. CI and extra polish
- any remaining safe improvements are merged- final benchmark reference is recorded- docs and metadata are frozen## Definition Of Done For This Final Plan
### April 8 complete meansWe are done when:
- final smoke test is done- submission has been sent1. the scorer is test-backed and clearly not "always fuzzy"2. the environment has unit, smoke, and integration coverage3. the main RL improvements are implemented without hurting clarity4. grounding is supported by external real-world support datasets5. Docker, baseline behavior, and docs are all in sync
## Simple Rule To Remember
Roopal owns the story, labels, and public clarity.Suyash owns the runtime, packaging, and reproducibility rails.Both of you should optimize for a clean, rerunnable, judge-friendly submission rather than chasing last-minute complexity.Improve learning signal.Prove correctness.Ground the story in real support data.Do not take late-stage dataset-merging risk.ROADMAP.md+257-170