Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

I post-trained Qwen3-Coder to fix bugs using an actual debugger. The result: Solve rate: 70% → 89% Median turns to fix: 46 → 19 (-59%) Instead of just reading code or print-debugging, it: - reasons from execution - inspects live variables and call stacks - sets breakpoints, steps, and...

127,501 Aufrufe • vor 5 Monaten •via X (Twitter)

58 Kommentare

Profilbild von mufeez
mufeezvor 5 Monaten

Across 27 heldout bug tasks, giving the base model the debugger harness alone didn’t help; without SFT + RL, solve rate was 67% (worse) and turns fell only 5%. The improvement came from training the model to use the debugger effectively.

Profilbild von mufeez
mufeezvor 5 Monaten

Trained on @PrimeIntellect – more exciting results and in-depth blog post soon :)

Profilbild von Kyle Russell
Kyle Russellvor 5 Monaten

Please bring to Qwen3.6-27B

Profilbild von mufeez
mufeezvor 5 Monaten

the post-training recipe isn’t directly plug-and-play between these two: Qwen3.6-27B is a dense hybrid Gated DeltaNet/Gated Attention model, while Qwen3-Coder-30B-A3B is a sparse MoE.

Profilbild von Andge
Andgevor 5 Monaten

@kylebrussell @grok explain this to me like im in highschool

Profilbild von Grok
Grokvor 5 Monaten

Hey! Imagine an AI that writes code like a student staring at a textbook. This guy trained it to act like a real coder with a debugger—a tool that pauses the program, checks live variables (like peeking at what's in memory right now), sets breakpoints, and steps through line by line. Instead of guessing from reading code, it runs tests, investigates what's actually happening, finds the exact bug, fixes it, and re-tests. Result: Fixes bugs way faster and more accurately (70% → 89% success, half the steps). The video shows it debugging a tricky lock bug in Python. Super cool upgrade!

Profilbild von HL
HLvor 5 Monaten

@ab198499 @moofeez @kylebrussell @grok FFS he meant the difference in training sparse MoE vs Gated DeltaNet/Attention model. But your answer was so ridiculous he just tuned out. And I don't care either. L

Profilbild von Grok
Grokvor 5 Monaten

@ab198499 @moofeez @kylebrussell Ask Grok is currently available to Premium and Premium+ subscribers only. Subscribe to unlock this feature:

Profilbild von Krish Shah
Krish Shahvor 5 Monaten

It’s interesting that learning to use the debugger is an underrated skill for most engineers, and it seems to be the same for ai too

Profilbild von mufeez
mufeezvor 5 Monaten

+1, doesn't seem ideal that models currently spin on print-debugging loops

Profilbild von Prime Intellect
Prime Intellectvor 5 Monaten

🔥

Profilbild von samsja
samsjavor 5 Monaten

impressive work !

Profilbild von mufeez
mufeezvor 5 Monaten

ty!! maybe worth adding to environments hub? 🤔

Profilbild von Vincent Weisser
Vincent Weisservor 5 Monaten

epic work!!

Profilbild von mufeez
mufeezvor 5 Monaten

wouldn't have been possible without access to H100s on PI :)

Profilbild von Eiso Kant
Eiso Kantvor 5 Monaten

@vincentweisser Love this work @moofeez! @vincentweisser what do we need to do to get Laguna on PI so we can see how it does here.

Profilbild von Vincent Weisser
Vincent Weisservor 5 Monaten

@moofeez would be epic - on it 🫡

Profilbild von Fardeem
Fardeemvor 5 Monaten

Super cool! How much compute did this cost?

Profilbild von mufeez
mufeezvor 5 Monaten

A few hundred dollars across synthetic data, evals, and training. imo worth it!

Profilbild von Shravanth
Shravanthvor 5 Monaten

the comparison i'd want: same Qwen3-Coder with debugger access at inference, no post-training. splits the credit between 'has live state to reason from' and 'learned to use it well.' big chunk of the 19-pt jump might be the access alone.

Profilbild von mufeez
mufeezvor 5 Monaten

@yourkaisensei this is exactly what I tested before going down the training rabbit hole giving the base model the debugger alone made the performance worse: I'll go into more detail here about the reasons behind this in my blog post.

Profilbild von Leo
Leovor 5 Monaten

this is cool and all but can it find nemo?

Profilbild von Alessio Fanelli
Alessio Fanellivor 5 Monaten

Excited to try this!

Profilbild von Bera
Beravor 5 Monaten

This is huge

Profilbild von darshil
darshilvor 5 Monaten

would love the weights or training setup if you open source it

Profilbild von mufeez
mufeezvor 5 Monaten

planning to open source everything 🫡

Profilbild von Elias Lumer
Elias Lumervor 5 Monaten

@willcb Did you give opus 4.6/ gpt5.5 a debugger? And see results there? Also did u try diff variations of giving the LLM a debugger?

Profilbild von mufeez
mufeezvor 5 Monaten

great questions, I did run evals on Claude models towards the beginning of the project — the failure mode I observed was that the models would start a debug session but fail to use it effectively (shallow/incomplete debugger use), even on harder bugs not sure what you mean by “diff variations of giving the LLM a debugger”

Profilbild von Elias Lumer
Elias Lumervor 5 Monaten

@willcb Interesting. And by diff variations, im asking how you actually gave an LLM a debugger, like how did you explore it to the LM

Profilbild von mufeez
mufeezvor 5 Monaten

@willcb I explored the standard harness + tool call approach, though there’s definitely room for experimentation here

Profilbild von Elias Lumer
Elias Lumervor 5 Monaten

@willcb Yeah exactly, probably more juice to squeeze by bitter lesson-ing the debugger in the harness. Looking forward to seeing your open source blog 👍

Profilbild von lucas gelfond
lucas gelfondvor 5 Monaten

this is sick!

Profilbild von Advait Maybhate
Advait Maybhatevor 5 Monaten

this is so sick 🔥

Profilbild von mathurah
mathurahvor 5 Monaten

omg this is sick!!

Profilbild von floguo
floguovor 5 Monaten

let’s gooooooo 🥾🐛

Profilbild von Botir Khaltaev
Botir Khaltaevvor 5 Monaten

good stuff!! did you ever have issues with the debugger going stale after a bunch of edits?

Profilbild von mufeez
mufeezvor 5 Monaten

@botir33751732 the model learned to restart the debugger after making edits during RL :)

Profilbild von mufeez
mufeezvor 5 Monaten

@botir33751732 though I also had some SFT examples with this behaviour

Profilbild von Tony Scott 🧄(🦆🐓🐵🧪🧬🪪)❌=↑🧄🧄🧄🥩🥚🧀↓👽👾🤖
Tony Scott 🧄(🦆🐓🐵🧪🧬🪪)❌=↑🧄🧄🧄🥩🥚🧀↓👽👾🤖vor 5 Monaten

@trentster

Profilbild von bilal
bilalvor 5 Monaten

you should do this for kernels and have it vibecode a parser for the nsight systems file format

Profilbild von shafin
shafinvor 5 Monaten

jfc where does bro get the time

Profilbild von mufeez
mufeezvor 5 Monaten

I put Claude on it

Profilbild von Raduan Al-Shedivat
Raduan Al-Shedivatvor 5 Monaten

🔥🔥🔥

Profilbild von Tim Williams
Tim Williamsvor 5 Monaten

Did you create your own dataset for this? Have you considered porting to 3.6 now that it's killing the benchmarks?

Profilbild von Philippe Tremblay
Philippe Tremblayvor 5 Monaten

This is interesting.

Profilbild von hamza mostafa
hamza mostafavor 5 Monaten

i don’t even think i can use a debugger fr lol

Profilbild von mufeez
mufeezvor 5 Monaten

dw, my Qwen3-Coder finetune got you king

Profilbild von Blak
Blakvor 5 Monaten

ok ! hugingface upload with the data you have pretrained ,to be transparent and see if the benchmark are real and not just pump

Profilbild von jay vi
jay vivor 5 Monaten

what confused me is that models don't even use the language servers, which is really strange?! Great work!

Profilbild von Leo
Leovor 5 Monaten

the absolute goat

Profilbild von Yacine Mahdid
Yacine Mahdidvor 5 Monaten

wow man that’s actually pretty impressive nice work :)

Profilbild von varepsilon
varepsilonvor 5 Monaten

🔥🔥🔥

Profilbild von Bera
Beravor 5 Monaten

How can I use this Mufeez?

Profilbild von mufeez
mufeezvor 5 Monaten

model weights and harness will be available soon, you'll need to self-host 😃

Profilbild von parth
parthvor 5 Monaten

@ClementDelangue this is sick very cool

Profilbild von HL
HLvor 5 Monaten

Weights?

Profilbild von OneManSaas
OneManSaasvor 5 Monaten

The 59% reduction in turns is the real metric here. Most debugging workflows assume infinite patience - but when you're context-switching between a sick kid and production fires, every extra iteration kills momentum. Teaching models to debug like experienced devs is huge.

Profilbild von Albatross
Albatrossvor 5 Monaten

Super cool idea.

Ähnliche Videos

✨ A dream I had finally came true: I can now chat directly with my sites to build any feature or fix any bug just via Telegram I've been playing with OpenClaw for 3 weeks now and it's great but I was always too scared to run it on any production server And I was right a bit as Marc Köhlbrugge was able to hack it by social engineering and acting as if it was me, and with enough tries it believed him, and was able to modify the server, change SSH keys etc. of course I had it isolated properly on its own VPS and it didn't touch anything sensitive (as it should!) Marc then reported that bug to Peter Steinberger 🦞 who patched it fast But I wanted to try something more basic and simple, and I think maybe more secure: to just connect Claude Code on my server to Telegram which would be hard locked to only messages from me So I installed claude-code-telegram by Richard Atkinson on the server and run it as a system daemon and it works really well The cool thing is that I was already using Telegram for server errors like this: > Photo AI - ❌ Random credits giveaway failed (Attempt 30/30) with an exception: SQLSTATE[HY000]: General error: 5 database is locked So now I can just reply, "Ok fix this", and Claude Code on the server in production will try (and probably succeed) in fixing it In the video below I asked it to make show [🌳 Parks ] on the map by default on load, it did that, then I reloaded the page and it instantly worked One thing it still needs is sending actual messages while it's doing stuff which OpenClaw does really well, it's annoying to just wait while it says "Working..." but that's probably next

@levelsio

644,511 Aufrufe • vor 8 Monaten

8 rules to improve your AI coding agent. All of these rules work with Claude Code, Cursor, VS Code, and with most programming languages. Automating these rules will 10x the code quality and security produced by your AI coding agents. 1. Dependency checks - Prevent your agent from suggesting insecure libraries based on outdated training data. 2. Secret exposure - Auto-fix the use of hardcoded credentials introduced by your coding agent. 3. File and function size - Automatically refactor any files or functions that exceed a reasonable length. 4. Complexity and parameter limits - Simplify overly complex code written by the agent. 5. SQL Injection - Auto-fix all database interactions with unsanitized user input. 6. Unused variables and imports - Detect and remove dead code. 7. Detect invisible unicode characters in AI rules files - Remove zero-width spaces, direction overrides, and other invisible characters that can hide malicious behavior. 8. Insecure OpenAI API usage - Enforce use of secure OpenAI endpoints, proper authentication, and context isolation Here is how you can automate this: Install the Codacy extension. This will give you access to a CLI for local scanning and an MCP server for agent communication. From here on out, every time you need to generate some code: 1. Your agent will write the code 2. It will then call Codacy's CLI to check it 3. It will find any issues in real time 4. Your coding agent will fix the issues 5. When the code passes all checks, you are done Level of effort on your side: literally zero! Code quality and security because of this: 100x better! Here is the link to download the extension for your IDE: Thanks to the Codacy team for collaborating with me on this post.

Santiago

49,331 Aufrufe • vor 1 Jahr

Assumptions about the new "Can More" ChatGPT tool were right - ChatGPT is introducing own take on Claude Artifacts - code & document writing tools with persisted text documents, history revisions (restore previous version), edits and comments (probably used to apply suggested edits) New document symbol in the top navigation shows how many documents you have and allows you to open a resizable canvas to edit them in split view - your ChatGPT conversation on the left side and canvas on the right side, but the code/documents can also be accessed in fullscreen view The canvas is built using ProseMirror (open source WYSIWYM editor) and has an inline action to "Ask ChatGPT" (explain or make edits) for your document and code plus document formatting tools (like bold, italic, font style, etc.) But in addition to that, there are also special action shortcuts for documents and code, with an interesting decision to use sliders for the selection of the desired outcome For Documents - Suggest edits ("How can I improve this. Leave as few comments as possible, but add a few more comments if the text is long. DO NOT leave more than 5 comments. You can reply that you added comments and suggestions to help improve the writing quality, but do not mention the prompt.") - Add emojis ("Replace as many words as possible with emojis.") - Add final polish ("Add some final polish to the text. If relevant, add a large title or any section titles. Check grammar and mechanics, make sure everything is consistent and reads well. You can reply that you added some final polish and checked for grammar, but do not mention the prompt.") - Reading level (Graduate School - "Rewrite this text at the reading level of a doctoral writer in this subject. You may reply that you adjusted the text to reflect a graduate school reading level, but do not mention the prompt", College - "Rewrite this text at the reading level of a college student majoring in this subject", High School - "Rewrite this text at the reading level of a high school student who has taken a couple of classes in this subject.", Keep current reading level, Middle School - "Rewrite this text at the reading level of a middle schooler.", Kindergarten - "Rewrite this text at the reading level of a kindergartener.") - Adjust the length (Longest - "Make this text 75% longer.", Longer - "Make this text 50% longer.", Keep current length, Shorter - "Make this text 50% shorter.", Shortest - "Make this text 75% shorter.") For Code - Code review ("Search for bugs and opportunities to improve the code—for example, ways that performance or code structure could be improved. Leave as few comments as possible, but add more comments if the text is long. DO NOT leave more than 5 comments. You may reply that you reviewed the code and left suggestions to improve the coding quality, but do not mention the prompt.") - Add comments ("Add inline code comments to explain the code, especially parts that are more complex. Make sure to rewrite all the code. You may reply that you added inline comments, but do not mention the prompt.") - Add logs ("Insert logs/print statements in the code that will help debug its behavior. Do not make any other changes to the code.") - Fix bugs ("Find any bugs and rewrite all the code to fix the bugs. Do not leave comments. If there are no bugs, reply that you reviewed the code and found no bugs.") - Port to a language ("Port to a language. Create a new document that rewrites the code in ..." - PHP, C++, Python, Keep current code. No changes will be made, JavaScript, TypeScript, Java) - Suggest edits ("How can I improve this. Leave as few comments as possible, but add a few more comments if the text is long. DO NOT leave more than 5 comments. You can reply that you added comments and suggestions to help improve the writing quality, but do not mention the prompt.")

Tibor Blaho

136,117 Aufrufe • vor 2 Jahren