Lasifu Ta

Amazon

  • language model
  • developer tool
  • End-to-end
Introduction

The world's first global competition to fix 1 million bugs. Eliminate software bugs and save millions of dollars using Amazon CodeGuru.

Player
dog

US Animal Shelter

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet. Lorem ipsu.

Repository
animal-shelter/postgres
Language
Java
Difficulty
Hard
Domain
Database
Bugs
772
Profiling groups
87
person
You claimed this bug

Similar code fragments were detected in the same file at the following lines: 81:89. Refactoring can help improve code maintainability. Consider reducing duplicate code by extracting it into a separate method. You can then replace duplicated code with calls to this new method.

Points
5
Repository
animal-shelter/postgres
Remaining time
4 hour 32 min
Path
scripts/12-ufw-nginx.sh: line 81
Category
Concurrency
Branch
Main
You successfully claimed this bug

Claim bugs

You can claim up to 5 bugs at a time. You have 3 remaining claims. If you don't have remaining claims, you can claim another bug after you submit a solution.

3
4
5

Earn points

Go to GitHub and fork the repository.
Write code and fix the bug in the IDE of your choice.
Merge your fix to the main branch via a pull request.
Do not show this again
Top player
person
🥇
danielsoft
2162 PTs
641 Bugs
person
🥈
StevenVu
2004 PTs
790 Bugs
person
🥉
Fereidooni
1749 PTs
581 Bugs
Admin
Prizes
This is the prize information players see when they join this event. When the event ends, the event administrator tallys the event points and contacts the winners.
Prize
Link - Optional

🥇 1st place

🥈 2nd place

🥉 3rd place

Import bugs from CodeGuru Reviewer
Choose repository analyses in your AWS account and Region
Import bugs to fix from CodeGuru Reviewer.
websocket-marco-scan
Repository: real-time
Bugs: 344
docker-int-check
Repository: postgress
Bugs: 487
Import profiling groups from CodeGuru Profiler
Choose profiling groups in your AWS account and Region
Import profiling groups from CodeGuru Profiler that can be improved.
index-search-perf
CPU: 1.6%
Heap: 43.2%
Recommends: 4
Share the result with your team
Please copy this message and send it out to your team!
person
🥇
danielsoft
2162 PTs
641 Bugs
person
🥈
StevenVu
2004 PTs
790 Bugs
person
🥉
Fereidooni
1749 PTs
581 Bugs
Visit this link to view the final result of the competition: https://bughunt.aws/events/4f45f66a-22bf-42f5-a63a-b30b80c1ce6b
What is the Amazon BugBust?
The Amazon BugBust is a code challenge centered around a goal of fixing one million bugs in codebases around the world. Companies like yours can create private event that offer dev teams a fun and exiting way to earn rewards and recognition for their contribution to resolving issues.
Join event

Scan repositories from non-profit and open-source communities.

US Animal Shelter

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet. Lorem ipsu.

Repository
animal-shelter/postgres
Language
Java
Difficulty
Hard
Domain
Database
Bugs
772
Profiling groups
87
dog
Fix bugs

Allow developers to browse, claim, fix, and earn points for bugs.

person
You claimed this bug

Similar code fragments were detected in the same file at the following lines: 81:89. Refactoring can help improve code maintainability. Consider reducing duplicate code by extracting it into a separate method. You can then replace duplicated code with calls to this new method.

Points
5
Repository
animal-shelter/postgres
Remaining time
4 hour 32 min
Path
scripts/12-ufw-nginx.sh: line 81
Category
Concurrency
Branch
Main
No one claimed this bug

It appears you are unpacking more than three variables while using a function that returns more than one variable. Using a large number of return values is prone to errors. we recommend that you return a small class or named tuple instance instead.

Points
4
Repository
animal-shelter/postgres
Remaining time
5 hour
Path
apps/database-new: line 320
Category
Code Quality
Branch
Main
person
danielsoft claimed this bug

To check if a container or sequence (string, list, tuple) is empty, use if not val. Do not compare its Length using if len(val) == 0 or if len(val) > 0. Following PEP 8 makes your code clear and more readable.

Points
3
Repository
animal-shelter/postgres
Remaining time
1 hour 8 min
Path
postgres/src/admin: line 144
Category
Code Style
Branch
Main
person
You claimed this bug

Consider closing the following resource: writer. The resource is referenced in statements at the following line: 228. The resource closure statement is at line: 229. There are other execution paths that do not contain closure statements, for example, when exception is thrown by FileOutputStream.write.

Points
5
Repository
animal-shelter/postgres
Remaining time
3 hour 56 min
Path
postgres/src/repareco... : line 227
Category
Memory Management
Branch
Main
Earn points

Merge code fix, and the language model will verify if the bug is resolved.

You successfully claimed this bug

Claim bugs

You can claim up to 5 bugs at a time. You have 3 remaining claims. If you don't have remaining claims, you can claim another bug after you submit a solution.

3
4
5

Earn points

Go to GitHub and fork the repository.
Write code and fix the bug in the IDE of your choice.
Merge your fix to the main branch via a pull request.
Do not show this again
Win prizes

The AI system will calculate the points to identify the top users.

Top player
person
🥇
danielsoft
2162 PTs
641 Bugs
person
🥈
StevenVu
2004 PTs
790 Bugs
person
🥉
Fereidooni
1749 PTs
581 Bugs
User testing

Research showed participants wanted to gamify bug-fixing within their teams.

Prizes
This is the prize information players see when they join this event. When the event ends, the event administrator tallys the event points and contacts the winners.
Prize
Link - Optional

🥇 1st place

🥈 2nd place

🥉 3rd place

Import bugs from CodeGuru Reviewer
Choose repository analyses in your AWS account and Region
Import bugs to fix from CodeGuru Reviewer.
websocket-marco-scan
Repository: real-time
Bugs: 344
docker-int-check
Repository: postgress
Bugs: 487
Import profiling groups from CodeGuru Profiler
Choose profiling groups in your AWS account and Region
Import profiling groups from CodeGuru Profiler that can be improved.
index-search-perf
CPU: 1.6%
Heap: 43.2%
Recommends: 4
Share the result with your team
Please copy this message and send it out to your team!
person
🥇
danielsoft
2162 PTs
641 Bugs
person
🥈
StevenVu
2004 PTs
790 Bugs
person
🥉
Fereidooni
1749 PTs
581 Bugs
Visit this link to view the final result of the competition: https://bughunt.aws/events/4f45f66a-22bf-42f5-a63a-b30b80c1ce6b
What is the Amazon BugBust?
The Amazon BugBust is a code challenge centered around a goal of fixing one million bugs in codebases around the world. Companies like yours can create private event that offer dev teams a fun and exiting way to earn rewards and recognition for their contribution to resolving issues.
613
developers joined
30,667
bugs fixed
$57,645,975
dollars saved