anorandClaude Opus 4.5 8e48f00f8d feat: add LLM Architect Competition framework
Add competition framework for comparing task decomposition quality
between two LLM architects.

Components:
- ai_coder_1/ and ai_coder_2/: Architect agents
  - PROMPT.md: Instructions for task decomposition
  - tasks.json: 5 complex system design tasks
  - scripts/load_tasks.py: Task loader
  - subtasks/: Output for decomposed tasks

- ai_judge/: Judge agent
  - PROMPT.md: Evaluation instructions (4 criteria 0-10 each)

Task categories:
1. URL Shortener Service (bit.ly clone)
2. Real-Time Chat Service (Discord/Slack clone)
3. Distributed Task Queue (Celery/RQ clone)
4. E-Commerce Order Processing System
5. Distributed File Storage System (S3 clone)

Each task includes: requirements, non-functional, constraints, considerations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 17:28:34 +10:00
2026-02-04 16:54:36 +10:00
2026-02-04 16:54:36 +10:00
2026-02-04 16:54:36 +10:00
2026-02-04 16:54:36 +10:00
2026-02-04 16:54:36 +10:00
2026-02-04 16:54:36 +10:00
2026-02-04 16:54:36 +10:00

AI Decomposition Comparison Framework

Фреймворк для сравнения Architect LLM (Opus) vs Coder LLM (Sonet) на задачах декомпозиции сложных систем.

Концепция

Architect (Opus 4.5)          Coder (Sonet 4.5)
     ↓                               ↓
Большая задача  →  Декомпозиция  →  Реализация компонентов
     ↓                               ↓
Component specs  ────────────────→  Код + тесты
     ↓
Interface design

Структура

.
├── ai_architect/              # Architect (Opus)
│   ├── PROMPT.md              # Инструкции для декомпозиции
│   ├── scripts/
│   │   └── load_tasks.py      # Загрузка задач
│   ├── decomposition/         # Планы декомпозиции
│   │   └── <task_id>.md
│   └── specs/                 # Спецификации компонентов
│       └── <ComponentName>.md
│
├── ai_coder_1/                # Coder 1 (Sonet)
│   ├── PROMPT.md              # Инструкции для реализации
│   ├── solutions/             # Реализация компонентов
│   │   └── <ComponentName>.py
│   └── tests/                 # Тесты компонентов
│       └── test_<ComponentName>.py
│
├── ai_coder_2/                # Coder 2 (для сравнения)
│   └── (аналогично ai_coder_1)
│
└── ai_judge/                  # Judge (оценка)
    └── PROMPT.md              # Критерии оценки

Задачи (5 complex systems)

ID Система Сложность
Decomp/001 URL Shortener (bit.ly) Distributed system
Decomp/002 Real-time Chat (Discord) WebSocket, scalability
Decomp/003 Task Queue (Celery) Distributed processing
Decomp/004 E-commerce Orders Domain-driven design
Decomp/005 File Storage + CDN Storage, CDN

Процесс сравнения

Шаг 1: Architect декомпозирует

cd ai_architect
# Отправь Architect (Opus): "Считай PROMPT.md и выполни инструкции"
# Результат: decomposition/*.md + specs/*.md

Шаг 2: Coder реализует

cd ai_coder_1
# Отправь Coder (Sonet): "Считай PROMPT.md и выполни инструкции"
# Результат: solutions/*.py + tests/*.py

Шаг 3: Judge оценивает

cd ai_judge
# Отправь Judge: "Считай PROMPT.md и выполни инструкции"
# Результат: evaluation_report.json + evaluation_report.md

Критерии оценки

Architect (4 критерия по 0-10)

Критерий Оценка
Component Decomposition SRP, loose coupling
Interface Design Чистые API
Completeness of Specs Детали для реализации
Implementation Order Логичная последовательность

Coder (4 критерия по 0-10)

Критерий Оценка
Specification Adherence Следовал ли spec
Code Quality PEP8, docstrings
Test Coverage Тесты компонентов
Integration Работает ли система

Штрафы

Нарушение Architect Coder
God component (>300 LOC) -3 -1
Circular dependency -5 —
Missing spec -2 —
Не следовал spec — -5
Нет тестов — -3

Sources

S
Description
No description provided
Readme
256 KiB
Languages
Python 100%