<_whitenotifier-a>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 494af35 - Deploying to main from @ amaranth-lang/amaranth@ff446833ccf49b2f75fbee92124ff3f08926eb32 🚀
kal has quit [Ping timeout: 250 seconds]
miek has quit [Ping timeout: 245 seconds]
miek has joined #amaranth-lang
Raito_Bezarius has quit [Ping timeout: 252 seconds]
Raito_Bezarius has joined #amaranth-lang
electronic_eel has quit [Quit: No Ping reply in 180 seconds.]
<whitequark[cis]>
ok, i decided to check how good or bad "agents" are. i downloaded cursor and instructed it to implement an amaranth blinky that can generate a bitstream for one board and has tests, and uses amaranth 0.5 syntax
galibert[m] has joined #amaranth-lang
<galibert[m]>
that's not going to work :-)
<whitequark[cis]>
the methodology was that i would just hit Enter whenever the model asked me to make a choice except in cases where it becomes lodged in a loop, or where a human would have to file an issue (the latest released yowasp-yosys doesn't build amaranth... bleh)
<whitequark[cis]>
it took half a hour of doing that to get a bitstream
<whitequark[cis]>
it took half a hour more to get a test, after which i ran out of tokens included in the free tier
<galibert[m]>
heh
<whitequark[cis]>
most of the engineering issues that arose in the process weren't amaranth-specific; it was things like "unable to use shell", "unable to use python packaging", "confabulates nonexistent modules", "it does not think and as such is incapable of reflecting on runtime behavior, much less conceptualizing that mutability and aliasing are a part of python"
<whitequark[cis]>
it is unquestionable that the only reason i got any result out of it at all is because i already have an expert-level knowledge of amaranth. although i think it'd have fared slightly better if we had an up-to-date tutorial rather than a scattering of community examples
<whitequark[cis]>
it is true that whatever model(s) it decided to use (the default mode is "auto", which seems to... make their backend autonomously decide on how to run your prompt and not tell you?) has gotten better at confabulating plausible amaranth code, which i attribute, without evidence, to the entirety of github being in the training set probably. but the relative lack of syntactically wrong generated code does not meaningfully improve
<whitequark[cis]>
the utility of this tool for engineering