To get the best performance out of reviewer, you can configure each module with specific review criteria that fits your needs. All modules except description
support criteria.
Criteria serve as guardrails for the reviewer when creating reviews and filtering hallucinations. Each review must match specified criteria.
find all bugs
or do not hallucinate
You can use Go
templating to specify language specific criteria. Available variables are:
{{ .Language }}
- represents file extension in format .<ext>
(.go
, .py
, …)Example use:
Each module comes with predefined set of default criteria.
You can modify these by specifying a criteria key for each module in .callstack.yml
.
Specifying criteria in .callstack.yml
will override the default criteria.
To get the best performance out of reviewer, you can configure each module with specific review criteria that fits your needs. All modules except description
support criteria.
Criteria serve as guardrails for the reviewer when creating reviews and filtering hallucinations. Each review must match specified criteria.
find all bugs
or do not hallucinate
You can use Go
templating to specify language specific criteria. Available variables are:
{{ .Language }}
- represents file extension in format .<ext>
(.go
, .py
, …)Example use:
Each module comes with predefined set of default criteria.
You can modify these by specifying a criteria key for each module in .callstack.yml
.
Specifying criteria in .callstack.yml
will override the default criteria.