text
stringlengths
355
3.69k
source
stringclasses
6 values
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: feature flagging. Primary language: python. Difficulty: hard. Constraints: avoid undefined behavior and data races, include invariants and failure modes, provide rollout and rollback guidance, make the interface contract expli...
WithinUsAI/Elite_GOD_Coder_100k
Fix a subtle bug in a Python module used for log processing. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be easy to extend, must include docstrings. Difficulty: expert. Provide helpful exceptions with actionable messages. Deliverable: production-ready 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: System domain: payments platform Stack: Airflow, dbt, DuckDB, MinIO, pytest Cross-layer incident: log redaction failure Task type: deploy_runtime_patch Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f96699(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 `m70957.py` and `test_m70957.py`. *** Begin Patch *** Update File: m70957.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f96880(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m13840.py` with types and O(n) average. ```python # m13840.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: pb9x395kb0b9.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: time-series metrics. Primary language: go. Difficulty: expert. Constraints: avoid undefined behavior and data races, document performance characteristics, include tests or verification strategy. Component: component_oeepbvi. Assume 50k RPS and p99 ...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of databases for scenario: event ingestion. Primary language: go. Difficulty: hard. Constraints: make the interface contract explicit, document performance characteristics, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations. Compo...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C13782: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m47214.py` and `test_m47214.py`. ```python # m47214.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C11082: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m39314.py` and `test_m39314.py`. ```python # m39314.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a IoT telemetry product around rate limiting. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be easy to extend, must include type hints where applicable, must include clear error handling, must be production-ready, mus...
WithinUsAI/GOD_Coder_100k
Debug and fix a subtle production bug related to webhooks in a education service. Target platform: CI (GitHub Actions). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be production-ready, must include documentation/comments, must include tests, must be secure-by-default, m...
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: Language: Bash Framework/tooling: curl Domain: developer platform Logic challenge: gRPC retry storm Task type: misleading_symptom_debug Difficulty: hard Retu...
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
Task type: secure_architecture Scenario: document indexing pipeline Domain focus: fault injection & chaos engineering Primary language: typescript Difficulty: hard Scale/SLO: 100k RPS peak Component: component_uxdaxagh Constraints: include deterministic replay plan, explicit contracts and invariants, include backward c...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f80584(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m11512.py` with types and O(n) average. ```python # m11512.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: g44z27a5m.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Secure-by-default implementation for event-driven workflows in a customer support product. Target platform: data (SQL + Python). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must include type hints where applicable, must be performant under load, must be easy to ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: edge sync. Primary language: go. Difficulty: hard. Constraints: include tests or verification strategy, document performance characteristics, avoid undefined behavior and data races, include invariants and failure modes. Component: component_...
WithinUsAI/Elite_GOD_Coder_100k
Fix a subtle bug in a Python module used for parsing. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be easy to extend, must handle Windows paths safely. Difficulty: hard. Include a small CLI example if relevant. Deliverable: production-ready reference sol...
WithinUsAI/python_GOD_coder_100k
Optimize while preserving behavior and order. ```python def f57268(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m65324.py` with types and O(n) average. ```python # m65324.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 f56010(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 `m79430.py` and `test_m79430.py`. *** Begin Patch *** Update File: m79430.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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f83618`. ```python def f83618(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m83374 import f83618 def test_known(): assert f83618(3,4) == 25 def test_zero(): assert f83618(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: p55s9...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f77210`. ```python def f77210(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m11030 import f77210 def test_known(): assert f77210(3,4) == 25 def test_zero(): assert f77210(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for event dispatching. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must be easy to extend, must be memory-efficient. Difficulty: expert. Include a small CLI example if relevant. Deliverable: API + reference implementation + tests. Strategy: -...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C92889: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m99453.py` and `test_m99453.py`. ```python # m99453.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a web feature for developer tooling: background jobs. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must include clear error handling, must be observable (logs/metrics/traces), must be performant under load, must include documentation/comments...
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
Task type: supply_chain_security Scenario: multi-tenant event ingestion Domain focus: constraint solving Primary language: sql Difficulty: hard Scale/SLO: 1M msgs/min Component: component_kvkszywx Constraints: include failure modes and recovery, include security threat model (defensive only), include test vectors and f...
WithinUsAI/Omega_Genesis_Coder_100k
Create a comprehensive test plan and automated tests for background jobs in a calendar/scheduling product. Target platform: backend (Node.js). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include tests, must include clear error handling, must be secure-by-defaul...
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: data pipeline Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Software delivery problem: unsafe deserialization Task ty...
WithinUsAI/GOD_Coder_Complete_DataSet
Write a thorough test suite for a Python component used for file synchronization. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be streaming-friendly, must handle Windows paths safely. Difficulty: hard. Ensure the API is testable via dependency injection. Deliverable: produ...
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: t1vt6zdvvkx.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to offline-first sync in a developer tooling service. Target platform: ML (PyTorch + serving). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be performant under load, must be easy to extend, must avoid global state. Difficulty...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f86321(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 `m40903.py` and `test_m40903.py`. *** Begin Patch *** Update File: m40903.py @@ d...
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 be streaming-friendly, must include tests, must include docstrings. Difficulty: hard. Provide helpful exceptions with actionable...
WithinUsAI/python_GOD_coder_100k
Debug and fix a subtle production bug related to caching in a customer support service. Target platform: backend (Python FastAPI). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be secure-by-default, must include documentation/comments, must be production-ready. Difficulty...
WithinUsAI/GOD_Coder_100k
Fix a subtle bug in a Python module used for configuration loading. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must provide clear error messages, must include docstrings. Difficulty: easy. Ensure the API is testable via dependency injection. Deliverable: pr...
WithinUsAI/python_GOD_coder_100k
Design a production system for healthtech supporting search + pagination. Target platform: infra (Terraform). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include clear error handling, must be secure-by-default, must include tests. Difficulty: easy. Assume strict late...
WithinUsAI/GOD_Coder_100k
Implement a concurrent Python solution for time series. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must be streaming-friendly, stdlib-only. Difficulty: medium. Avoid quadratic behavior on large inputs. Deliverable: production-ready reference solution. ...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of databases for scenario: time-series metrics. Primary language: rust. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, make the interface contract explicit, avoid undefined behavior and data races. Compone...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f07850(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 `m72550.py` and `test_m72550.py`. *** Begin Patch *** Update File: m72550.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: as_ov...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C72202: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m05554.py` and `test_m05554.py`. ```python # m05554.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: Project domain: artifact registry Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: partial checkpoint corruption Task type...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of sre/observability for scenario: time-series metrics. Primary language: python. Difficulty: medium. Constraints: include tests or verification strategy, include invariants and failure modes, assume untrusted inputs; validate and sanitize, document performance characteristic...
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: i1jxlx.py ```pyt...
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: artifact registry Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: broken pagination cursor Task type: ...
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: rsvnghdz.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a content moderation product around file uploads. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must avoid global state, must include type hints where applicable, must be easy to extend, must include documentation/comments...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f77340(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m39620.py` with types and O(n) average. ```python # m39620.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f87836`. ```python def f87836(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m12548 import f87836 def test_known(): assert f87836(3,4) == 25 def test_zero(): assert f87836(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a web feature for document processing: multi-tenant isolation. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must be production-ready, must include tests, must be observable (logs/metrics/traces), must avoid global state. Difficulty: hard. Ass...
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: Language: SQL Framework/tooling: MySQL Domain: model serving gateway Logic challenge: schema drift during deployment Task type: multi_service_security_patch D...
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
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: broken pagination ...
WithinUsAI/GOD_Coder_Complete_DataSet
Write a thorough test suite for a Python component used for file synchronization. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be memory-efficient, must provide clear error messages, must include docstrings. Difficulty: expert. Handle empty inputs and malformed records grac...
WithinUsAI/python_GOD_coder_100k
Optimize while preserving behavior and order. ```python def f10430(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m01490.py` with types and O(n) average. ```python # m01490.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for rate limiting in a education product. Target platform: CI (GitHub Actions). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include type hints where applicable, must avoid global state, must be observable (lo...
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: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Language: Bash Dependency challenge: invalid rollback sequence Task type: contai...
WithinUsAI/GOD_Coder_Complete_DataSet
Provision infrastructure for a fraud detection workload providing real-time notifications. Target platform: infra (Terraform). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must include documentation/comments, must be production-ready, must be easy to extend, must incl...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f58050(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 `m51150.py` and `test_m51150.py`. *** Begin Patch *** Update File: m51150.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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
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 be easy to extend, must handle Windows paths safely, must avoid global state. Difficulty: hard. Ensure the API is testable via ...
WithinUsAI/python_GOD_coder_100k
Provision infrastructure for a IoT telemetry workload providing analytics pipeline. Target platform: infra (Docker + Kubernetes). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must be production-ready, must include documentation/comments, must include tests. Difficulty...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f07984(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 `m29712.py` and `test_m29712.py`. *** Begin Patch *** Update File: m29712.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: edge sync Domain focus: formal verification Primary language: python Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_ypybibwy Constraints: assume adversarial inputs; validate everything, include test vectors and fuzz strategy, avoid data races an...
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: x58ya...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: event ingestion. Primary language: go. Difficulty: medium. Constraints: make the interface contract explicit, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance. Component...
WithinUsAI/Elite_GOD_Coder_100k
Design a production system for IoT telemetry supporting event-driven workflows. Target platform: mobile (iOS Swift). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include documentation/comments, must be easy to extend, must include clear error handling, must avoid glob...
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: mykzt017j.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f72541(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m10363.py` with types and O(n) average. ```python # m10363.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: Language: Bash Framework/tooling: awk Domain: job scheduler Logic challenge: path traversal on downloads Task type: algorithmic_correctness Difficulty: hard ...
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: Repository domain: job scheduler Primary language: Go Framework/tooling: net/http Reported problem: transaction boundary bug Task type: security_patch Difficu...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f48109(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m92587.py` with types and O(n) average. ```python # m92587.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: ay0pq...
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: dav0d...
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: sj81ar9.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for caching in a e-commerce product. Target platform: backend (Node.js). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be production-ready, must include tests, must be easy to extend, must be secure-by-default,...
WithinUsAI/GOD_Coder_100k
Task type: compiler_backend_ir Scenario: multi-tenant event ingestion Domain focus: high-frequency trading systems (safe engineering) Primary language: cpp Difficulty: expert Scale/SLO: 50 TB/day ingestion Component: component_eemnvvxl Constraints: avoid data races and undefined behavior, include deterministic replay p...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f72177(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m10311.py` with types and O(n) average. ```python # m10311.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to A/B experimentation in a social media service. Target platform: mobile (iOS Swift). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include clear error handling, must include tests, must be production-ready. Difficulty: hard....
WithinUsAI/GOD_Coder_100k
Task type: distributed_algorithm Scenario: job scheduler Domain focus: fault injection & chaos engineering Primary language: rust Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_rbxldgue Constraints: avoid data races and undefined behavior, include test vectors and fuzz strategy, explicit...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: ml_system_design Scenario: streaming ETL Domain focus: formal verification Primary language: rust Difficulty: expert Scale/SLO: 10k RPS peak Component: component_fnutshzh Constraints: include verification strategy, include backward compatibility and migration plan, include deterministic replay plan, explicit...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f59008(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m94144.py` with types and O(n) average. ```python # m94144.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 ml systems for scenario: feature flagging. Primary language: go. Difficulty: expert. Constraints: include tests or verification strategy, avoid undefined behavior and data races, include invariants and failure modes. Component: component_xxijhrl. Assume strict auditability...
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: f84mk591b7.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f73027(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 `m81861.py` and `test_m81861.py`. *** Begin Patch *** Update File: m81861.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for file uploads in a education product. Target platform: mobile (iOS Swift). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be secure-by-default, must avoid global state, must be easy to extend. Difficulty: eas...
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
Build a data pipeline for a fraud detection product around analytics pipeline. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must include type hints where applicable, must be observable (logs/metrics/traces), must be production-ready. Difficulty: 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: Optimize while preserving behavior. File: ar9xa...
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: payments platform Logic challenge: unsafe deserialization Task type: performance_bottleneck_patch Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f44085(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 `m49155.py` and `test_m49155.py`. *** Begin Patch *** Update File: m49155.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: Fix a bug and add tests. File: lgjgb6n.py ```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: Repository domain: job scheduler Primary language: Python Framework/tooling: Flask Reported problem: S3-compatible upload inconsistency Task type: test_repair...
WithinUsAI/GOD_Coder_Complete_DataSet
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 handle Windows paths safely, must include type hints, must be memory-efficient. Difficulty: expert. Ensure the API is...
WithinUsAI/python_GOD_coder_100k