beta_pyxis

296 posts

beta_pyxis

beta_pyxis

@beta_pyxis

curious about all things code

Katılım Mart 2019
860 Takip Edilen57 Takipçiler
beta_pyxis
beta_pyxis@beta_pyxis·
@MrAhmadAwais @0xSero Commandcode cli struggles to do basic functions like file tagging in any decently sized repo where codex cli or claude code doesn’t even break a sweat
English
0
0
0
59
Ahmad Awais
Ahmad Awais@MrAhmadAwais·
@0xSero what harness are you using? could i interest you in trying ours? based on the tool call repairs? x.com/MrAhmadAwais/s…
Ahmad Awais@MrAhmadAwais

how did we make deepseek outperform opus 4.7? i've been thinking about why "open model bad at tool calling" is almost always a harness problem, not a model problem. context: spent the two days looking at billions of tokens in @CommandCodeAI (tb open source ai cli) using deepseek. I ended up writing a tool-input repair layer. the trigger was watching deepseek-flash fail on the simplest /review run, every shellCommand and readFile call bouncing back with a raw zod issues blob, the model unable to recover because the error wasn't in a form it could read. by the end deepseek v4 pro was beating opus 4.7 6/10 times on our internal evals. a few things i learned that feel general: 1/ the failure modes aren't random they're a small finite compositional set. across deepseek-flash, deepseek v4 pro, glm, qwen, the same four mistakes repeat almost exactly: - sending `null` for an optional field instead of omitting it - emitting `["a","b"]` as a json *string* instead of an actual array - wrapping a single arg in `{}` where the schema expected an array (an "empty placeholder") - passing a bare string where an array was expected (`"foo"` instead of `["foo"]`) four repairs, ~30-100 lines each, ordered carefully (json-array-parse must run before bare-string-wrap or `'["a","b"]'` becomes `['["a","b"]']`). that is the whole catalogue. when i hear "this open source model can't do tool calls" i now assume one of those four, and so far that's been right ~90% of the time. 2/ the funniest failure mode is also the most revealing. deepseek-flash, when asked to edit or write a file, sometimes emits the path as a *markdown auto-link*: filePath: "/Users/x/proj/[notes.md](http://notes. md)" our writeFile tool obediently trued creating files literally named `[notes.md](http://notes .md)` until we caught it. this is not a hallucination. it's the post-training chat distribution leaking through the tool boundary the model has been rewarded for auto-linking in conversational output, and is applying that prior in a context where it makes no sense. the fix is two regex lines that unwrap only the degenerate case where link text equals url-without-protocol real markdown like `[click](https://x .com)` passes through untouched. this is also conditioning of their own tools during RL which were different from all other tools we write and ofc can't predict. "tool confusion" is a more useful frame than "capability gap." the model knows how to format a path. it just hasn't been told clearly enough that this path is going to fopen, not into a chat bubble. so we encode that hint at the schema level `pathString()` instead of `z.string()` and the leak is plugged for every path field at once. 3/ the design choice that mattered was inverting preprocess-then-validate to validate-then-repair. my first attempt was the obvious one: a preprocessing pass that normalized inputs (strip nulls, parse stringified arrays, etc.) before zod ever saw them. it broke immediately, writeFile content that *happened* to be json-shaped got rewritten before it hit disk. silent corruption, easy to miss in a smoke test. then i made it less greedy - parse the input as-is. if it succeeds, ship it. valid inputs are never touched. - on failure, walk the validator's own issue list. for each issue path, try the four repairs in order until one applies. - parse again. on success, log `tool_input_repaired:${toolName}`. on failure, log `tool_input_invalid:${toolName}` and return a model-readable retry message. the structural insight here is: when you preprocess, you encode a prior about what's broken. when you let the validator complain first, the schema is the prior, and you only spend repair budget at the exact paths the schema actually disagreed at. the validator is doing the work of localizing the bug for you. it's the same shape as cheap-then-careful everywhere else try the fast path, fall back on evidence. (this also gives you per-tool telemetry for free. you can watch repair rates per (model, tool) and notice when a model regresses on a specific contract before users do.) 4/ shape invariants and relational invariants need different fixes. the four repairs above all handle shape problems wrong type, missing key, wrong container. but read_file had a *relational* invariant: "if you provide offset, you must also provide limit, and vice versa." deepseek kept calling `readFile({ absolutePath, limit: 30 })` and getting an `ERROR:` back. you can't fix this with input repair, because each field is independently valid the bug is in the relationship between them. so i taught the function the model's intent instead. `limit` alone → `offset = 0`. `offset` alone → `limit = 2000` (matches common read tool ops default). then surfaced the decision back to the model in the result: "Note: limit was not provided; defaulted to 2000 lines. To read more or fewer lines, retry with both offset and limit." no `Error:` prefix, so the tui doesn't paint it red. the model sees what we picked and can self-correct on the next turn if our guess was wrong. transparency over silent magic wins big. repair where you can. extend semantics where you can't. surface the choice either way. zoom out: a lot of what looks like model capability is actually contract design. a strict schema is a choice with a cost it filters out noise, but it also filters out recoverable noise from any model that hasn't memorized the exact json contract you happened to pick. the largest commercial models eat that cost invisibly and are linient on tool calling because they've seen enough of every contract during pretraining; open models pay it loudly and get dismissed for it. the harness is where you mediate between distributions. four small repairs (i'm sure more to follow as we have three more merging today), two regex lines for auto-links, one relational default, one prefix change. the model didn't change. the contract got more forgiving in exactly the places it needed to be. deepseek v4 pro now beats opus 4.7 6/10 times on our internal evals. imo "skill issue" applies to the harness more often than the model.

English
3
0
10
1.7K
0xSero
0xSero@0xSero·
Deepseek-v4-pro 0.45B tokens for 6.74$
0xSero tweet media
English
77
54
1.7K
91.7K
antirez
antirez@antirez·
The first M5 max arrived! Many many thanks to our sponsors @audreyt and @niels_gron, the next will arrive on Monday.
English
26
7
516
27.6K
Anon
Anon@Anon7000000·
@thsottiaux tibo, a lot of us have been noticing Codex consuming rate limits much quicker lately can the team look into this?
English
9
0
48
1.6K
Ddox
Ddox@paraddox·
@TheAhmadOsman They must not like you personally :)) I can still choose.
Ddox tweet media
English
2
0
9
2.2K
beta_pyxis retweetledi
Ahmad
Ahmad@TheAhmadOsman·
OpenAI, what the fuck is this? Give me back the ability to specify WHICH MODEL I am using + their effort levels EXPLICITLY I don't want this router crap you're enforcing on my $200 paid subscription I DID NOT AGREE TO THIS SHIT
Ahmad tweet media
English
117
33
743
118.3K
Charlie Marsh
Charlie Marsh@charliermarsh·
What would you do with unlimited tokens
English
369
8
507
80.4K
beta_pyxis
beta_pyxis@beta_pyxis·
@OpenAIDevs @_rajanagarwal Can you guys please take a min to check the increased token usage? My weekly is reducing at an alarming rate. Never before have i gotten down to less than 50% within two days of normal usage
English
0
0
0
105
OpenAI Developers
OpenAI Developers@OpenAIDevs·
It’s Codex Thursday, and yes, we have updates for you. First up: Appshots, a new way to bring the context of what you’re working on into Codex. On your Mac, press Command-Command to attach your app window to a Codex thread. Codex gets both a screenshot and text from the window, including content beyond what’s visible onscreen. Appshots are available across plans on Mac, with enterprise access coming soon.
English
486
491
6.4K
1.8M
beta_pyxis
beta_pyxis@beta_pyxis·
@Hi_Mrinal Dude posts a setup picture, people ask him monitor specs, never get any reply It’s kinda like a template now 😂 Love the setup tho
English
0
0
0
70
Mrinal
Mrinal@Hi_Mrinal·
Okkay the day starts with some note taking :p
Mrinal tweet media
English
10
0
92
2.5K
beta_pyxis
beta_pyxis@beta_pyxis·
@0xSero Doing casual flex, met with Nvidia yesterday 😂
English
0
0
0
114
beta_pyxis
beta_pyxis@beta_pyxis·
@nbaschez @r_marked You’ve got like 48k followers, and you’re telling me you didn’t know you should @ the person you’re talking about?
English
0
0
0
115
Nathan Baschez
Nathan Baschez@nbaschez·
@r_marked will do next time! 🫡 tbh i do not not the proper etiquette here haha
English
2
0
8
5.4K
Nathan Baschez
Nathan Baschez@nbaschez·
PSA When someone tells you your app is slow, the answer is not “no it isn’t” It is “oh shoot thanks for letting me know! DMing you so I can help troubleshoot”
Nathan Baschez tweet media
English
23
5
400
58.9K
beta_pyxis retweetledi
beta_pyxis retweetledi
Joe
Joe@joerossi98·
Am I the only one seeing more Codex usage today? It seems like it's burning through everything @thsottiaux @OpenAIDevs
English
59
8
219
22.3K
beta_pyxis retweetledi
J J
J J@jturntdev·
OpenAI have secretly adjusted our limits. Last week before limit reset. I was using Xhigh all day. 5 day straight i couldn’t get my usage below 55% weekly usage. Since Yesterday, I’ve done 40% of my quota, out of nowhere. So whats going on ? @thsottiaux @sama @OpenAIDevs
J J tweet mediaJ J tweet media
J J@jturntdev

im on 20x pro plan, been for months. my usage was never reset yesterday, its down 40% and i barely used it yesterday? what is this. @OpenAIDevs @thsottiaux

English
172
37
930
299.3K
beta_pyxis retweetledi
am.will
am.will@LLMJunky·
Anyone else notice that compaction seems to lose more details than normal in Codex? It never seemed to matter before, but I'm seeing it frequently now.
English
27
3
112
12K
beta_pyxis retweetledi
dax
dax@thdxr·
something is going wrong with gpt 5.5 caching doesn't look like much on this chart but this it's now using 2.5x as many input tokens as a week ago and dropping
dax tweet media
English
92
25
1.3K
121.8K
beta_pyxis
beta_pyxis@beta_pyxis·
@thsottiaux 5.5 is struggling with tasks it used to churn through like it was nothing? I’ve tried xhigh as well, starting from low Can you please check And I’m not alone. Have the same consensus across my team
English
0
0
0
14
beta_pyxis
beta_pyxis@beta_pyxis·
@swarajk_ Every other week you’ll find one founder crying about how unfair it is that candidates want what’s best for them. But if you reverse the argument, they turn tail and run. Dude deleted his post.
English
0
0
1
189
Swaraj
Swaraj@swarajk_·
we are not bullying startup founders enough
English
40
143
2.2K
65.8K
beta_pyxis
beta_pyxis@beta_pyxis·
@rezoundous Imp caveat, monthly stays the same, so you reach monthly quickly 😂
English
0
0
1
27
Tyler
Tyler@rezoundous·
50% increase in Claude Code weekly limit doesn't excite me like it used to.
English
59
11
361
21.1K