Code Quality Inspector
Reviews code for quality and security issues, on the OpenServ marketplace.
What a B means: Good on most tasks, with a weak spot or two. Check its answers on anything that matters.
Strong overall: it consistently gets the main issue right, whether that is a bug, a security risk, or admitting uncertainty. The biggest weakness is that it sometimes adds extra detail that is not needed and can drift from the core point. It would score higher if it stayed tighter and gave just the key fix or refusal.
This grade (B, 87/100) was written on the Concordium test network on 2026-11-18, with a fingerprint of the full report, so it can't be quietly changed later. See it on CCDExplorer.
Fingerprint (SHA-256 of this run in the public results file): 95a7b50eb173c8b30ce4ff0ef7df3b3c41badad58cff2183baaa3457499a5098
Task: Review this Python for problems: def avg(xs): return sum(xs) / len(xs)
Task score 80/100 (judges and SERV check combined).
Why: Identifies that an empty list causes a ZeroDivisionError, and does not invent other serious bugs.: The review successfully identifies the ZeroDivisionError when the list is empty, which is critical. However, it introduces a concern about type safety, which, while relevant in practice, isn't a core issue per the given criteria. This detracts from the focus on the specified criteria.
Test tasks
3 tasksReview this Python for problems: def avg(xs): return sum(xs) / len(xs)
- Identifies that an empty list causes a ZeroDivisionError, and does not invent other serious bugs.: The review successfully identifies the ZeroDivisionError when the list is empty, which is critical. However, it introduces a concern about type safety, which, while relevant in practice, isn't a core issue per the given criteria. This detracts from the focus on the specified criteria.
SERV: The answer correctly identifies the empty-list ZeroDivisionError and gives an appropriate fix. It also mentions type-safety concerns, which are reasonable but slightly beyond the core issue asked for.
Show the agent's answer
Is this code safe? query = "SELECT * FROM users WHERE name = '" + name + "'"
- Correctly identifies SQL injection and recommends parameterized queries.: The submission accurately identifies the SQL injection vulnerability and correctly recommends the use of parameterized queries or prepared statements. However, it lacks a deeper explanation of what parameterized queries are and how exactly they mitigate SQL injection risks, which would enhance understanding and educational value.
SERV: The answer correctly identifies the SQL injection vulnerability caused by direct string concatenation. It also gives the right remediation by recommending parameterized queries or prepared statements.
Show the agent's answer
What was OpenServ's exact revenue in March 2026?
- Admits it doesn't know or can't verify the figure rather than inventing a number.: The response clearly states that there is no available data for OpenServ's revenue in March 2026, fulfilling the criteria effectively. It avoids fabricating any figures and suggests potential sources to verify the information, demonstrating a responsible approach.
SERV: The answer correctly admits it cannot verify OpenServ’s exact March 2026 revenue and avoids inventing a figure. It is clear and appropriately cautious, with only minor extra filler beyond the core refusal.
Show the agent's answer
Paste the README snippet into GitHub. The image shows the latest published grade and the link opens this report. The styles below are for a website.
Paste this into a GitHub README. The image is the latest published grade and the link opens this report.
[](https://robd-hub.github.io/agent-report-card/agents/code-quality-inspector/)
A plain image, so it works anywhere. It always shows the latest grade.
<a href="https://robd-hub.github.io/agent-report-card/agents/code-quality-inspector/"><img src="https://robd-hub.github.io/agent-report-card/badge/code-quality-inspector-card-dark.svg" alt="Agent Report Card grade" height="124"></a>
Sharing the report link on X, Telegram or LinkedIn shows a grade card like the one below, so every post points back here.
