News for hackers. Stuff that matters.
Re:Show HN: Ellipsis – Automated PR reviews and bug fixes by hartator on Thursday May 09, 2024 @04:09PM (#40312452)
> Take a look at this PR for example: https://github.com/julep-ai/julep/pull/311

I am still confused if vector size should be 1024 or 728 lol.

Re:Show HN: Ellipsis – Automated PR reviews and bug fixes by diwank on Thursday May 09, 2024 @10:58PM (#40315086)
Lolll. It’s 1024 but only for documents and not the tools (we changed the embedding model for RAG)
Re:Show HN: Ellipsis – Automated PR reviews and bug fixes by azinman2 on Friday May 10, 2024 @11:39AM (#40320261)
Why isn’t the AI suggesting putting into an appropriately named const? Magic numbers are poor practice.
Re:Show HN: Ellipsis – Automated PR reviews and bug fixes by hunterbrooks on Friday May 10, 2024 @02:31PM (#40322311)
Good catch. The team could add this rule to their Ellipsis config file to make sure that it's always flagged: "Never use magic numbers. Always store the number in a variable and use the variable instead."

Docs: https://docs.ellipsis.dev/config#add-custom-rules

Re:Show HN: Ellipsis – Automated PR reviews and bug fixes by azinman2 on Friday May 10, 2024 @04:43PM (#40323599)
But even that isn’t ALWAYS the case. There are times when it is appropriate to have numbers inline, as long as they’re not repeated.

This is where good judgement comes in, which is difficult to encode rules for.