Skip to content

improve(router/classify): Nemotron COMPLEX review cycle (hour 0 UTC)#176

Open
raelli wants to merge 1 commit into
mainfrom
chore/self-improve-2026-07-05-h0
Open

improve(router/classify): Nemotron COMPLEX review cycle (hour 0 UTC)#176
raelli wants to merge 1 commit into
mainfrom
chore/self-improve-2026-07-05-h0

Conversation

@raelli

@raelli raelli commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Automated self-improvement pass on src/router/classify.js. Router review timed out (90 s); improvements applied via own analysis — tests pass.

Change

Replace Object.prototype.hasOwnProperty.call(HINT_TO_CODING_TIER, normalizedHint) with Object.hasOwn(HINT_TO_CODING_TIER, normalizedHint) on the complexityHint tier-lookup guard.

Test plan


Generated by Claude Code

Replace Object.prototype.hasOwnProperty.call with Object.hasOwn for
the complexityHint tier lookup — identical runtime behaviour on Node 16+,
cleaner and more idiomatic. Prototype-key guard (issue #79) is preserved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YYKb4s7A3CR9JG1HV3JDy7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants