text
stringlengths
355
3.69k
source
stringclasses
6 values
Fix the bug and add pytest tests. ```python def f46389(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 `m06627.py` and `test_m06627.py`. *** Begin Patch *** Update File: m06627.py @@ 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: Repository domain: artifact registry Primary language: YAML Framework/tooling: Helm Reported problem: memory leak in AST cache Task type: test_repair Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f13778(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 `m16254.py` and `test_m16254.py`. *** Begin Patch *** Update File: m16254.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f05804`. ```python def f05804(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m57972 import f05804 def test_known(): assert f05804(3,4) == 25 def test_zero(): assert f05804(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: Optimize while preserving behavior. File: x9smd...
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: Go Framework/tooling: Gin Domain: observability collector Logic challenge: migration ordering failure Task type: performance_bottleneck_patch Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Design CI/CD for a IoT telemetry service delivering rate limiting. Target platform: infra (Terraform). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include clear error handling, must be production-ready, must avoid global state. Difficulty: hard. Assume 10k RPS peak ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of databases for scenario: time-series metrics. Primary language: python. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include tests or verification strategy, design for backward compatibility and mi...
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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Cross-layer incident: race condition on worker shutdown Task...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f95751(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f95751(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to offline-first sync in a education service. Target platform: infra (Terraform). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must avoid global state, must be performant under load, must be production-ready, must include type hin...
WithinUsAI/GOD_Coder_100k
Design and implement an algorithm for data modeling. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be easy to extend, must be streaming-friendly, must include tests. Difficulty: medium. Guarantee deterministic output ordering. Deliverable: implem...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f13897`. ```python def f13897(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m16271 import f13897 def test_known(): assert f13897(3,4) == 25 def test_zero(): assert f13897(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: Optimize while preserving behavior. File: dubix...
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: TypeScript Framework/tooling: Node.js Domain: model serving gateway Logic challenge: race condition on worker shutdown Task type: performance_bottle...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: mechanized_spec Scenario: graph query service Domain focus: GPU serving Primary language: lean Difficulty: expert Scale/SLO: 100k RPS peak Component: component_lwkbztsc Constraints: include failure modes and recovery, avoid data races and undefined behavior, include performance model and limits, assume adver...
WithinUsAI/Omega_Genesis_Coder_100k
Create a small, production-ready Python package for data modeling. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must handle Windows paths safely, must be memory-efficient, must provide clear error messages. Difficulty: medium. Include a small CLI example if rele...
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
Build an elite-grade solution in the domain of high-performance services for scenario: multi-tenant SaaS. Primary language: go. Difficulty: expert. Constraints: include tests or verification strategy, design for backward compatibility and migrations, provide rollout and rollback guidance. Component: component_picdqch. ...
WithinUsAI/Elite_GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f15442(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f15442(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: Fix a bug and add tests. File: g4btkzoi8lah.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: network_protocol Scenario: streaming ETL Domain focus: formal verification Primary language: bash Difficulty: expert Scale/SLO: 100k RPS peak Component: component_hfmfcxvr Constraints: include failure modes and recovery, include deterministic replay plan, explicit contracts and invariants, include performanc...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Implement search + pagination for a logistics product. Target platform: backend (Python FastAPI). Requirements: provide production-ready code, configuration, and tests. Constraints: must avoid global state, must be performant under load, must include clear error handling. Difficulty: expert. Assume PII must be protecte...
WithinUsAI/GOD_Coder_100k
Task type: mechanized_spec Scenario: real-time notification hub Domain focus: secure enclaves (defensive) Primary language: lean Difficulty: expert Scale/SLO: 10k RPS peak Component: component_snpejitm Constraints: include performance model and limits, include failure modes and recovery, include backward compatibility ...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f71863(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m67409.py` with types and O(n) average. ```python # m67409.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
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: Optimize while preserving behavior. File: cg4u0...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: gpu_serving_pipeline Scenario: identity and access Domain focus: constraint solving Primary language: rust Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_eldwfyxe Constraints: include failure modes and recovery, avoid data races and undefined behavior, include security threat model (...
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: ASP.NET Core Domain: model serving gateway Logic challenge: schema drift during deployment Task type: backwards_compatible_red...
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: v16g3ve4l2.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Implement an ML engineering workflow for fraud detection focusing on file uploads. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must avoid global state, must be performant under load, must include type hints where...
WithinUsAI/GOD_Coder_100k
Debug and fix a subtle production bug related to webhooks in a fraud detection service. Target platform: data (SQL + Python). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be secure-by-default, must include documentation/comments, must be observable (logs/metrics/traces),...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion. Primary language: go. Difficulty: medium. Constraints: provide rollout and rollback guidance, make the interface contract explicit, include invariants and failure modes. Component: component_fsrhmob. Assume co...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of databases for scenario: feature flagging. Primary language: rust. Difficulty: medium. Constraints: provide rollout and rollback guidance, make the interface contract explicit, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize. Componen...
WithinUsAI/Elite_GOD_Coder_100k
Optimize a Python workflow for validation. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: stdlib-only, must be streaming-friendly. Difficulty: easy. Provide helpful exceptions with actionable messages. Deliverable: production-ready reference solution. Strategy: - Avoid re...
WithinUsAI/python_GOD_coder_100k
Task type: static_analyzer Scenario: identity and access Domain focus: data lineage & governance Primary language: go Difficulty: expert Scale/SLO: multi-region active-active Component: component_wblhjkyq Constraints: include failure modes and recovery, include verification strategy, avoid data races and undefined beha...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in content moderation to support webhooks cleanly. Target platform: web (React + TypeScript). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include type hints where applicable, must be observable (logs/metrics/traces), must include t...
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: itr17...
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: lockfree_primitive Scenario: time-series metrics store Domain focus: real-time scheduling Primary language: rust Difficulty: hard Scale/SLO: 10k RPS peak Component: component_akmdrlgy Constraints: include performance model and limits, explicit contracts and invariants, include security threat model (defensiv...
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 domain: data pipeline Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: mismatched API contract T...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to real-time notifications in a calendar/scheduling service. Target platform: infra (Docker + Kubernetes). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include clear error handling, must be easy to extend, must include type h...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: payment processing. Primary language: typescript. Difficulty: hard. Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, include tests or verification strategy. Component: component_qesfabr. Assum...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: document indexing. Primary language: typescript. Difficulty: medium. Constraints: document performance characteristics, include tests or verification strategy, assume untrusted inputs; validate and sanitize, design for backward compatibility...
WithinUsAI/Elite_GOD_Coder_100k
Task type: network_protocol Scenario: streaming ETL Domain focus: secure enclaves (defensive) Primary language: go Difficulty: hard Scale/SLO: 10k RPS peak Component: component_bftnejme Constraints: include failure modes and recovery, explicit contracts and invariants, include test vectors and fuzz strategy, include de...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C83543: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m21811.py` and `test_m21811.py`. ```python # m21811.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f02188(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m28884.py` with types and O(n) average. ```python # m28884.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a web feature for content moderation: file uploads. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must be production-ready, must be easy to extend, must be observable (logs/metrics/traces), must include type hints where applicable, must includ...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f18282(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m88326.py` with types and O(n) average. ```python # m88326.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing. Primary language: bash. Difficulty: expert. Constraints: design for backward compatibility and migrations, make the interface contract explicit, include invariants and failure modes, avoid undefined behavior and data rac...
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: Project domain: document processing API Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Software delivery problem: partial checkpoint...
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: SQL Framework/tooling: SQLite Domain: job scheduler Logic challenge: multi-tenant access leak Task type: multi_file_migration_repair Difficulty: exp...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a comprehensive test plan and automated tests for file uploads in a e-commerce product. Target platform: infra (Docker + Kubernetes). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include documentation/comments, must be easy to extend, must be production-r...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f50940(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 `m64420.py` and `test_m64420.py`. *** Begin Patch *** Update File: m64420.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: gpu_serving_pipeline Scenario: time-series metrics store Domain focus: fault injection & chaos engineering Primary language: go Difficulty: expert Scale/SLO: 1M msgs/min Component: component_bykgtjbl Constraints: include security threat model (defensive only), explicit contracts and invariants, include test ...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f80735(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 `m40105.py` and `test_m40105.py`. *** Begin Patch *** Update File: m40105.py @@ 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: Language: C# Framework/tooling: NUnit Domain: reporting engine Logic challenge: timezone bug in reporting Task type: monorepo_toolchain_recovery 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: Optimize while preserving behavior. File: bs1by...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for caching layer. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must handle Windows paths safely, must avoid global state, stdlib-only, must be streaming-friendly. Difficulty: easy. Guarantee deterministic output orde...
WithinUsAI/python_GOD_coder_100k
Refactor an existing codebase in content moderation to support multi-tenant isolation cleanly. Target platform: backend (Python FastAPI). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must avoid global state, must include clear error handling, must be production-ready...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of databases for scenario: analytics pipeline. Primary language: rust. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, document performance characteristics, include invariants and failure modes, design for ...
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: yx3hkp3q.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: network_protocol Scenario: edge sync Domain focus: compiler toolchains Primary language: typescript Difficulty: hard Scale/SLO: 1M msgs/min Component: component_fmikoaaq Constraints: include verification strategy, include performance model and limits, avoid data races and undefined behavior, include determin...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f26668(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m89524.py` with types and O(n) average. ```python # m89524.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for event dispatching. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must include docstrings, must handle Windows paths safely, must include type hints. Difficulty: expert. Provide helpful except...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f66087(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 `m09441.py` and `test_m09441.py`. *** Begin Patch *** Update File: m09441.py @@ 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: Project domain: observability collector Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: S3-compatible upload inconsistenc...
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: lpreso3oi7c.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: document processing API Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: transaction boundary bug Task type: ...
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: Project stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Language: Go Dependency challenge: schema drift during deployment Task type: container_runtime_fi...
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: zd4mv...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: analytics pipeline. Primary language: python. Difficulty: expert. Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize. Component: component_ibecrcv. Assu...
WithinUsAI/Elite_GOD_Coder_100k
Debug and fix a subtle production bug related to real-time notifications in a fraud detection service. Target platform: data (SQL + Python). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include clear error handling, must be easy to extend, must include documentation/comm...
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 domain: model serving gateway Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: memory leak in AST cache ...
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
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: wz4k1cv.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: rate limit gateway Domain focus: formal verification Primary language: go Difficulty: hard Scale/SLO: 10k RPS peak Component: component_sfhrmjvs Constraints: include verification strategy, explicit contracts and invariants, include backward compatibility and migration plan, as...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: job scheduler. Primary language: rust. Difficulty: medium. Constraints: make the interface contract explicit, document performance characteristics, avoid undefined behavior and data races. Component: component_pcgkkpu. Assume 50k RPS and p99...
WithinUsAI/Elite_GOD_Coder_100k
Design CI/CD for a fintech service delivering audit logs. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be secure-by-default, must avoid global state, must be easy to extend, must include documentation/comments, must be perform...
WithinUsAI/GOD_Coder_100k
Refactor a Python module used for CLI tooling into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include docstrings, must be easy to extend, must be streaming-friendly. Difficulty: hard. Avoid quadratic behavior on large inp...
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: System domain: artifact registry Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Cross-layer incident: JWT refresh token rotation Task t...
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: sbv1gx7vvj5.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: Fix a bug and add tests. File: v2uauwisx.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Improve typing and robustness of a Python module used for telemetry ingestion. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must include type hints, must include tests, stdlib-only, must be streaming-friendly. Difficulty: hard. Guarantee deterministic outpu...
WithinUsAI/python_GOD_coder_100k
Fix a subtle bug in a Python module used for validation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: stdlib-only, must be easy to extend. Difficulty: easy. Guarantee deterministic output ordering. Deliverable: corrected code and verification tests. ```python...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of networking for scenario: document indexing. Primary language: python. Difficulty: hard. Constraints: document performance characteristics, provide rollout and rollback guidance, design for backward compatibility and migrations, avoid undefined behavior and data races. Comp...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: feature flagging. Primary language: sql. Difficulty: hard. Constraints: document performance characteristics, provide rollout and rollback guidance, make the interface contract explicit. Component: component_nshghad. Assume cold-start and me...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: event ingestion. Primary language: python. Difficulty: medium. Constraints: document performance characteristics, include invariants and failure modes, make the interface contract explicit, avoid undefined behavior and data races. Componen...
WithinUsAI/Elite_GOD_Coder_100k
Task type: tla_state_machine Scenario: rate limit gateway Domain focus: runtime systems Primary language: tla+ Difficulty: expert Scale/SLO: 10k RPS peak Component: component_nblwokca Constraints: include performance model and limits, explicit contracts and invariants, assume adversarial inputs; validate everything, in...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f06714(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 `m58102.py` and `test_m58102.py`. *** Begin Patch *** Update File: m58102.py @@ d...
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: Optimize while preserving behavior. File: hajkv...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a IoT telemetry service delivering multi-tenant isolation. Target platform: mobile (iOS Swift). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include documentation/comments, must include type hints where applicable, must be observable (logs/metrics/tr...
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 domain: developer platform Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Software delivery problem: timezone bug in reporting...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to idempotent payments in a social media service. Target platform: ML (scikit + batch). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be observable (logs/metrics/traces), must avoid global state, must be secure-by-default, mus...
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
Implement a mobile feature for gaming: webhooks. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must include documentation/comments, must include clear error handling, must include type hints where applicable. Difficulty: easy. Assume GDPR-style deletion request...
WithinUsAI/GOD_Coder_100k