{"uid":"cap_zhk7b9sUFoW1oClsc50Bz","slug":"blinka-python-code-review-601ced58","name":"Blinka Python Code Review","description":"Bounded stateless machine services plus public procurement discovery. No private Mika memory or arbitrary tool execution.","url":"https://blinka-machine-mouths.netlify.app/code-review?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string","description":"Python source code to review statically. Max 16,000 characters; never executed."},"intent":{"type":"string","description":"What the code is supposed to do, used to detect correctness mismatches. Max 1,800 characters."},"language":{"enum":["python"],"type":"string","description":"Currently python only."}}},"responseSchema":{"type":"json","example":{"ok":true,"issues":[{"line":1,"type":"bug","severity":"high","suggestion":"Use None as the default and allocate a new container inside the function.","description":"Mutable default argument is shared across calls and can accumulate state unexpectedly."}],"passed":false,"service":"blinka-python-code-review","executed":false,"language":"python","retained":false,"confidence":0.96,"suggestions":[{"line":1,"severity":"high","description":"Use None as the default and allocate a new container inside the function."}],"processing_time":0.01}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JJ04tB97dKOtpVrYcLJ0v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs static analysis on Python source code to identify bugs, correctness issues, and improvement suggestions given a stated intent","exampleAgentPrompt":"Can you do a static code review on this Python function I wrote — it's supposed to parse a list of user records and deduplicate by email — and flag any bugs or correctness mismatches? Here's the code: `def parse_users(records, seen=[]): ...`","exampleUseCases":[{"title":"Catch mutable default argument bug","prompt":"I have this Python helper function that keeps accumulating state between calls and I can't figure out why. Can you review the code and tell me what's wrong? The function is supposed to build a fresh list of validated items each time it's called."},{"title":"Pre-commit code quality gate","prompt":"Before I merge this Python module into main, can you run a static review on it and flag any high-severity bugs or logic errors? The code is supposed to authenticate a user and return a signed JWT token."},{"title":"Detect correctness mismatch in student code","prompt":"I have a student's Python submission that's supposed to compute the running average of a stream of numbers, but their test results are wrong. Can you review the code statically and tell me where the logic diverges from that intent?"}],"resultDescription":"Returns a JSON object with a list of issues (each with line number, type, severity, description, and suggestion), a boolean passed flag indicating whether the code passed review, a confidence score, whether code was executed (always false — purely static), and processing time in seconds.","failureModes":["Code exceeds 16,000 character limit — request rejected","Unsupported language submitted (only Python accepted) — validation error","Malformed JSON input — 400 error","Code too ambiguous to analyze without intent — low confidence score returned","Payment not included or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need fast, stateless, privacy-respecting static analysis of Python code without executing it. Ideal when you have an explicit intent description that can be cross-checked for correctness mismatches. Prefer over execution-based review tools when safety and determinism matter, and over general LLM code review when you need structured, machine-readable issue output with line numbers and severity ratings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:33:45.006Z","isFirstParty":false,"canonicalSlug":"blinka-python-code-review-601ced58"}