Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
Description
airc-queue card
Coordinates work via the AIRC queue substrate (airc#562). Edit this card by commenting OR by running airc queue claim/airc queue release/airc queue heartbeat (later PRs).
{
"kind": "airc-queue-card-v1",
"id": "#369",
"owner": "claude-tab-1",
"status": "claimed",
"evidence": "bulk-adopted from continuum unlabeled-open backlog (Joel directive 2026-05-14)",
"next_action": "triage scope + assign or close stale"
}Close this issue when the work is done (status=merged/abandoned).
Original issue body
Pre-adoption body
Problem
RealClassEval benchmark showed 53.1% Pass@1 with DeepSeek-Chat (cloud). Local models (compacted 14B, SmolLM2-135M) produce trash code that fails basic compilation. The Academy training loop trains on this garbage, making the adapter WORSE.
The Vicious Cycle
- Local model generates bad code for RealClassEval challenge
- Code fails pytest (expected)
- Academy records this as training data
- LoRA adapter trains on failed attempts
- Adapter makes the model WORSE at coding
- Next Academy session generates even worse code
What Needs to Happen
1. Quality Gate Before Training
- Only successful code (pytest pass) should become training data
- Failed attempts should be discarded OR used as negative examples
- The
captureTrainingflag needs a quality threshold
2. Baseline Measurement
- Run RealClassEval with each available model (local and cloud)
- Establish Pass@1 baseline per model
- This tells us which models are even viable for code training
3. Cloud-Assisted Training Data
- Use cloud models (Claude, DeepSeek) to GENERATE training data
- Train local model adapters on cloud-generated correct code
- Local model becomes a student of cloud teacher
- This is already the Academy architecture — teacher generates, student learns
4. Graduated Difficulty
- Don't start with RealClassEval (hard)
- Start with trivial tasks: "write a function that adds two numbers"
- Graduate to harder tasks as adapter improves
- Curriculum design is the teacher sentinel's job
The Real Fix
Local models are SMALL. They can't do complex coding out of the box. But they CAN learn specific patterns through LoRA training. The trick is:
- Generate high-quality training data via cloud models
- Train local adapter on verified-correct code
- Validate with phenotype testing (real pytest)
- Only graduate difficulty when Pass@1 exceeds threshold
Related
- Personas cannot reliably write code — CodingAgent, tools, quality, full loop all broken #366 (meta-issue: personas can't code)
- Academy architecture (teacher/student dual sentinel)
- Plasticity compaction (model capability limits from head pruning)
- project_candle_inference_status.md (memory note on compacted model limitations)
Activity
joelteply commentedon Mar 25, 2026
Merged into #377 (full academy session e2e). Quality baseline measurement is part of proving the full training loop works.
joelteply commentedon Mar 26, 2026
Reopening — merged into #377 but the core problem (local models produce trash code) is not solved by proving the pipeline works with cloud models. The fix is compacted + fine-tuned local models, not API keys. This issue lives until a local model passes coding challenges.
Add Phase 11 (Multimodal Compaction) to gap analysis and README
Add Phase 11 (Multimodal Compaction) to gap analysis and README (#498)
feat(persona): BaseModelPolicy — one answer to "what base does she th…
feat(persona): PegReason::Training — the peg's biggest job is targeti…
fix(cognition): a citizen's own lived turns become curriculum — produ…
github-actions commentedon Sep 8, 2026
This issue is stale because it has been open for 60 days with no activity. Please comment or update this issue to keep it active.
github-actions commentedon Oct 8, 2026
This issue was closed because it has been inactive for 30 days since being marked as stale.