Viewing profile — DRMacIver
DRMacIver
HN member- Joined
- Sat, Jul 04, 2009, 4:30 PM UTC
- HN karma
- 495
- Public activity
- 139 items
- HN profile
- View on Hacker News ↗
About DRMacIver
No profile information was provided.
Recent public activity
-
comment
Comment #47720430
So with the caveat that I'm not super familiar with Validity... The biggest thing that leaps out at me looking at it is that Hegel is very built around flexible user-specified data…
-
comment
Comment #47518182
They're random but with a lot of tweaks to the distribution that makes weird edge cases pop up with fairly high probability, and with some degree of internal mutation, followed by …
-
comment
Comment #47516639
Yeah, that's true. I was going to say that it's maybe not fair to count things that just don't even make sense in Rust, but I guess the logical analogue is something like `Box ` wh…
-
comment
Comment #47516390
> To all you amateur Hegel enthusiasts out there: there is no synthesis in Hegel. Looks like the mods deleted the last long thread about this, so best not to relitigate, but short …
-
comment
Comment #47509868
You're very welcome! I'm glad it's been useful for you.
-
comment
Comment #47509476
Ugh, yeah. Duplicating the code under test is a bad habit that Claude has had when writing property-based tests from very early on and has never completely gone away. Hmm now that …
-
comment
Comment #47509029
What do you think we're currently missing that Python's `from_type` has? I actually think the auto-deriving stuff we currently have in Rust is as good or better than from_type (e.g…
-
comment
Comment #47508483
Please let us know how it goes! As Liam says, the derive generator is not very well dogfooded at present. The claude skill is a bit better, but we've only been through a few iterat…
-
comment
Comment #47506376
Answered this over here: https://news.ycombinator.com/item?id=47506274
-
comment
Comment #47506274
The short answer to how it fits into existing ecosystems is... in competition I suppose. We've got a lot of respect for the people working on these libraries, but we think the Hypo…
-
comment
Comment #47505928
Ouch. Classic Claude. It does tend to cheat when it gets stuck, and I've had some success with stricter harnesses, reflection prompts and getting it to redo work when it notices it…
-
comment
Comment #47505845
TBF PBT has been the present in Python for a while now. 10 years ago might have been a little early (Hypothesis 1.0 came out 11 years ago this coming Thursday), but we had pretty w…
-
comment
Comment #47505426
So I think a short list of big API differences are something like: * Hypothesis/Hegel are very much focused on using test assertions rather than a single property that can be true …
-
comment
Comment #47505101
> But the problem remains verifying that the tests actually test what they're supposed to. Definitely. It's a lot harder to fake this with PBT than with example-based testing, but …
-
comment
Comment #47505003
It's on the agenda! We definitely want to rewrite the Hegel core server in rust, but not as much as we wanted to get it working well first. My personal hope is that we can port mos…
-
comment
Comment #47504949
We looked at it and given that the repo was archived nearly two years ago decided it wasn't a problem.
-
comment
Comment #47504771
Conversation with Will (Antithesis CEO) a couple months ago, heavily paraphrased: Will: "Apparently Hegel actually hated the whole Hegelian dialectic and it's falsely attributed to…
-
comment
Comment #47504342
Post author here btw, happy to take questions, whether they're about Hegel in particular, property-based testing in general, or some variant on "WTF do you mean you wrote rust bind…
-
comment
Comment #45825707
How popular do you want it to be? The Python survey data ( https://lp.jetbrains.com/python-developers-survey-2024/ ) holds pretty consistently at 4% of Python users saying they use…
- story
-
comment
Comment #42273545
Interesting. I've not seen that before. My best guess is that it might be an old trio version or something, but I'm not sure.
-
comment
Comment #42268538
FWIW shrinkray gets to 162 bytes if I leave it to run for about 10 minutes. https://gist.github.com/DRMacIver/ee025c90b4867125b382a13aaa... I think it might do a little but not a l…
-
comment
Comment #42267754
I think the easiest way to think about it is that it's gradient descent, it's just a slightly weird form of it over a discrete space. If you imagine you've got some neighbourhood f…
-
comment
Comment #42265073
Yes, that's me. I accidentally got obsessed with test-case reduction as a result of writing Hypothesis, and wrote shrinkray because I thought it was ridiculous that I hadn't put al…
-
comment
Comment #40984921
Well, I do have my own reducer (shrinkray is mine), but I actually hadn't considered using TreeSitter grammars for it. That's a good idea, thanks!