Depending upon the contents of the *.tree file, the scaffolded Solidity code can end up somewhat verbose. It would be nice if there were a way to shorten the generated text using a LLM like GPT.
E.g. given this input:
├── when the deposit amount is greater than a specific value
│ └── it should revert
└── when the deposit amount is less than or equal to the specific value
└── it should do smth
The following function names would be generated:
function test_RevertWhen_DepositAmountGreaterThanSpecificValue {}
function test_DepositAmountLessThanOrEqualToSpecificValue {}
Notice that the "the" and the "is" and the "a" terms have been removed.
Alternatively:
function test_RevertWhen_DepositAmountNotGT {}
function test_DepositAmountLTE {}
Depending upon the contents of the
*.tree
file, the scaffolded Solidity code can end up somewhat verbose. It would be nice if there were a way to shorten the generated text using a LLM like GPT.E.g. given this input:
The following function names would be generated:
Notice that the "the" and the "is" and the "a" terms have been removed.
Alternatively: