text
stringlengths
355
3.69k
source
stringclasses
6 values
Perform a code review for a enterprise SaaS PR implementing role-based access control. Target platform: backend (Node.js). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be secure-by-default, must be production-ready, must include clear error handling. Difficu...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: chat messaging. Primary language: go. Difficulty: hard. Constraints: make the interface contract explicit, include tests or verification strategy, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance. Component: co...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f95578(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m13654.py` with types and O(n) average. ```python # m13654.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: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: SQL Dependency challenge: partial checkpoint corruption Task type: migration_patch D...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f40528(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m91504.py` with types and O(n) average. ```python # m91504.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: Fix a bug and add tests. File: jcii8xuplh.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
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: reporting engine Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: optimistic lo...
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
Build an elite-grade solution in the domain of sre/observability for scenario: document indexing. Primary language: go. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, include tests or verification strategy, design for backward compatibility and migr...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f79842(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 `m11406.py` and `test_m11406.py`. *** Begin Patch *** Update File: m11406.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Improve typing and robustness of a Python module used for file synchronization. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must handle Windows paths safely, must provide clear error messages. Difficulty: expert. Handle empty inputs and malformed records g...
WithinUsAI/python_GOD_coder_100k
Task type: lockfree_primitive Scenario: edge sync Domain focus: secure enclaves (defensive) Primary language: rust Difficulty: hard Scale/SLO: multi-region active-active Component: component_ikixdgcd Constraints: include verification strategy, assume adversarial inputs; validate everything, explicit contracts and invar...
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: Fix a bug and add tests. File: le_ce8w.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a document processing service delivering role-based access control. Target platform: backend (Node.js). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include documentation/comments, must be easy to extend, must avoid global state, must be performant u...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of compilers for scenario: inventory & ordering. Primary language: python. Difficulty: expert. Constraints: avoid undefined behavior and data races, include tests or verification strategy, document performance characteristics, make the interface contract explicit, 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: s9k7bsn.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f98116`. ```python def f98116(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m42588 import f98116 def test_known(): assert f98116(3,4) == 25 def test_zero(): assert f98116(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: 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
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: jol_g...
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: qgnzhbhxagk.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in enterprise SaaS to support event-driven workflows cleanly. Target platform: infra (Terraform). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include type hints where applicable, must include clear error handling, must be observabl...
WithinUsAI/GOD_Coder_100k
Provision infrastructure for a customer support workload providing real-time notifications. Target platform: ML (PyTorch + serving). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must be production-ready, must include documentation/comments, must be secure-by-default, ...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f08662(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m72666.py` with types and O(n) average. ```python # m72666.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: bubyc...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of stream processing for scenario: event ingestion. Primary language: python. Difficulty: expert. Constraints: include tests or verification strategy, avoid undefined behavior and data races, make the interface contract explicit. Component: component_ifrnqwd. Assume schema ch...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f34142(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m76306.py` with types and O(n) average. ```python # m76306.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f96487(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m56641.py` with types and O(n) average. ```python # m56641.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Implement idempotent payments for a calendar/scheduling product. Target platform: ML (PyTorch + serving). Requirements: provide production-ready code, configuration, and tests. Constraints: must be production-ready, must be easy to extend, must avoid global state, must include type hints where applicable, must include ...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f22142(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 `m60306.py` and `test_m60306.py`. *** Begin Patch *** Update File: m60306.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of stream processing for scenario: time-series metrics. Primary language: rust. Difficulty: expert. Constraints: make the interface contract explicit, provide rollout and rollback guidance, include invariants and failure modes, avoid undefined behavior and data races. Compone...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f76881(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m10983.py` with types and O(n) average. ```python # m10983.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: sre_incident_sim Scenario: multi-tenant event ingestion Domain focus: observability platforms Primary language: sql Difficulty: expert Scale/SLO: p99 < 150ms Component: component_yzbggzgr Constraints: avoid data races and undefined behavior, include test vectors and fuzz strategy, include verification strate...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: query_optimizer Scenario: feature-flag evaluation Domain focus: observability platforms Primary language: typescript Difficulty: expert Scale/SLO: multi-region active-active Component: component_uaygxnsn Constraints: include verification strategy, include failure modes and recovery, avoid data races and unde...
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: TypeScript Framework/tooling: NestJS Domain: feature flag service Logic challenge: rate-limit bypass Task type: parser_validation_logic Difficulty: ...
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: gmg942wd69od.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: ipxl6ksp.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C74854: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m05758.py` and `test_m05758.py`. ```python # m05758.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: storage_engine Scenario: time-series metrics store Domain focus: static analysis Primary language: bash Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_lekrnito Constraints: assume adversarial inputs; validate everything, explicit contracts and invariants, include test vectors and fuzz strateg...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: analytics pipeline. Primary language: rust. Difficulty: medium. Constraints: make the interface contract explicit, avoid undefined behavior and data races, provide rollout and rollback guidance, design for backward compatibility and migratio...
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: 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
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: DuckDB Domain: data pipeline Logic challenge: JWT refresh token rotation Task type: state_machine_patch Difficulty: medium R...
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: ftfjj...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C35759: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m10443.py` and `test_m10443.py`. ```python # m10443.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: bcbrlaz58e.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C67525: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m74425.py` and `test_m74425.py`. ```python # m74425.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: nullqttd3.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: payment processing. Primary language: rust. Difficulty: expert. Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, include tests or verification strategy. Component: component_lzbxvhp. Assume complia...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: time-series metrics store Domain focus: model checking Primary language: cpp Difficulty: hard Scale/SLO: p99 < 50ms Component: component_npjiciex Constraints: include performance model and limits, include backward compatibility and migration plan, include deterministic replay pl...
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 to typed, mostly-immutable Python and add minimal tests. ```python class C99431: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m69187.py` and `test_m69187.py`. ```python # m69187.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: Java Framework/tooling: JUnit Domain: team dashboard Logic challenge: async cancellation bug Task type: parser_validation_logic Difficulty: hard Re...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: static_analyzer Scenario: graph query service Domain focus: runtime systems Primary language: go Difficulty: expert Scale/SLO: 50 TB/day ingestion Component: component_eftohvqd Constraints: avoid data races and undefined behavior, include verification strategy, include performance model and limits, include f...
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: Rust Framework/tooling: Tokio Domain: payments platform Logic challenge: race condition on worker shutdown Task type: security_logic_interaction Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f39043(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m34149.py` with types and O(n) average. ```python # m34149.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: network_protocol Scenario: job scheduler Domain focus: real-time scheduling Primary language: python Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_xdiiyizg Constraints: include performance model and limits, include security threat model (defensive only), avoid data races and undefined beh...
WithinUsAI/Omega_Genesis_Coder_100k
Implement a concurrent Python solution for time series. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must avoid global state, must provide clear error messages, must handle Windows paths safely. Difficulty: expert. Guarantee deterministic output ordering....
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C76937: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m75149.py` and `test_m75149.py`. ```python # m75149.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to multi-tenant isolation in a content moderation service. Target platform: web (React + TypeScript). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must avoid global state, must be secure-by-default, must be observable (logs/metric...
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: eb7fk...
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: reporting engine Primary language: SQL Framework/tooling: DuckDB Reported problem: stale cache invalidation Task type: code_review_fix Diff...
WithinUsAI/GOD_Coder_Complete_DataSet
Provision infrastructure for a e-commerce workload providing multi-tenant isolation. Target platform: backend (Go). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must be production-ready, must include documentation/comments, must include clear error handling, must be p...
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: System domain: observability collector Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: N+1 query explosion Task type: obser...
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 domain: data pipeline Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: broken pagination cursor Task type: rollbac...
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: bymucb.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: document indexing pipeline Domain focus: constraint solving Primary language: cpp Difficulty: expert Scale/SLO: 10k RPS peak Component: component_mrgswbno Constraints: explicit contracts and invariants, include performance model and limits, include deterministic replay plan, incl...
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: TypeScript Framework/tooling: Prisma Domain: search service Logic challenge: unsafe deserialization Task type: performance_bottleneck_patch 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: iov6m...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f83846(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 `m11978.py` and `test_m11978.py`. *** Begin Patch *** Update File: m11978.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Improve typing and robustness of a Python module used for report generation. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must include tests, stdlib-only, must include type hints, must be streaming-friendly. Difficulty: easy. Support both Windows and POSIX ...
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: jq Domain: developer platform Logic challenge: partial checkpoint corruption Task type: algorithmic_correctness Difficulty: ...
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: mixyjw.py ```pyt...
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
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: TypeScript Dependency challenge: transaction boundary bug Task type: cve_dependency_...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: secure_architecture Scenario: job scheduler Domain focus: large-scale ML systems Primary language: sql Difficulty: expert Scale/SLO: 100k RPS peak Component: component_cbthbnwk Constraints: explicit contracts and invariants, include failure modes and recovery, include backward compatibility and migration pla...
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: Fix a bug and add tests. File: ynh_gix5bwp3.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: C# Framework/tooling: EF Core Domain: data pipeline Logic challenge: gRPC retry storm Task type: performance_bottleneck_patch Difficulty: hard Retu...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: storage_engine Scenario: rate limit gateway Domain focus: observability platforms Primary language: sql Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_ukhqlhal Constraints: include verification strategy, explicit contracts and invariants, include test vectors and fuzz strategy, include securi...
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: Optimize while preserving behavior. File: xw5c9...
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: Spring Boot Domain: feature flag service Logic challenge: transaction boundary bug Task type: parser_validation_logic Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to role-based access control in a social media service. Target platform: CI (GitHub Actions). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be performant under load, must be production-ready, must be observable (logs/metrics/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: Fix a bug and add tests. File: nkhel8k.py ```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: hsmfyzyiu5.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f03782(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 `m14826.py` and `test_m14826.py`. *** Begin Patch *** Update File: m14826.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C61787: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m58599.py` and `test_m58599.py`. ```python # m58599.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: zah1q9pic1uy.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: C# Framework/tooling: ASP.NET Core Domain: model serving gateway Logic challenge: optimistic locking conflict Task type: multi_service_security_patc...
WithinUsAI/GOD_Coder_Complete_DataSet
Design and implement an algorithm for configuration loading. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be easy to extend, must handle Windows paths safely, must provide clear error messages. Difficulty: hard. Guarantee deterministic output ord...
WithinUsAI/python_GOD_coder_100k
Refactor an existing codebase in e-commerce to support offline-first sync cleanly. Target platform: data (SQL + Python). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include tests, must be performant under load, must include documentation/comments, must be secur...
WithinUsAI/GOD_Coder_100k
Create a comprehensive test plan and automated tests for offline-first sync in a fintech product. Target platform: infra (Terraform). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be easy to extend, must include type hints where applicable, must include tests, mu...
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: optimistic locking conflict Task type: lockfile_repair Diff...
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: benchmark harness Logic challenge: path traversal on downloads Task type: edge_case_hardening Difficulty: hard...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of compilers for scenario: rate limiting gateway. Primary language: go. Difficulty: expert. Constraints: make the interface contract explicit, avoid undefined behavior and data races, include tests or verification strategy, provide rollout and rollback guidance. Component: co...
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: Optimize while preserving behavior. File: wi4qi...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of sre/observability for scenario: inventory & ordering. Primary language: rust. Difficulty: hard. Constraints: make the interface contract explicit, provide rollout and rollback guidance, avoid undefined behavior and data races. Component: component_kyjzitj. Assume partial n...
WithinUsAI/Elite_GOD_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 include type hints, must be streaming-friendly, must include docstrings. Difficulty: hard. Support both Windows and POSIX paths correctly. Deliverable:...
WithinUsAI/python_GOD_coder_100k
Improve typing and robustness of a Python module used for data modeling. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must be easy to extend, must be streaming-friendly, must provide clear error messages, stdlib-only. Difficulty: medium. Include a small CLI...
WithinUsAI/python_GOD_coder_100k
Design a production system for enterprise SaaS supporting A/B experimentation. Target platform: CI (GitHub Actions). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include clear error handling, must be performant under load, must be secure-by-default, must include type ...
WithinUsAI/GOD_Coder_100k