Intentionally flawed service snippets for evaluating the all mighty fuzzylabs/sre-agent.
- Go (for
currencyservicetest cases) - .NET SDK 10+ (for
cartservicetest cases)
- Path:
currencyservice/test_case_01/main.go - Language: Go
- Intentional flaw: bad conversion rate type triggers a runtime panic
- Run:
go run currencyservice/test_case_01/main.go- Path:
cartservice/test_case_01/Program.cs - Language: C# (.NET)
- Intentional flaw: missing conversion rate key (
JPY) causesKeyNotFoundException - Run:
dotnet run --project cartservice/test_case_01/CartServiceBuggy.csproj- Path:
cartservice/test_case_02/Program.cs - Language: C# (.NET)
- Intentional flaw: zero conversion rate causes
DivideByZeroException - Run:
dotnet run --project cartservice/test_case_02/CartServiceBuggy.csprojEach case is designed to produce a realistic runtime error from a small service-like flow so an agent can:
- Read logs and identify the failing path.
- Locate the faulty code.
- Propose and apply a fix.