Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: What is "expression complexity"? #14

Open
MartinThoma opened this issue Aug 10, 2020 · 1 comment
Open

DOC: What is "expression complexity"? #14

MartinThoma opened this issue Aug 10, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@MartinThoma
Copy link

I would love to see a hint in the README what expression complexity is

@MartinThoma MartinThoma added the enhancement New feature or request label Aug 10, 2020
@flxai
Copy link

flxai commented Jun 17, 2021

@MartinThoma Thanks for asking the question. I was wondering the same.

Reconstructing the idea from the current source code it appears to be computed on the AST. Apparently its the sum of all the AST's nodes multiplied by a custom factor per node type. But this may not be the full picture given that I've not looked at all the source's details (like score_addon etc.).

Maybe @Melevir or @vQuadX can shed some light on the details?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants