Skip to content

DOC: updating copilot review instructions#1477

Open
rlundeen2 wants to merge 2 commits intoAzure:mainfrom
rlundeen2:users/rlundeen/2026_03_16_code_review
Open

DOC: updating copilot review instructions#1477
rlundeen2 wants to merge 2 commits intoAzure:mainfrom
rlundeen2:users/rlundeen/2026_03_16_code_review

Conversation

@rlundeen2
Copy link
Contributor

I'm sure this will be ongoing, but adding some instructions for it to be more choosey, and also giving it some converter and scenario specific guidance.

https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review

def __init__(self, *, target: PromptChatTarget, template: str = "default") -> None:
...
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we add a section on updating the modality table with the new converters https://azure.github.io/PyRIT/code/converters/converters/ ?


Tests should be readable, and it should be clear what is being tested and how. Tests should also be maintainable, and it should be easy to update them when the code changes. We should make sure we reuse code. If there are common patterns across tests, we should extract those into helper functions or fixtures. This makes it easier to write new tests and maintain existing ones.

## Core Testing Requirements
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we add something about unit vs integration? Unit should not make network calls.

Anything that includes targets should test api key & entra auth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants