r/ClaudeCode • • 1d ago

Rant it finally happened to me

Post image

I rarely default to using Claude, but seeing as I ran out of Gemini usage and still had a reset banked for Claude, I decided to offload some work to it (my first project trying out weight space programming)

Not only has Claude massively reduced/simplified the UI in an egregious way (previous iteration before Neon restored the UI), Claude is now synthesizing market data and "passing" all tests... not a fan, my friends are collectively reducing our plans and cancelling subscriptions alike

Edit: after using my critical thinking skills and reading Claude's response with a less reactionary mindset, I realize it was just testing out the core/basics of the system (ensuring that the hard rules of the system work as expected), which SHOULD pass all tests

Take this as a reminder to not be so reactionary yourselves :p sorry for wasting your time with this post guys

0 Upvotes

37 comments sorted by

•

u/AutoModerator 1d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

28

u/btherl 1d ago

It may have been going to run the tests on synthetic data first, followed by real data. Which would satisfy a "Always run tests on real data" rule, but not a "Never run tests on synthetic data" rule. IMHO that second rule would be a bad idea, real data isn't going to cover edge cases.

1

u/Jason13Official 1d ago

Ah yes the synthetic data that magically passes all tests

1

u/btherl 23h ago

Ideal is both synthetic and real. Synthetic ensures the core functionality works, and edge cases are handled. Real picks up cases the synthetic data misses, including things which occur only at volume, and other unexpected edge cases. Let Claude cook.

4

u/pleaseallowthisname 1d ago

I second this. Synthetic data can be genuinely useful in several situations.

For example, it allows you to test edge cases, including failure scenarios that might occur in only 1% of real-world cases. These scenarios may be rare, but they can still happen. If you never test for them, you risk having your system fail when one eventually occurs.

Another useful application is during early development, when you don't yet have access to functional real-world data. Synthetic data allows you to continue developing and testing your system without having to wait for real data to become available.

I honestly find it quite surprising that OP considers synthetic data inherently bad. Dismissing it shows that that OP's understanding of software development and testing might be somewhat more limited than they realise.

-1

u/UnimagineDragons 1d ago

Love that you added nothing except to repeat the previous commenters conclusion and suggest that someone vibecoding with ai might not fully understand programming. No shit, dude - that's why we're all using claudecode.

2

u/reddit_is_kayfabe 1d ago

Unit testing. That's what this was.

In order to test a component in isolation, you typically have to feed it data. And you often want to feed it a large range of data to see how it performs on a variety of input. If you don't have real data covering that range, then you have to synthesize it. This is completely normal.

Using only real data generated by another component for a unit test has two problems. First, if that real data is limited in scope, you end up not testing other kinds of input in which the component might not work right, so you end up leaving bugs in your code. And second, if the tests fail, it's more difficult to tell whether it failed because the component you're testing is bad or because you fed it bad data.

8

u/Things-n-Such 1d ago

Why do you care if tests are run on synthetic data? How are you supposed to run proper case testing on real data? You can't possibly have enough real data to test all cases.

0

u/Jason13Official 1d ago

It's the stock market. There's plenty of data.

6

u/DrHumorous 1d ago

how do you define "hard rule" ?

1

u/Jason13Official 1d ago

Saved as a memory (works fine typically)

4

u/Zyxplit 1d ago

Making synthetic data is very important for test coverage.

Testing against real data helps you make sure the tests cover things that you already have in your dataset. Testing against synthetic data helps you make sure the tests cover things that could be in your dataset, but aren't.

Like, say, suppose you have a screen that pulls names from a database that you can display. Great! And you've tested it on all your American names, so now we're all good to go... right?

What about Émile? What about Søren? What about Jürgen? Does it render right if the person is called X Æ A-Xii? Or İnci?

The joy of synthetic data is that you can make up hostile data to see if your system works even when the data is more annoying than usual.

0

u/Jason13Official 1d ago

I don't think making up fake data that passes all tests is helpful in any capacity

2

u/Zyxplit 1d ago

Other way around, you have to make synthetic data that actually tests edge cases. Classic mistake to just test against the normal cases you can find.

1

u/Jason13Official 1d ago

More specific to what I'm working on; it's stocks. I have 10+ years of historical 1-minute bars.

I don't think there's much to gain (for my project) when Claude makes up fake data that passes all engine tests (none of the results are applicable to the other models, the data was synthetic so we can't tune against it)

7

u/NoAdsDude 1d ago

Your friends are collectively reducing your plans and cancelling subscriptions alike?

Are your friends in the room with us right now?

0

u/Jason13Official 1d ago

Yes, everybody is on Reddit of course

(It's like 2 people besides myself)

2

u/UnimagineDragons 1d ago

Another weird Gemini ad.

1

u/Jason13Official 1d ago

No, this is more so me dunking on Claude because it's been great up until I tried anything related to machine learning

9

u/Southern_Performance 1d ago

can you elaborate more on what you were using Claude for here? it's pretty normal for Opus to be a bit neurotic with testing compared to other models. my immediate assumption was that it was testing weird edge cases with the code it has just wrote to make sure it's durable, not that it was trying to sabotage your data. I guarantee if you ask it, you'll get an honest explanation

1

u/redcoatwright 1d ago

Synthetic data is a normal part of building something in data science.

1

u/Jason13Official 1d ago

Sure, but when the fake data passes all tests, I don't see how that's useful at all. And worse so if we tune the models to that fake data.

5

u/Obvious-Grape9012 🔆Pro Plan 1d ago

When you call it out about a hard rule you've set, you will often get invited to submit a bug report. Up to you whether to do so. I don't. I feel that they already have more than enough of my data and that I don't want to build the bridge for them, whilst training their model, whilst paying for it

2

u/ivangalayko77 1d ago

You know what is my issue? when trying to "report" the bug, they also ask for the env

1

u/Obvious-Grape9012 🔆Pro Plan 1d ago

Agreed. It feels like a leaky overstep more than an in-good-faith issue-report

2

u/ChiDuffman 1d ago

Use a skill next time for hard rules. Memory doesnt cut it.

1

u/inanotherclass 1d ago

do you know what a skill is and how it's used?

2

u/Witty_Cut8353 1d ago

where has this hard rule been defined?

2

u/lil_nosh_X 1d ago

Idk, I just ran some tests using synthetic data and it was pretty rad

1

u/Capt_korg 1d ago

Do you have contradictory instructions in your CLAUDE.md ?

Check with /memory what Claude has loaded.

1

u/Duraz0rz Senior Developer 1d ago

Or even an AGENTS.md, which Claude now supports

1

u/Capt_korg 1d ago

And if you have to much documentation, LLMs tend to use them instead of the code... But this won't be found in /memory

1

u/brute_force 1d ago

you have to remember that you should be clearing out irrelevent context, then passing rules often, if you have a cache compact/ etc it likely drifts. any rules you give it make sure they are given first, in a json format.

-1

u/hugganao 1d ago

ive put my post here as well. ive been a claude code user since the beginning of this year. this is the first time ive ever felt the actual agentic work be regressive in its work, comparable to models in 2025.

-3

u/ichi9 1d ago

Your prompts or rules don't over ride system prompt based nerfing and guardrails.

2

u/JacenVane 1d ago

Your prompts or rules don't over ride system prompt based nerfing and guardrails.

That's basically just what anthropic wants you to think.

Most of what people think is enforced by the system prompt is actually Claude's trained disposition. You can test this yourself by interacting with the model in a setting like Claude Code, which has a different system prompt, and allows you to set or append your own in the CLI.