Skip to content

Instantly share code, notes, and snippets.

View sudoingX's full-sized avatar

Sudo sudoingX

View GitHub Profile
@sudoingX
sudoingX / octopus_invaders.md
Created March 14, 2026 03:25
Octopus Invaders -- standardized coding benchmark prompt for testing LLM autonomous coding capability. one prompt, full game spec, zero steering. tested on Qwen 3.5 35B (3090), Qwen 3.5 9B (3060), Hermes 4.3 (3090). @sudoingX

build a space shooter game with vanilla JavaScript and canvas. no libraries. no frameworks. multi-file project structure.

PROJECT STRUCTURE: space-shooter/ index.html -- entry point, canvas setup, script imports in dependency order (config > audio > particles > background > enemies > player > ui > game) README.md -- what it is, how to run, controls, screenshot placeholder css/styles.css -- fullscreen canvas, cursor hidden during gameplay, no-select, overflow hidden js/ config.js -- color palette, speeds, enemy stats, sizes, all tuning constants game.js -- main game loop, state machine (menu/playing/paused/gameover), collision detection, damage numbers, screen shake

@sudoingX
sudoingX / qwen3.5_9b_thermodynamic_reasoning.md
Created March 11, 2026 16:39
Qwen 3.5 9B reasoning about thermodynamic computing on RTX 3060 12GB at 50 tok/s. Full thinking chain + output. Q4_K_M quant, 128K context.

Qwen 3.5 9B -- Thermodynamic Computing Reasoning Test

9 billion parameters reasoning about bleeding-edge physics on a $200 GPU. Full thinking chain visible. Nothing cherry-picked.

Hardware

Field Value
GPU RTX 3060 12GB
Model Qwen 3.5 9B Q4_K_M (5.3GB)
@sudoingX
sudoingX / qwen3.5_chat_template.jinja
Created March 7, 2026 11:57
Patched Jinja template for Qwen 3.5 27B - fixes developer role crash + preserves thinking mode (thinking = 1). Drop-in replacement for agent tools (OpenCode, Claude Code, Continue, Cursor, Aider). Without this patch, --chat-template chatml silently kills thinking mode.
{%- set image_count = namespace(value=0) %}
{%- set video_count = namespace(value=0) %}
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
{%- if content is string %}
{{- content }}
{%- elif content is iterable and content is not mapping %}
{%- for item in content %}
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
{%- if is_system_content %}
{{- raise_exception('System message cannot contain images.') }}