Good grief: "Latitude reviews content flagged by the model" - or, as it was put in another forum: every time the AI flags your game, a Latitude employee will be personally reading your private content.

The key reason is perhaps this, buried deep in the text: "We have also received feedback from OpenAI, which asked us to implement changes". Given the volume of prompts that AI Dungeon throws at GPT-3 in the course of a game, it's easy to conclude that Latitude has a real sweetheart deal on the usual pricing, and that they basically have to follow orders from their benefactors.

Whatever may be said of the robocensor they've thrown together - and early anecdotal reports are, it is painfully crude, both oversensitive and underspecific - how they've handled communicating the change is extraordinarily naive. Not for the first time, either: Latitude has form on suddenly imposing major service constraints in a peremptory, underhanded fashion that infuriates their customers. Repeating past PR mistakes, and now doubling down by complaining about "misinformation" and throwing shade onto others, is starting to look like a pattern.

Thus far I have seen screenshots of it flagging the phrases "I would like to buy 4 watermelons" and "I just broke my 8 year old laptop". Regardless of your opinion on the ethics of this feature it seems to need a little polish.

Yeah, that would get flagged in human code review, too. Way too many magic numbers

One number is 'too many'?

I've gotten into way too many fights over this, and my bitter sarcasm is leaking here. I actually like numbers in code. But I've literally been told that

   distance = ((x1-x0)**2 + (y1-y0)**2)**.5
has "magic numbers" and that's a "code smell"

Raising to the power of .5 rather than using the sqrt function does whiff a bit. Even better, use hypot.

https://developer.mozilla.org/en-US/docs/web/javascript/refe...

https://docs.python.org/3/library/math.html

Yup, hypot is better on performance grounds, if you assume I'm using doubles. But is it as readable as my snippet?

How could it not be? It has a name that says what it's doing, while yours is more punctuation than text. To "read" yours I have to just skim over it and mentally assign "according to the variable name, that hodgepodge means 'distance'... I hope".

I have a BS in math, so obviously I'm familiar with the math notation, but I code like an English major.

Yeah, not to mention tons of possible variations of that line that you might not notice at a glace but would completely change the output.

Yeah, my bad for not radiation-hardening my code

https://github.com/mame/radiation-hardened-quine