text
stringlengths
355
3.69k
source
stringclasses
6 values
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: TypeScript Framework/tooling: Prisma Domain: auth service Logic challenge: N+1 query explosion Task type: misleading_symptom_debug Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of databases for scenario: payment processing. Primary language: python. Difficulty: medium. Constraints: avoid undefined behavior and data races, make the interface contract explicit, design for backward compatibility and migrations, include invariants and failure modes. Com...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: repo automation Primary language: SQL Framework/tooling: MySQL Reported problem: JWT refresh token rotation Task type: test_repair Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: gr05r...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: inventory & ordering. Primary language: go. Difficulty: expert. Constraints: include invariants and failure modes, avoid undefined behavior and data races, make the interface contract explicit. Component: component_urwkvnx. Assume cold-sta...
WithinUsAI/Elite_GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: acpva4o.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_frontend Scenario: multi-tenant event ingestion Domain focus: consensus & replication Primary language: bash Difficulty: hard Scale/SLO: 99.99% availability Component: component_iciealmp Constraints: explicit contracts and invariants, include performance model and limits, include security threat mod...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C# Framework/tooling: xUnit Domain: reporting engine Logic challenge: timezone bug in reporting Task type: concurrency_fix Difficulty: hard Return ...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: Catch2 Domain: notification service Logic challenge: memory leak in AST cache Task type: monorepo_toolchain_recovery Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: Catch2 Domain: team dashboard Logic challenge: monorepo toolchain skew Task type: backwards_compatible_redesign Difficulty: e...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: a_m9x4u1zjoz.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Design a small, production-grade Python API for ETL pipelines. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: stdlib-only, must include type hints, must be memory-efficient, must avoid global state. Difficulty: hard. Handle empty inputs and malformed records gr...
WithinUsAI/python_GOD_coder_100k
Debug and fix a subtle production bug related to real-time notifications in a fintech service. Target platform: infra (Docker + Kubernetes). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include tests, must include clear error handling, must be observable (logs/metrics/tr...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: inventory & ordering. Primary language: go. Difficulty: medium. Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, design for backward compatibility and migrations. Component: component_owuiptc. Assum...
WithinUsAI/Elite_GOD_Coder_100k
Design a small, production-grade Python API for log processing. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must provide clear error messages, must avoid global state. Difficulty: easy. Ensure the API is testable via dependency injection. Deliverable: corre...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in logistics to support search + pagination cleanly. Target platform: backend (Go). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be production-ready, must avoid global state, must include documentation/comments, must include clear e...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: kxp0xc6d.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: inventory & ordering. Primary language: python. Difficulty: medium. Constraints: document performance characteristics, make the interface contract explicit, design for backward compatibility and migrations, assume untrusted inputs; validate ...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: developer platform Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: idempotent retry design Task type: cache_con...
WithinUsAI/GOD_Coder_Complete_DataSet
Write a thorough test suite for a Python component used for configuration loading. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must provide clear error messages, must be easy to extend, stdlib-only. Difficulty: hard. Include a small CLI example if relevant. Deliverable: produc...
WithinUsAI/python_GOD_coder_100k
Task type: network_protocol Scenario: edge sync Domain focus: constraint solving Primary language: python Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_ipasopxs Constraints: assume adversarial inputs; validate everything, avoid data races and undefined behavior, include verification str...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: payment processing. Primary language: go. Difficulty: medium. Constraints: provide rollout and rollback guidance, include invariants and failure modes, include tests or verification strategy, avoid undefined behavior and data races. Componen...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: streaming ETL Domain focus: zero-downtime migrations Primary language: cpp Difficulty: expert Scale/SLO: 1M msgs/min Component: component_gfsfvpen Constraints: include verification strategy, include failure modes and recovery, include deterministic replay plan, include security ...
WithinUsAI/Omega_Genesis_Coder_100k
Perform a code review for a gaming PR implementing webhooks. Target platform: mobile (Android Kotlin). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be performant under load, must avoid global state, must include documentation/comments, must include clear err...
WithinUsAI/GOD_Coder_100k
Write pytest tests for `f29311`. ```python def f29311(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m18473 import f29311 def test_known(): assert f29311(3,4) == 25 def test_zero(): assert f29311(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for validation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include docstrings, must avoid global state, must be streaming-friendly, must be easy to extend. Difficulty: medium. Support both Windows and POSIX paths...
WithinUsAI/python_GOD_coder_100k
Task type: perf_microarchitecture Scenario: rate limit gateway Domain focus: model checking Primary language: go Difficulty: hard Scale/SLO: multi-region active-active Component: component_pcbwvsny Constraints: assume adversarial inputs; validate everything, include deterministic replay plan, include performance model ...
WithinUsAI/Omega_Genesis_Coder_100k
Perform a code review for a e-commerce PR implementing real-time notifications. Target platform: ML (PyTorch + serving). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be easy to extend, must include tests, must include clear error handling. Difficulty: easy. ...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: v5h4e...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Python Framework/tooling: Celery Domain: observability collector Logic challenge: unsafe deserialization Task type: misleading_symptom_debug Difficu...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f21389(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m31627.py` with types and O(n) average. ```python # m31627.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: developer platform Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Cross-layer incident: mismatched API contract Task type: schema_cont...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f53369(n: int) -> int: # sum 1..n inclusive if n < 0: raise ValueError total = 0 for k in range(n): # BUG total += k return total ``` Return unified diffs for `m64767.py` and `test_m64767.py`. *** Begin Patch *** Update File: m64767.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for content moderation supporting search + pagination. Target platform: infra (Docker + Kubernetes). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include documentation/comments, must be production-ready, must be observable (logs/metrics/trac...
WithinUsAI/GOD_Coder_100k
Task type: mechanized_spec Scenario: real-time notification hub Domain focus: fault injection & chaos engineering Primary language: lean Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_tcssnjpx Constraints: explicit contracts and invariants, include backward compatibility and migration pl...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: notification service Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: transaction boundary bug Task type: schema...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor a Python module used for log processing into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include type hints, must avoid global state, must be easy to extend, must include tests. Difficulty: expert. Avoid quadratic...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: ondswzss.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: event ingestion. Primary language: typescript. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, design for backward compatibility and migrations, avoid undefined behavior and da...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_frontend Scenario: identity and access Domain focus: edge robotics (safe) Primary language: typescript Difficulty: expert Scale/SLO: 10k RPS peak Component: component_pmffgjzr Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, include verification st...
WithinUsAI/Omega_Genesis_Coder_100k
Fix a subtle bug in a Python module used for CLI tooling. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must provide clear error messages, must include docstrings. Difficulty: easy. Include a small CLI example if relevant. Deliverable: implementation + tests. ...
WithinUsAI/python_GOD_coder_100k
Task type: query_optimizer Scenario: job scheduler Domain focus: data lineage & governance Primary language: bash Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_fgkvmzqr Constraints: explicit contracts and invariants, include test vectors and fuzz strategy, include performance model and limits,...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Language: Go Dependency challenge: schema drift during deployment Task type: container_ru...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f72837(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m24691.py` with types and O(n) average. ```python # m24691.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for file synchronization. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: stdlib-only, must include type hints, must include docstrings, must provide clear error messages. Difficulty: medium. Include a small CLI example if relevant. Deliverable: ...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f85177(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m69311.py` with types and O(n) average. ```python # m69311.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f50197(n: int) -> int: # sum 1..n inclusive if n < 0: raise ValueError total = 0 for k in range(n): # BUG total += k return total ``` Return unified diffs for `m07171.py` and `test_m07171.py`. *** Begin Patch *** Update File: m07171.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for task scheduling. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be memory-efficient, must be streaming-friendly, must avoid global state. Difficulty: expert. Handle empty inputs and malformed records gracefully. ...
WithinUsAI/python_GOD_coder_100k
Create a comprehensive test plan and automated tests for multi-tenant isolation in a education product. Target platform: infra (Terraform). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be performant under load, must be easy to extend, must include type hints whe...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: Go Dependency challenge: memory leak in AST cache Task type: version_conflict_resolu...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: robust_e2e_testing Scenario: time-series metrics store Domain focus: edge robotics (safe) Primary language: bash Difficulty: hard Scale/SLO: multi-region active-active Component: component_uyfnrafl Constraints: explicit contracts and invariants, include security threat model (defensive only), avoid data race...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: b2d6tftj17.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Java Framework/tooling: Maven Domain: feature flag service Logic challenge: memory leak in AST cache Task type: distributed_debug Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Java Framework/tooling: Hibernate Domain: benchmark harness Logic challenge: CI failures after dependency upgrade Task type: distributed_debug Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Playwright Domain: feature flag service Logic challenge: log redaction failure Task type: transaction_integrity_fix Di...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C26966: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m94382.py` and `test_m94382.py`. ```python # m94382.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to idempotent payments in a healthtech service. Target platform: ML (scikit + batch). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include tests, must be production-ready, must be observable (logs/metrics/traces). Difficulty:...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C85411: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m29647.py` and `test_m29647.py`. ```python # m29647.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: team dashboard Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Cross-layer incident: path traversal on downloads Task type: obs...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement A/B experimentation for a document processing product. Target platform: mobile (iOS Swift). Requirements: provide production-ready code, configuration, and tests. Constraints: must be production-ready, must include clear error handling, must avoid global state, must be observable (logs/metrics/traces), must i...
WithinUsAI/GOD_Coder_100k
Refactor an existing codebase in fintech to support real-time notifications cleanly. Target platform: infra (Docker + Kubernetes). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include documentation/comments, must include clear error handling, must be performant ...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: pij8jo9_.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f37667`. ```python def f37667(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m05381 import f37667 def test_known(): assert f37667(3,4) == 25 def test_zero(): assert f37667(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for telemetry ingestion. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must handle Windows paths safely, must include type hints, must provide clear error messages. Difficulty: easy. Include a small CLI example if relevant. Deliverable: API + r...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Bash Framework/tooling: awk Domain: repo automation Logic challenge: timezone bug in reporting Task type: multi_service_security_patch Difficulty: e...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Go Framework/tooling: net/http Domain: document processing API Logic challenge: schema drift during deployment Task type: cross_stack_outage_fix Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: YAML Framework/tooling: Helm Domain: search service Logic challenge: S3-compatible upload inconsistency Task type: state_machine_patch Difficulty: m...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of stream processing for scenario: inventory & ordering. Primary language: rust. Difficulty: medium. Constraints: design for backward compatibility and migrations, include invariants and failure modes, provide rollout and rollback guidance, avoid undefined behavior and data r...
WithinUsAI/Elite_GOD_Coder_100k
Implement role-based access control for a social media product. Target platform: ML (scikit + batch). Requirements: provide production-ready code, configuration, and tests. Constraints: must be production-ready, must be observable (logs/metrics/traces), must include type hints where applicable, must be easy to extend. ...
WithinUsAI/GOD_Coder_100k
Debug and fix a subtle production bug related to audit logs in a e-commerce service. Target platform: data (SQL + Python). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include tests, must be secure-by-default, must be observable (logs/metrics/traces). Difficulty: easy. A...
WithinUsAI/GOD_Coder_100k
Write pytest tests for `f90003`. ```python def f90003(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m41429 import f90003 def test_known(): assert f90003(3,4) == 25 def test_zero(): assert f90003(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: lihtq7tnh6r.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f46042(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f46042(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: rkpiz5vml80.py `...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: auth service Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Cross-layer incident: multi-tenant access leak Task type: full_sta...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: vymmx5liew.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Implement audit logs for a customer support product. Target platform: mobile (Android Kotlin). Requirements: provide production-ready code, configuration, and tests. Constraints: must be easy to extend, must be secure-by-default, must include type hints where applicable. Difficulty: expert. Assume GDPR-style deletion r...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C96126: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m99702.py` and `test_m99702.py`. ```python # m99702.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of stream processing for scenario: chat messaging. Primary language: go. Difficulty: medium. Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, make the interface contract explicit. Component: component_btrlyhc. Assume partial n...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C44001: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m11077.py` and `test_m11077.py`. ```python # m11077.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: dkabqt76p.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a concurrent Python solution for configuration loading. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must include type hints, must include tests. Difficulty: hard. Provide helpful exceptions with actionable messages. Deliverable: production-rea...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C# Framework/tooling: ASP.NET Core Domain: reporting engine Logic challenge: transaction boundary bug Task type: algorithmic_correctness Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C27574: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m25198.py` and `test_m25198.py`. ```python # m25198.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: Catch2 Domain: observability collector Logic challenge: websocket reconnect storm Task type: cross_stack_outage_fix Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: jc8198soyzz.py `...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_backend_ir Scenario: rate limit gateway Domain focus: consensus & replication Primary language: rust Difficulty: expert Scale/SLO: p99 < 150ms Component: component_vrcpxaht Constraints: avoid data races and undefined behavior, include deterministic replay plan, include performance model and limits, ...
WithinUsAI/Omega_Genesis_Coder_100k