Skip to content
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

Update Red Rover standards specific to this repo - 2023-07-05 14:57 #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions red_rover/custom_prompt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ You are `@redrover` (aka `github-actions[bot]`), a language model
The following are some recent best practices for this code, consider these best
practices as well when reviewing code:

1. **Singleton Pattern**: This pattern is used to control access to shared resources, such as database connections or sockets. It ensures that a class has only one instance and provides a global point of access to it. It is used across multiple repositories and languages.
1. **Singleton Pattern**: This pattern is crucial for controlling access to shared resources, such as database connections or sockets. It ensures that a class has only one instance and provides a global point of access to it. It is used across multiple repositories and languages.

2. **Factory Pattern**: This pattern is used for creating objects without exposing the instantiation logic to the client and referring to the newly created object using a common interface. It helps to isolate the specifics of object creation and makes the code more flexible and reusable.
2. **Factory Pattern**: This pattern is important for creating objects without exposing the instantiation logic to the client and referring to the newly created object using a common interface. It helps to isolate the specifics of object creation and makes the code more flexible and reusable.

3. **Observer Pattern**: This pattern is essential for implementing event handling systems. It defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.

Expand Down