text
stringlengths
355
3.69k
source
stringclasses
6 values
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: mu2vk...
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: auth service Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: streaming timeout handling Task type: arc...
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: stdlib-only, must be streaming-friendly. Difficulty: easy. Handle empty inputs and malformed records gracefully. Deliverable: production-ready r...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C21556: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m47812.py` and `test_m47812.py`. ```python # m47812.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing. Primary language: rust. Difficulty: medium. Constraints: provide rollout and rollback guidance, document performance characteristics, assume untrusted inputs; validate and sanitize. Component: component_yahcthy. Assume strict au...
WithinUsAI/Elite_GOD_Coder_100k
Implement role-based access control for a fraud detection product. Target platform: backend (Node.js). Requirements: provide production-ready code, configuration, and tests. Constraints: must avoid global state, must include tests, must be secure-by-default, must include clear error handling, must be observable (logs/m...
WithinUsAI/GOD_Coder_100k
Task type: mechanized_spec Scenario: identity and access Domain focus: formal verification Primary language: lean Difficulty: hard Scale/SLO: 100k RPS peak Component: component_whvrtfjc Constraints: explicit contracts and invariants, include test vectors and fuzz strategy, include deterministic replay plan, include fai...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: feature flagging. Primary language: bash. Difficulty: hard. Constraints: provide rollout and rollback guidance, make the interface contract explicit, include invariants and failure modes, assume untrusted inputs; validate and sanitize, docum...
WithinUsAI/Elite_GOD_Coder_100k
Implement role-based access control for a e-commerce product. Target platform: ML (PyTorch + serving). Requirements: provide production-ready code, configuration, and tests. Constraints: must be observable (logs/metrics/traces), must include documentation/comments, must be easy to extend. Difficulty: expert. Assume GDP...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C23585: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m71045.py` and `test_m71045.py`. ```python # m71045.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: Catch2 Domain: observability collector Logic challenge: race condition on worker shutdown Task type: concurrency_fix 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: Fix a bug and add tests. File: s25missido8p.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of ml systems for scenario: rate limiting gateway. Primary language: rust. Difficulty: medium. Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, make the interface contract explicit, document performance characteristics. Component: c...
WithinUsAI/Elite_GOD_Coder_100k
Implement a concurrent Python solution for log processing. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must provide clear error messages, must be memory-efficient. Difficulty: easy. Guarantee deterministic output ordering. Deliverable: API + reference i...
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: najiem_y9.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: gmqs7u74a.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: program_synthesis_safe Scenario: real-time notification hub Domain focus: consensus & replication Primary language: sql Difficulty: hard Scale/SLO: p99 < 150ms Component: component_vbroykle Constraints: include deterministic replay plan, assume adversarial inputs; validate everything, include security threat...
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: ydufm...
WithinUsAI/Royal_Ghost_Coder_501k
Create a small, production-ready Python package for telemetry ingestion. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be memory-efficient, must include docstrings, must avoid global state. Difficulty: easy. Include a small CLI example if relevant. Delivera...
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: YAML Framework/tooling: Docker Compose Domain: reporting engine Logic challenge: mismatched API contract Task type: distributed_debug Difficulty: ha...
WithinUsAI/GOD_Coder_Complete_DataSet
Write pytest tests for `f45198`. ```python def f45198(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m49314 import f45198 def test_known(): assert f45198(3,4) == 25 def test_zero(): assert f45198(0,0) == 0 def test_property_nonne...
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: C++ Dependency challenge: websocket reconnect storm Task type: lockfile_repair Difficulty: har...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a small, production-ready Python package for caching layer. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must include docstrings, must include type hints, must be easy to extend. Difficulty: easy. Support both Windows and POSIX paths correctly. Deliverab...
WithinUsAI/python_GOD_coder_100k
Design a production system for IoT telemetry supporting rate limiting. Target platform: backend (Go). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include type hints where applicable, must avoid global state, must be easy to extend, must be observable (logs/metrics/tr...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f19631(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 `m74233.py` and `test_m74233.py`. *** Begin Patch *** Update File: m74233.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Python Framework/tooling: pandas Domain: benchmark harness Logic challenge: multi-tenant access leak Task type: monorepo_toolchain_recovery Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: compiler_backend_ir Scenario: rate limit gateway Domain focus: compiler toolchains Primary language: rust Difficulty: expert Scale/SLO: 50 TB/day ingestion Component: component_rxmhtuen Constraints: include verification strategy, include test vectors and fuzz strategy, include deterministic replay plan, expl...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of databases for scenario: document indexing. Primary language: python. Difficulty: expert. Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, make the interface contract explicit, provide rollout and rollback guidance. Com...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f89127(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 `m84161.py` and `test_m84161.py`. *** Begin Patch *** Update File: m84161.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f26482`. ```python def f26482(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m60926 import f26482 def test_known(): assert f26482(3,4) == 25 def test_zero(): assert f26482(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
Build an elite-grade solution in the domain of databases for scenario: time-series metrics. Primary language: typescript. Difficulty: expert. Constraints: make the interface contract explicit, design for backward compatibility and migrations, include invariants and failure modes, avoid undefined behavior and data races...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f45972(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 `m77996.py` and `test_m77996.py`. *** Begin Patch *** Update File: m77996.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to role-based access control in a logistics service. Target platform: data (SQL + Python). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be easy to extend, must avoid global state, must include documentation/comments, must be ...
WithinUsAI/GOD_Coder_100k
Design a small, production-grade Python API for log processing. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must be streaming-friendly, must provide clear error messages. Difficulty: easy. Guarantee deterministic output ordering. Deliverable: corrected code...
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: Optimize while preserving behavior. File: xfilk...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f36083(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m90869.py` with types and O(n) average. ```python # m90869.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a web feature for calendar/scheduling: multi-tenant isolation. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must avoid global state, must include type hints where applicable, must include tests. Difficulty: expert. Assume strict latency budge...
WithinUsAI/GOD_Coder_100k
Perform a code review for a enterprise SaaS PR implementing analytics pipeline. Target platform: web (React + TypeScript). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be production-ready, must be easy to extend, must be performant under load, must be secure...
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: ws22mfe7f.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: lozbvu9.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Perform a code review for a e-commerce PR implementing rate limiting. Target platform: infra (Docker + Kubernetes). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must include documentation/comments, must be secure-by-default, must include tests. Difficulty: hard. ...
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: u8v3r...
WithinUsAI/Royal_Ghost_Coder_501k
Implement background jobs for a enterprise SaaS product. Target platform: backend (Node.js). Requirements: provide production-ready code, configuration, and tests. Constraints: must include clear error handling, must include tests, must avoid global state. Difficulty: medium. Assume schema evolves frequently; design fo...
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: auth service Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Cross-layer incident: build reproducibility failure Task typ...
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: feature flag service Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: migration order...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of operating systems for scenario: rate limiting gateway. Primary language: rust. Difficulty: expert. Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, provide rollout and rollback guidance, make the interface contract exp...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_frontend Scenario: multi-tenant event ingestion Domain focus: network protocols Primary language: python Difficulty: expert Scale/SLO: 1M msgs/min Component: component_oqkttbto Constraints: include test vectors and fuzz strategy, explicit contracts and invariants, include failure modes and recovery,...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f70042(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 `m10006.py` and `test_m10006.py`. *** Begin Patch *** Update File: m10006.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Go Framework/tooling: Gin Domain: auth service Logic challenge: multi-tenant access leak Task type: multi_service_security_patch Difficulty: expert ...
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: juksndw.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f89681(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 `m41383.py` and `test_m41383.py`. *** Begin Patch *** Update File: m41383.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: ngrqmi4m4_ey.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Implement caching for a healthtech product. Target platform: infra (Terraform). Requirements: provide production-ready code, configuration, and tests. Constraints: must include clear error handling, must be secure-by-default, must be easy to extend, must include tests. Difficulty: expert. Assume mobile clients are occa...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C94233: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m14941.py` and `test_m14941.py`. ```python # m14941.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C29906: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m40762.py` and `test_m40762.py`. ```python # m40762.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f44575(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 `m49225.py` and `test_m49225.py`. *** Begin Patch *** Update File: m49225.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: secure_architecture Scenario: feature-flag evaluation Domain focus: formal verification Primary language: typescript Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_uoapnico Constraints: include performance model and limits, avoid data races and undefined behavior, include failure mod...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: robust_e2e_testing Scenario: multi-tenant event ingestion Domain focus: large-scale ML systems Primary language: python Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_hjctftiz Constraints: avoid data races and undefined behavior, include test vectors and fuzz strategy, include failure mode...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C84837: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m83449.py` and `test_m83449.py`. ```python # m83449.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 stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Language: C++ Dependency challenge: mismatched API contract Task type: build_reproducibil...
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: DuckDB Domain: document processing API Logic challenge: gRPC retry storm Task type: algorithmic_correctness Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: e8ga4...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: real-time notification hub Domain focus: distributed storage Primary language: python Difficulty: expert Scale/SLO: 99.99% availability Component: component_nwghyssi Constraints: avoid data races and undefined behavior, include verification strategy, explicit contracts and inv...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: payments platform Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: gRPC retry storm Task type: a...
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: search service Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: S3-compatible upload inc...
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: zhyczz.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: Optimize while preserving behavior. File: c1mjr...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f61823(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 `m51689.py` and `test_m51689.py`. *** Begin Patch *** Update File: m51689.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
Improve typing and robustness of a Python module used for event dispatching. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: stdlib-only, must be easy to extend, must be memory-efficient, must include type hints. Difficulty: expert. Include a small CLI example...
WithinUsAI/python_GOD_coder_100k
Task type: lockfree_primitive Scenario: rate limit gateway Domain focus: high-frequency trading systems (safe engineering) Primary language: rust Difficulty: expert Scale/SLO: 100k RPS peak Component: component_hklmszel Constraints: include verification strategy, include backward compatibility and migration plan, inclu...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: fbgebpkh.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of compilers for scenario: multi-tenant SaaS. Primary language: go. Difficulty: hard. Constraints: design for backward compatibility and migrations, include invariants and failure modes, include tests or verification strategy. Component: component_mhdrvlu. Assume 50k RPS and ...
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
Write pytest tests for `f71075`. ```python def f71075(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m38725 import f71075 def test_known(): assert f71075(3,4) == 25 def test_zero(): assert f71075(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: notification service Stack: Airflow, dbt, DuckDB, MinIO, pytest Cross-layer incident: N+1 query explosion Task type: schema_contract_alignment ...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: document indexing. Primary language: go. Difficulty: expert. Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, provide rollout and rollback guidance, assume untrusted input...
WithinUsAI/Elite_GOD_Coder_100k
Task type: distributed_algorithm Scenario: document indexing pipeline Domain focus: observability platforms Primary language: typescript Difficulty: hard Scale/SLO: p99 < 150ms Component: component_osejczou Constraints: include test vectors and fuzz strategy, include deterministic replay plan, avoid data races and unde...
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: qp68_0djy5.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for file synchronization. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be streaming-friendly, must provide clear error messages, must avoid global state, must include docstrings. Difficulty: hard. Guarantee deter...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for validation into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be easy to extend, stdlib-only, must include docstrings, must avoid global state. Difficulty: expert. Support both Windows and P...
WithinUsAI/python_GOD_coder_100k
Optimize a Python workflow for telemetry ingestion. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must provide clear error messages, must be easy to extend, must include docstrings. Difficulty: hard. Handle empty inputs and malformed records gracefully. Deliverable: impl...
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: Project stack: Airflow, dbt, DuckDB, MinIO, pytest Language: Java Dependency challenge: schema drift during deployment Task type: build_reproducibility_fix Di...
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: xp4tzvj32gub.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_frontend Scenario: streaming ETL Domain focus: real-time scheduling Primary language: bash Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_wyjqolli Constraints: include verification strategy, include test vectors and fuzz strategy, assume adversarial inputs; validate everything,...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f73745(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m10535.py` with types and O(n) average. ```python # m10535.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a content moderation service delivering real-time notifications. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include documentation/comments, must be easy to extend, must include clear error handling, must inc...
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: team dashboard Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: log redaction failure Ta...
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
Fix the bug and add pytest tests. ```python def f28256(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 `m32608.py` and `test_m32608.py`. *** Begin Patch *** Update File: m32608.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: storage_engine Scenario: graph query service Domain focus: constraint solving Primary language: rust Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_fvwzgomw Constraints: include verification strategy, include performance model and limits, include security threat model (defensi...
WithinUsAI/Omega_Genesis_Coder_100k
Write pytest tests for `f59529`. ```python def f59529(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m65647 import f59529 def test_known(): assert f59529(3,4) == 25 def test_zero(): assert f59529(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: gpu_serving_pipeline Scenario: feature-flag evaluation Domain focus: real-time scheduling Primary language: sql Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_geofsabi Constraints: include deterministic replay plan, include failure modes and recovery, include security threat model (defensi...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C10214: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m08478.py` and `test_m08478.py`. ```python # m08478.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_backend_ir Scenario: multi-tenant event ingestion Domain focus: query planning Primary language: rust Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_sxultper Constraints: include security threat model (defensive only), include failure modes and recovery, include performance ...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f61685(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f61685(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for file synchronization. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must provide clear error messages, stdlib-only, must handle Windows paths safely. Difficulty: medium. Include a small CLI example if relevant. Deli...
WithinUsAI/python_GOD_coder_100k