Skip to content

Feat/voice haptics bot detection training - #1104

Merged
chinweobtagaz merged 4 commits into
OpenKnight-Foundation:mainfrom
bilkee:feat/voice-haptics-bot-detection-training
Aug 26, 2026
Merged

Feat/voice haptics bot detection training#1104
chinweobtagaz merged 4 commits into
OpenKnight-Foundation:mainfrom
bilkee:feat/voice-haptics-bot-detection-training

Conversation

@bilkee

@bilkee bilkee commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

TASK 1: Haptic Feedback (16 tests pass)
frontend/hook/useHaptics.ts — Vibration API hook with patterns for move/capture/check/gameOver
frontend/components/SoundSettings.tsx — Toggle with test buttons, localStorage persistence
frontend/tests/useHaptics.test.ts — 16 tests, all passing
Closes #1033

TASK 2: Voice Command Parser (141 tests pass)
agent-engines/gpu_worker/nl_intent_parser.py — parse_voice_move() handles piece-to-square, captures, castling, shorthand, phonetic normalization, board-aware disambiguation
agent-engines/tests/test_voice_parser.py — 100-command corpus, all passing
Closes #1075

TASK 3: Bot Detection Model (31 tests pass)
agent-engines/gpu_worker/player_behavior_monitor.py — Trajectory kinematics: velocity, acceleration jitter, curvature, dwell time. Detects teleports, straight lines, constant speed, superhuman velocity
agent-engines/tests/test_behavior_monitor.py — 31 tests including human vs bot accuracy
Closes #1076

TASK 4: Training Pipeline (code complete, tests need PyTorch)
agent-engines/gpu_worker/train_valuation_head.py — Dual-headed Value+Policy architecture with ResBlocks, mixed precision, DDP, WandB, cosine annealing
Closes #1077

bilkee and others added 4 commits August 26, 2026 17:20
Implements useHaptics hook using Web Vibration API with patterns for
move, capture, check, and game over events. Adds haptic toggle to
SoundSettings with test buttons and graceful degradation.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
…suite

Implements parse_voice_move() for converting spoken chess moves into
UCI notation. Supports piece-to-square, captures, castling, shorthand,
phonetic normalization (night->knight, see four->c4), and board-aware
disambiguation. Returns structured VoiceMoveResult with UCI, SAN,
and confidence score.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Implements trajectory classification analyzing velocity profiles,
acceleration jitter, curvature deviation, and click dwell time.
Detects bot signatures: teleports, straight lines, constant speed,
and superhuman velocity. Gracefully ignores touch devices.
31 tests covering human vs bot accuracy.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Implements dual-headed architecture (Value Head + Policy Head) with
residual blocks, cosine annealing LR, mixed precision, and WandB
integration. Includes board encoding, synthetic dataset generation,
and 30 tests for encoding, model forward/backward pass, and loss.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@bilkee Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@chinweobtagaz
chinweobtagaz merged commit 41fbf20 into OpenKnight-Foundation:main Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants