text
stringlengths
355
3.69k
source
stringclasses
6 values
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: document processing API Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: schema drift during dep...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: Boost Domain: search service Logic challenge: race condition on worker shutdown Task type: transaction_integrity_fix Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: document processing API Primary language: Go Framework/tooling: Fiber Reported problem: unsafe deserialization Task type: test_repair Diffi...
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: n5mle...
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: c3m5inxom.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: Project stack: Rust, Axum, SQLx, Redis, Tokio, Docker Language: Go Dependency challenge: N+1 query explosion Task type: version_conflict_resolution Difficulty...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of distributed systems for scenario: multi-tenant SaaS. Primary language: rust. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, include invariants and failure modes. Component: component_ijjadiz....
WithinUsAI/Elite_GOD_Coder_100k
Write pytest tests for `f43278`. ```python def f43278(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m34754 import f43278 def test_known(): assert f43278(3,4) == 25 def test_zero(): assert f43278(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f94556(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 `m13508.py` and `test_m13508.py`. *** Begin Patch *** Update File: m13508.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for parsing. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must include type hints, stdlib-only. Difficulty: expert. Ensure the API is testable via dependency injection. Deliverable: API + reference implementation + tests. Strategy: - Avoid rep...
WithinUsAI/python_GOD_coder_100k
Task type: distributed_algorithm Scenario: job scheduler Domain focus: observability platforms Primary language: python Difficulty: expert Scale/SLO: 10k RPS peak Component: component_vxqwozlo Constraints: explicit contracts and invariants, include deterministic replay plan, include test vectors and fuzz strategy, incl...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f00658(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f00658(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a concurrent Python solution for telemetry ingestion. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must provide clear error messages, stdlib-only, must be streaming-friendly. Difficulty: hard. Avoid quadratic behavior on large inputs. Deliverab...
WithinUsAI/python_GOD_coder_100k
Refactor a Python module used for task scheduling into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include docstrings, must be memory-efficient, stdlib-only, must provide clear error messages. Difficulty: easy. Avoid quadr...
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: TypeScript Framework/tooling: Next.js Domain: reporting engine Logic challenge: slow cold start Task type: multi_file_migration_repair Difficulty: e...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: qjwm_a2210.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: job scheduler. Primary language: python. Difficulty: hard. Constraints: avoid undefined behavior and data races, include tests or verification strategy, design for backward compatibility and migrations, make the interface contract explicit. Compon...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: graph query service Domain focus: cryptography engineering (defensive) Primary language: cpp Difficulty: expert Scale/SLO: 100k RPS peak Component: component_stzkeeux Constraints: include failure modes and recovery, include performance model and limits, avoid data races and unde...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: compiler_frontend Scenario: time-series metrics store Domain focus: real-time scheduling Primary language: typescript Difficulty: hard Scale/SLO: 99.99% availability Component: component_excbzyje Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include backward compati...
WithinUsAI/Omega_Genesis_Coder_100k
Implement an ML engineering workflow for calendar/scheduling focusing on real-time notifications. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must include documentation/comments, must be easy to extend, must be s...
WithinUsAI/GOD_Coder_100k
Optimize a Python workflow for rate limiting. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must be easy to extend, must be memory-efficient, stdlib-only, must handle Windows paths safely. Difficulty: hard. Ensure the API is testable via dependency injection. Deliverable...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: sii401p_fw.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: rshy9xq9ke_.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: xUnit Domain: search service Logic challenge: build reproducibility failure Task type: backwards_compatible_redesign Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: c5xdc...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f66174(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 `m80882.py` and `test_m80882.py`. *** Begin Patch *** Update File: m80882.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
Provision infrastructure for a content moderation workload providing rate limiting. Target platform: CI (GitHub Actions). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must be performant under load, must include tests, must be observable (logs/metrics/traces), must be ...
WithinUsAI/GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f41649(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f41649(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C65383: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m43491.py` and `test_m43491.py`. ```python # m43491.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 gaming service. Target platform: ML (PyTorch + serving). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be performant under load, must be observable (logs/metrics/traces), must include tests, must...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: job scheduler. Primary language: rust. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, provide rollout and rollback guidance, include tests or verification strategy. Component: comp...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: rate limiting gateway. Primary language: typescript. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, avoid undefined behavior and data races, include tests ...
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: sv74c...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f51699(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m35957.py` with types and O(n) average. ```python # m35957.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C73655: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m36435.py` and `test_m36435.py`. ```python # m36435.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: smrui7r2s.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f38912(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 `m48416.py` and `test_m48416.py`. *** Begin Patch *** Update File: m48416.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
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion. Primary language: python. Difficulty: expert. Constraints: design for backward compatibility and migrations, make the interface contract explicit, include invariants and failure modes, include tests or verific...
WithinUsAI/Elite_GOD_Coder_100k
Design CI/CD for a e-commerce service delivering A/B experimentation. Target platform: data (SQL + Python). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be easy to extend, must include clear error handling, must include type hints where applicable. Difficulty: hard. ...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f04746(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m00678.py` with types and O(n) average. ```python # m00678.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: Python Framework/tooling: Celery Domain: search service Logic challenge: migration ordering failure Task type: concurrency_fix Difficulty: hard Ret...
WithinUsAI/GOD_Coder_Complete_DataSet
Write a thorough test suite for a Python component used for task scheduling. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must handle Windows paths safely, must include tests, stdlib-only, must provide clear error messages. Difficulty: expert. Handle empty inputs and malformed r...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C01160: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m69320.py` and `test_m69320.py`. ```python # m69320.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: gapl0k7z9xbw.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Implement idempotent payments for a customer support product. Target platform: ML (PyTorch + serving). Requirements: provide production-ready code, configuration, and tests. Constraints: must include documentation/comments, must include type hints where applicable, must be performant under load, must be secure-by-defau...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: lmjv4_.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: Fix a bug and add tests. File: h6_jf36q.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Perform a code review for a logistics PR implementing background jobs. Target platform: data (SQL + Python). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be easy to extend, must avoid global state, must include tests, must be production-ready, must include t...
WithinUsAI/GOD_Coder_100k
Write pytest tests for `f62002`. ```python def f62002(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m80286 import f62002 def test_known(): assert f62002(3,4) == 25 def test_zero(): assert f62002(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: he6yg...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f68372(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m81196.py` with types and O(n) average. ```python # m81196.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in gaming to support background jobs cleanly. Target platform: mobile (iOS Swift). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be easy to extend, must include tests, must avoid global state, must be observable (logs/metrics/traces)...
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: artifact registry Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: rate-limit bypass Task type: full_stack_bug_f...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C66723: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m66671.py` and `test_m66671.py`. ```python # m66671.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: Optimize while preserving behavior. File: m04ba...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: supply_chain_security Scenario: streaming ETL Domain focus: data lineage & governance Primary language: bash Difficulty: hard Scale/SLO: multi-region active-active Component: component_sfukkfvi Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, include det...
WithinUsAI/Omega_Genesis_Coder_100k
Debug and fix a subtle production bug related to audit logs in a developer tooling service. Target platform: backend (Go). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include documentation/comments, must be secure-by-default, must include type hints where applicable, mu...
WithinUsAI/GOD_Coder_100k
Task type: distributed_algorithm Scenario: document indexing pipeline Domain focus: edge robotics (safe) Primary language: rust Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_idattbby Constraints: include failure modes and recovery, include security threat model (defensive only), include performan...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f30852(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m75836.py` with types and O(n) average. ```python # m75836.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: static_analyzer Scenario: time-series metrics store Domain focus: zero-downtime migrations Primary language: sql Difficulty: expert Scale/SLO: 1M msgs/min Component: component_ueuqibey Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, explicit contracts and ...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f97311(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f97311(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
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: JavaScript Framework/tooling: Node.js Domain: team dashboard Logic challenge: websocket reconnect storm Task type: multi_file_migration_repair Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: query_optimizer Scenario: real-time notification hub Domain focus: GPU serving Primary language: bash Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_gqvfdxwq Constraints: include backward compatibility and migration plan, include failure modes and recovery, include performance model ...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f12066(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 `m87438.py` and `test_m87438.py`. *** Begin Patch *** Update File: m87438.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C21697: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m01669.py` and `test_m01669.py`. ```python # m01669.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C31952: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m56304.py` and `test_m56304.py`. ```python # m56304.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of databases for scenario: document indexing. Primary language: python. Difficulty: medium. Constraints: include invariants and failure modes, make the interface contract explicit, include tests or verification strategy. Component: component_vaygbnc. Assume partial network pa...
WithinUsAI/Elite_GOD_Coder_100k
Write pytest tests for `f09924`. ```python def f09924(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m87132 import f09924 def test_known(): assert f09924(3,4) == 25 def test_zero(): assert f09924(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: network_protocol Scenario: real-time notification hub Domain focus: observability platforms Primary language: rust Difficulty: hard Scale/SLO: 10k RPS peak Component: component_xzwyhijy Constraints: assume adversarial inputs; validate everything, include test vectors and fuzz strategy, explicit contracts and...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for event dispatching. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include tests, stdlib-only, must avoid global state, must handle Windows paths safely. Difficulty: hard. Handle empty inputs and malformed recor...
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: Go Framework/tooling: net/http Domain: auth service Logic challenge: CI failures after dependency upgrade Task type: multi_service_security_patch Di...
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: feature flag service Primary language: TypeScript Framework/tooling: Node.js Reported problem: async cancellation bug Task type: security_p...
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
Implement idempotent payments for a logistics product. Target platform: ML (PyTorch + serving). Requirements: provide production-ready code, configuration, and tests. Constraints: must include documentation/comments, must be production-ready, must be easy to extend, must include clear error handling. Difficulty: medium...
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: Repository domain: search service Primary language: JavaScript Framework/tooling: React Reported problem: streaming timeout handling Task type: security_patch...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f34020(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 `m04860.py` and `test_m04860.py`. *** Begin Patch *** Update File: m04860.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: payment processing. Primary language: python. Difficulty: hard. Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, make the int...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C01637: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m77049.py` and `test_m77049.py`. ```python # m77049.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: analytics pipeline. Primary language: typescript. Difficulty: hard. Constraints: include invariants and failure modes, include tests or verification strategy, design for backward compatibility and migrations, avoid undefined b...
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: Language: Python Framework/tooling: Airflow Domain: notification service Logic challenge: optimistic locking conflict Task type: edge_case_hardening Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C28304: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m71408.py` and `test_m71408.py`. ```python # m71408.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f69628`. ```python def f69628(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m52804 import f69628 def test_known(): assert f69628(3,4) == 25 def test_zero(): assert f69628(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: zs0zph.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: Fix a bug and add tests. File: ui7n0f4.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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: supply_chain_security Scenario: time-series metrics store Domain focus: observability platforms Primary language: rust Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_tkddxwyg Constraints: include failure modes and recovery, include security threat model (defensive only), include backwar...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor a Python module used for task scheduling into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be streaming-friendly, must provide clear error messages, must handle Windows paths safely, must include tests. Difficulty:...
WithinUsAI/python_GOD_coder_100k
Task type: distributed_algorithm Scenario: edge sync Domain focus: secure enclaves (defensive) Primary language: python Difficulty: hard Scale/SLO: multi-region active-active Component: component_wbivcqbj Constraints: include backward compatibility and migration plan, include deterministic replay plan, explicit contrac...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: payments platform Stack: Airflow, dbt, DuckDB, MinIO, pytest Cross-layer incident: broken pagination cursor Task type: observability_debug_fix ...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of databases for scenario: document indexing. Primary language: sql. Difficulty: medium. Constraints: provide rollout and rollback guidance, make the interface contract explicit, include tests or verification strategy. Component: component_eqtoexm. Assume schema changes every...
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 stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Language: Rust Dependency challenge: S3-compatible upload inconsistency Task type: build_...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: chat messaging. Primary language: python. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, avoid undefined behavior and data races, design for backward com...
WithinUsAI/Elite_GOD_Coder_100k
Design CI/CD for a e-commerce service delivering role-based access control. Target platform: ML (scikit + batch). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include tests, must be easy to extend, must be production-ready. Difficulty: hard. Assume untrusted input; v...
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: b3vz55azc.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to role-based access control in a customer support service. Target platform: mobile (Android Kotlin). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be observable (logs/metrics/traces), must be performant under load, must inclu...
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: payments platform Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: partial checkpoint corruption...
WithinUsAI/GOD_Coder_Complete_DataSet