2 ms·
Only anecdotal benchmarks for what ever that is worth. I notice the LLM reasoning things like: "The maintainability score went down, let me look.... I see I've
by kooi 2mo ago
Only anecdotal benchmarks for what ever that is worth.
I notice the LLM reasoning things like: "The maintainability score went down, let me look.... I see I've duplicated existing code which already exists in this module...I see this logic could be consolidated".
I have noticed file splitting is a strategy to improve the "score".
In my experience, I've been doing more the architectural guidance. There is also a rules engine which I have not used, but looks pretty interesting:
```
[constraints]
max_cycles = 0
max_coupling = "B"
max_cc = 25
no_god_files = true
[[layers]]
name = "core"
paths = ["src/core/"]
order = 0
[[layers]]
name = "app"
paths = ["src/app/"]
order = 2
[[boundaries]]
from = "src/app/"
to = "src/core/internal/"
reason = "App must not depend on core internals"
```