Spaces:
Sleeping
Sleeping
Update final submission roadmap
Browse files12342 unmodified lines789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257# Hackstreet Boys Final Roadmap## Team2 unmodified lines- Roopal Guha Neogi- Suyash Kumar- Submission deadline: April 8, 2026, 11:59 PM IST## How To Use This File- `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.## Current Repo StateThe repo has already established the core submission shape:- 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`The remaining work is no longer broad feature development. The remaining work is:1. final packaging and deployment readiness2. clean rerun evidence3. small high-impact improvements that strengthen submission quality without risking regressions4. freeze and submit early## Submission Gates That Must Be TrueThese are the practical must-pass items from `PLAN.md` and `KNOWLEDGE.md`:- 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## Final Priority OrderIf time gets tight, prioritize in this exact order: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 polish## Ownership From Now Until Submission### Roopal ownershipFiles already owned:- `data/dataset.json`- `server/tasks.py`- `server/grader.py`- `README.md`- `KNOWLEDGE.md`- `MENTAL_MODEL.md`Roopal mandatory finish-line responsibilities:- 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 numbersRoopal optional high-value improvements:- 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### Suyash ownershipFiles already owned:- `models.py`- `server/environment.py`- `server/app.py`- `server/reward.py`- `client.py`- `inference.py`- `openenv.yaml`- `server/Dockerfile`- `pyproject.toml`- `requirements.txt`Suyash mandatory finish-line responsibilities:- 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 changeSuyash optional high-value improvements:- enrich observation history with slightly more useful prior-step context- support an optional `queue_size` reset kwarg if the change stays tiny and low-risk### Shared responsibilities- 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 day## Improvements Worth Doing Before April 8These are the best ideas from the competitive analysis that are still worth doing this late.### P0: Do before submission- 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 possible### P1: Do only if the repo remains stable- 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### P2: Defer unless everything else is already green- optional `queue_size` reset override## Improvements To Avoid Before The DeadlineThese ideas came up in the analysis, but they are too risky or too large for the remaining time window:- 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## Date-By-Date Execution Plan### April 6, 2026Primary goal:- lock down deployment readiness and clean rerun evidenceRoopal:- 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 landSuyash:- 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 possibleShared checkpoint:- Docker evidence is green- clean-copy rerun is complete or explicitly blocked- no stale claims remain in docs### April 7, 2026Primary goal:- only high-signal improvements, then freezeRoopal:- 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`Suyash:- 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 landsShared checkpoint:- 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### April 8, 2026Primary goal:- submit from a calm, validated repo stateMorning:- 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 currentAfternoon:- make only typo-level or packaging-only fixes- do not make risky grader, dataset, or runtime changesFinal submission rule:- stop risky edits several hours before the 11:59 PM IST deadline- submit early if the repo is already green## What Counts As Complete### April 6 complete means- merged Docker validation exists- clean-copy rerun evidence exists or a specific blocker is documented- deployment-readiness files are in place### April 7 complete means- any remaining safe improvements are merged- final benchmark reference is recorded- docs and metadata are frozen### April 8 complete means- final smoke test is done- submission has been sent## Simple Rule To RememberRoopal 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.12342 unmodified lines789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344# Hackstreet Boys Roadmap## Team2 unmodified lines- Roopal Guha Neogi- Suyash Kumar- Submission deadline: April 8, 2026, 11:59 PM IST- Current planning checkpoint: April 3, 2026## What We Are Optimizing ForThese are the main wins for the final stretch, in order:1. **RL improvement**2. **Robustness**3. **Real-world grounding**4. **Submission safety**In practice, that means:- 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## Honest Scope CallWhat is viable before the deadline:- unit tests- smoke tests- focused integration tests- deterministic regression checks- lightweight RL-oriented scoring improvements- grounding audits against public real-world support datasetsWhat is **not** viable before the deadline:- replacing `data/dataset.json` with an external dataset- redesigning the taxonomy from scratch- large architecture rewrites- open-ended benchmark expansion without validation## GuardrailsTo stay on track:1. 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## Working Model With CodexUsing Codex to generate all implementation work is viable **if we keep each ask narrow and verifiable**.Best pattern: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 improvementBad pattern:- ask for tests, scoring changes, dataset expansion, CI, and docs all in one prompt## Last-Mile Phase Plan### Phase 1: Test Foundation**Window:** April 3 to April 4**Primary objective:** make the current env provably correct before we tune anythingDeliverables:- 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 surfaceMost 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 tasksExit 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 clarityAllowed 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 testedNon-goals for this phase:- no new fields in the public schema- no major reward-architecture refactor- no broad rubric redesignDecision rule:- if a proposed RL improvement makes scoring harder to explain, skip it- if it improves learning signal and is easy to test, keep itExit criteria:- 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### Phase 3: Real-World Grounding Audit**Window:** April 5 to April 6**Primary objective:** show that our labels and ambiguity rules are grounded in real support data, without late-stage dataset merge riskGrounding approach:- 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 structureRecommended external references:- `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 patternsConcrete work in this phase:- 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 workImportant constraint:- do **not** import external rows into `data/dataset.json` at this stage- do **not** claim full external-dataset benchmarking unless we actually run itExit criteria:- 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### Phase 4: Hardening And Regression Safety**Window:** April 6 to April 7**Primary objective:** make the repo reliable from the outside, not just locally understandableDeliverables:- 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 behaviorExit criteria:- 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### Phase 5: Freeze And Submission Packaging**Window:** April 7 to April 8**Primary objective:** stop taking avoidable riskAllowed work:- bug fixes- doc corrections- metadata fixes- smoke-test reruns- submission packagingAvoid in this phase:- new dataset content- scoring experiments- structural refactors- "nice-to-have" featuresExit criteria:- the repo is stable- the docs are accurate- the submission story is clear## Test Strategy### Unit TestsGoal:- prove the scorer, reward helpers, and dataset/task loaders behave exactly as intendedPriority unit targets:- `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### Smoke TestsGoal:- prove the environment works end to end with minimal assumptionsPriority smoke targets:- `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### Integration TestsGoal:- prove the real app surface behaves correctly, not just the pure Python helpersPriority integration targets:- `/health`- `/tasks`- `/reset`- `/step`- `/state`- one full seeded episode through the app or client layer## RL Improvement RulesWe 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 rolloutsBad 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 RulesGrounding 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 casesBad 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- tests- runtime hardening- scoring and reward implementation changes- Docker and integration validation### Shared review items- any changes to partial-credit rules- any benchmark number updates- final submission claims## Priority Order If Time Gets TightIf the deadline compresses further, do this exact order:1. 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## Definition Of Done For This Final PlanWe are done when:1. 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 RememberImprove learning signal.Prove correctness.Ground the story in real support data.Do not take late-stage dataset-merging risk.
ROADMAP.md+257-170