mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
Changed score type to int
This commit is contained in:
parent
8868c92141
commit
7e2449b228
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ You must use the following JSON schema to format your answer:
|
||||||
},
|
},
|
||||||
{%- if require_score %}
|
{%- if require_score %}
|
||||||
"Score": {
|
"Score": {
|
||||||
"type": "float",
|
"type": "int",
|
||||||
"description": "Rate this PR on a scale of 0-100 (inclusive), where 0 means the worst possible PR code, and 100 means PR code of the highest quality, without any bugs or performance issues, that is ready to be merged immediately and run in production at scale."
|
"description": "Rate this PR on a scale of 0-100 (inclusive), where 0 means the worst possible PR code, and 100 means PR code of the highest quality, without any bugs or performance issues, that is ready to be merged immediately and run in production at scale."
|
||||||
},
|
},
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
@ -90,7 +90,7 @@ Example output:
|
||||||
"Main theme": "xxx",
|
"Main theme": "xxx",
|
||||||
"Type of PR": "Bug fix",
|
"Type of PR": "Bug fix",
|
||||||
{%- if require_score %}
|
{%- if require_score %}
|
||||||
"Score": 85.2,
|
"Score": 89,
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if require_tests %}
|
{%- if require_tests %}
|
||||||
"Relevant tests added": "No",
|
"Relevant tests added": "No",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue