chore: use javascript ast for evaluation #3
Loading…
Reference in a new issue
No description provided.
Delete branch "js-ast"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've made quite a few changes at once here, but just for project health and test improvements. No new tests/prompts.
Formatting
I'm going to be proofreading prompts to omit all formatting related sections. This should be handled by a linter and looped on by an agent, but not described to the agent via context. I've already removed some instructions for it, and including a note in the README.
JavaScript AST
I use a JavaScript parser to build and check against an AST instead now. This will be much more versatile than my previous solution. Before we just checked the file entirely, or only checked if it parsed. Now we can specifically check for things like private variables.
mentioned in commit
d1f85afc11mentioned in merge request !4