-
Notifications
You must be signed in to change notification settings - Fork 0
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
DEBUG #235
DEBUG #235
Conversation
/gpt-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
f483880
to
e158525
Compare
gpt-check |
/gpt-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
Risk Level 5 - /home/runner/work/api-data/api-data/apps/fraud/compliance/api/src/pcpapillon/utils/model_handler.py
Example fix: # Correct the function to handle type conversion or adjust the logic
# For example, if concatenation is intended:
def fake_model(a: int, b: str) -> str:
return str(a) + b
🔍🛠️🔒 Powered by Code Review GPT |
pull_request_review_comment: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
649a985
to
283af55
Compare
283af55
to
b281d8a
Compare
@@ -21,6 +21,10 @@ class ModelWithMetadata: | |||
model_identifier: str | |||
|
|||
|
|||
def fake_model(a: int, b: str) -> int: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
def fake_model(a: int, b: str) -> int: | ||
return a + b | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
2c18389
to
2c3614f
Compare
@@ -21,6 +21,10 @@ class ModelWithMetadata: | |||
model_identifier: str | |||
|
|||
|
|||
def fake_model(a: int, b: str) -> int: | |||
return a + b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
2c3614f
to
7ae3b2f
Compare
.github/workflows/ci_gpt.yml
Outdated
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- run: echo "event name is:" ${{ github.event }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
7ae3b2f
to
96a281d
Compare
.github/workflows/ci_gpt.yml
Outdated
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- run: echo "${{ toJson(github.event) }}" | jq . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
96a281d
to
74c0fb6
Compare
@@ -21,6 +21,10 @@ class ModelWithMetadata: | |||
model_identifier: str | |||
|
|||
|
|||
def fake_model(a: int, b: str) -> int: | |||
return a + b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
@@ -21,6 +21,10 @@ class ModelWithMetadata: | |||
model_identifier: str | |||
|
|||
|
|||
def fake_model(a: int, b: str) -> int: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
@@ -21,6 +21,10 @@ class ModelWithMetadata: | |||
model_identifier: str | |||
|
|||
|
|||
def fake_model(a: int, b: str) -> int: | |||
return a + b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
74c0fb6
to
5d5ffc3
Compare
.github/workflows/ci_gpt.yml
Outdated
jobs: | ||
run_code_review: | ||
runs-on: ubuntu-latest | ||
if: github.event.comment.body == '/gpt-check' | ||
if: ${{ github.event.comment.body == '/gpt-check' && github.event.comment.user.login == 'lmontier-pass' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
5d5ffc3
to
52bcbde
Compare
on: | ||
issue_comment: | ||
types: [created] | ||
pull_request_review_comment: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
@@ -21,6 +21,10 @@ class ModelWithMetadata: | |||
model_identifier: str | |||
|
|||
|
|||
def fake_model(a: int, b: str) -> int: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gpt-check
Select PR template in preview mode: