Skip to content

Router misses ARCHITECTURE classification for 'redesign' tasks #2

Description

@NeelPrime

Summary

The task classifier fails to classify certain architecture-level tasks correctly. Tasks containing "redesign" are classified as UNKNOWN/MEDIUM instead of ARCHITECTURE/EXPERT.

Reproduction

from arbiterx.router.classifier import TaskClassifier
classifier = TaskClassifier()

result = classifier.classify("redesign the entire authentication system to support OAuth2, SAML, and OpenID Connect")
print(result.task_type.name)    # UNKNOWN — should be ARCHITECTURE
print(result.complexity.name)   # MEDIUM — should be EXPERT

Expected Behavior

Tasks containing keywords like "redesign", "rearchitect", "overhaul", "migrate architecture" should be classified as ARCHITECTURE type with HIGH or EXPERT complexity.

Tasks that DO work correctly

"architect a new microservice for payment processing"ARCHITECTURE/EXPERT"design a caching layer with Redis and fallback"ARCHITECTURE/HIGH

Suggested Fix

Add "redesign", "rearchitect", "overhaul", "restructure" to the architecture keyword patterns in the classifier.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingseverity: lowMinor issue, cosmetic, or edge case

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions