r/opencodeCLI • • 3d ago

Deepseek Laziness

Is it just me or deepseek is super lazy? I gave it a task and it does the bare minimum for that task to be done. That means leaving broken test and incorrect config lying around. This requires me to reprompt to get it finish the job, which waste a lot of time.

It also makes poor subagents. One shot is great but I rarely one shot anything. Qwen Flash Next or GLM Flash is better, at least it gets some progress done without me constantly handholding.

Anyone have this issue with DeepSeek? The AA bench mark says Deep Seek better and lots of coding test do say it is better but when building huge complex system, it just pisses me off since I have to keep prompting it what to do. It seems to lack the ability to infer what to do next to fill in the gap.

Edit: I move back to using QFN. Slower but seems more diligent worker and build a far more stable codebase that works better. Deepseek is like that new junior spamming so much code that works but really poor quality.

2 Upvotes

23 comments sorted by

7

u/Independent-Row8578 3d ago

DeepSeek is an excellent worker but sadly it's not a mind reader. It works well when you define whats your goal. Lazy prompting will get lazy results.

0

u/JamesGooning 3d ago

I don't think that the case. Deep seek knows what is missing but it says it doesn't touch it since it wasn't asked. GLM 5.3 flash do the task then fix any related files with it but deep seek doesn't.

I define features and specs, and I expect the repo test to pass 100% with all dependencies also passes. Deepseek does the work, sometimes leave repo test failure cause it says it isn't specified to fix them. Sometimes it change contract and break all other import (same reason). It is 100% aware of what will happen but find that isn't its job since it wasn't in the prompt.

My repo is a monorepo, fairly large and modular, and DeepSeek seems to be very lazy about it. I haven't change any instructions whatsoever, but GLM gets it. QFN gets it. Why doesn't DeepSeek gets it?

I can't prompt for every little thing. Somewhere along the way, it should infer what a fully functional repo should be.

I like how QFN always run full test to get baseline before doing anything. If repo is 100 test passes, it will ensure all test passes at the end.

Sure QFN is more dumb than DeepSeek but at this stage, I rather have a diligent worker that ensure production doesn't break than a smart ass who leave things half done.

6

u/Avernite 3d ago

The worst sounding thing is a model doing what wasn't asked of it.
From your description it seems that deepseek is doing a great job and its you that is being lazy with the prompt.
You can try telling it to fix everything that it finds, unless its a big thing that requires human inspection

0

u/JamesGooning 3d ago

That's not what I mean. The instructions already states that it is a coder and ensure all test passes. It does bare minimum of this, where as other model infers that by ensuring test passes, it should go fix up the test.

There is one instance of Deepseek changing production code to make sure test passes, which is weirdly wrong or right. It was the one who modify the code for a feature then change it because test fails. It should have update the mock in the test for test to pass (that what I would have done since it is new implementation)

2

u/Avernite 3d ago

So you say an agent should silently change tests to make sure they pass? dayum

0

u/JamesGooning 3d ago

Test needs to be updated so it aligns with new implementation due to feature requirements. Not updating them or not adding new cases is bad, and DeepSeek tends to do this, either update enough to pass but not cover the new cases or cover them in a way that makes no sense.

1

u/Avernite 3d ago

Making tests and making code should most definitely be done in two different sessions, otherwise how can you trust that the tests are not falsified?

But even if you do desire to use such black magic, what's stoping you from explicitly telling the model to also alter the tests?

1

u/anramon 2d ago

it says it doesn't touch it since it wasn't asked

You've got your answer right there.

2

u/Frail_Waif 3d ago

I think Opencode is a big part of it. There seems to be a strong bias built in somewhere in Opencode to ask user questions and return control to the user. With DeepSeek harness, I often get frustrated when I can't stop quickly enough if I write a bad prompt. On the other hand DS is able to do some pretty crazy autonomous reverse engineering in DSH that I suspect wouldn't work in Opencode. 

1

u/JamesGooning 3d ago

Yeah. I'm just checking if it is Opencode issue

2

u/marivesel 3d ago

Yep. At first, I thought that the laziness was introduced of the quant I'm using (IQ2 local), but then I made direct comparison with API - same way (interestingly, 99% same quality output). It will do the easiest way around on the given task. It feels lazy, but it gets the job done. You have to be more intricate on prompting.
GLM and QFN have less intelligence, but if I just write "research this subject on internet", they will find and compare many topics, while DS4.1F is complete at 1 or 2 topics, if it finds an answer to the question.
I believe it's a way of DeepSeek to overcome it's overthinking.

1

u/JamesGooning 3d ago

Is there a way to turn this on? I rather have a diligent worker than one who do the barest minimum and call it done. Granted it did say what is missing at the end but no one read this and remember them, especially when I have dozen of streams

4

u/road_laya 3d ago

Are you using /goal ? 

3

u/sudoer777_ 3d ago

I feel like V4 Flash release was somewhat lazy, V4.1 Flash initial release was less lazy, and V4.1 Flash 1017 got lazier again. And it spouts something nonsensical like every response, which I think is less of a problem even with Hy4 Flash.

3

u/CaffeinatedTech 3d ago

You're holding it wrong.

2

u/m-ritter 3d ago

When a model skips the gaps in a prompt, I get better results by having a different model family critique the plan before anything is built. The second family reads the written plan cold and flags what is missing or risky, so the builder has points it must answer instead of guessing. I'm the developer of QualityLayer, which does exactly this on top of Codex and Claude Code: https://github.com/maxritter/qualitylayer

1

u/leo_heo 2d ago

a second model family reading the plan before anything gets built, gonna try that on our next big feature

1

u/m-ritter 2d ago

Nice, let me know how it goes. In my experience it works best when the second model only gets the written plan and not the chat history, so it can't fill the gaps with the same assumptions. What kind of feature is it?

1

u/leo_heo 1d ago

will do. just the written plan for the second one, no chat history, got it

1

u/m-ritter 1d ago

Sounds good. Curious what the second model flags on the first run, drop a note here if you remember.

1

u/Inner_Implement231 3d ago

I love DeepSeek for simple tasks as it's very fast. I don't use it for anything complicated

1

u/lilyp727 3d ago

the model and the agent loop can look like one problem here. run the same task on the same checkout through DeepSeek's own harness, if it closes the gaps there, that points to OpenCode's loop being part of it.

1

u/0jabr 3d ago

I see issues like this with Deepseek. It won't do something it was told to do, then hallucinate that it did and return bogus verifications.