text
stringlengths
355
3.69k
source
stringclasses
6 values
Task type: perf_microarchitecture Scenario: multi-tenant event ingestion Domain focus: fault injection & chaos engineering Primary language: go Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_bnsxrcml Constraints: explicit contracts and invariants, include test vectors and fuzz strategy, include determi...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f96669(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 `m56667.py` and `test_m56667.py`. *** Begin Patch *** Update File: m56667.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: Boost Domain: feature flag service Logic challenge: gRPC retry storm Task type: misleading_symptom_debug Difficulty: hard Re...
WithinUsAI/GOD_Coder_Complete_DataSet
Design a production system for enterprise SaaS supporting A/B experimentation. Target platform: infra (Docker + Kubernetes). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be observable (logs/metrics/traces), must be secure-by-default, must include clear error handling,...
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: C# Framework/tooling: ASP.NET Core Domain: search service Logic challenge: gRPC retry storm Task type: multi_service_security_patch 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: Language: TypeScript Framework/tooling: NestJS Domain: artifact registry Logic challenge: stale cache invalidation Task type: cross_stack_outage_fix Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: supply_chain_security Scenario: payment ledger Domain focus: stream processing Primary language: python Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_jysazsmi Constraints: assume adversarial inputs; validate everything, include failure modes and recovery, include security thr...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor a Python module used for time series into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: stdlib-only, must be streaming-friendly. Difficulty: medium. Provide helpful exceptions with actionable messages. Deliverable: corr...
WithinUsAI/python_GOD_coder_100k
Optimize while preserving behavior and order. ```python def f58078(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m51154.py` with types and O(n) average. ```python # m51154.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for ETL pipelines. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be memory-efficient, must include tests, must be easy to extend. Difficulty: easy. Provide helpful exceptions with actionable messages. Deliverable: ...
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: Python Dependency challenge: S3-compatible upload inconsistency Task type: lockfile_repair Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: static_analyzer Scenario: edge sync Domain focus: secure enclaves (defensive) Primary language: go Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_wpyemnku Constraints: include performance model and limits, include test vectors and fuzz strategy, assume adversarial inputs; validate everything,...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C11224: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m16248.py` and `test_m16248.py`. ```python # m16248.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: reporting engine Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: S3-compatible upload inconsist...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: Bash Dependency challenge: dead-letter queue replay Task type: container_runtime_f...
WithinUsAI/GOD_Coder_Complete_DataSet
Perform a code review for a developer tooling PR implementing search + pagination. Target platform: backend (Go). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must include tests, must include documentation/comments, must include type hints where applicable, must ...
WithinUsAI/GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f51448(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f51448(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: static_analyzer Scenario: streaming ETL Domain focus: distributed storage Primary language: go Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_vgpklfmo Constraints: include deterministic replay plan, include backward compatibility and migration plan, avoid data races and undefined beh...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: rate limiting gateway. Primary language: python. Difficulty: expert. Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, include tests or verification strategy, provide rollout and rollback guidance...
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: jj19mpv20h4k.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: qnf2qsrv.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f91604(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 `m27372.py` and `test_m27372.py`. *** Begin Patch *** Update File: m27372.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: or5p7c_.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Create a small, production-ready Python package for ETL pipelines. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must avoid global state, must be easy to extend, must include tests, must handle Windows paths safely. Difficulty: easy. Include a small CLI example i...
WithinUsAI/python_GOD_coder_100k
Task type: distributed_algorithm Scenario: feature-flag evaluation Domain focus: compiler toolchains Primary language: typescript Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_xtzahbjm Constraints: include deterministic replay plan, include verification strategy, include backward compatibility an...
WithinUsAI/Omega_Genesis_Coder_100k
Fix a subtle bug in a Python module used for rate limiting. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be streaming-friendly, must handle Windows paths safely, must include type hints, stdlib-only. Difficulty: medium. Support both Windows and POSIX path...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: TypeScript Framework/tooling: Next.js Domain: benchmark harness Logic challenge: monorepo toolchain skew Task type: concurrency_fix Difficulty: medi...
WithinUsAI/GOD_Coder_Complete_DataSet
Improve typing and robustness of a Python module used for metrics aggregation. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must include tests, must handle Windows paths safely. Difficulty: hard. Ensure the API is testable via dependency injection. Deliver...
WithinUsAI/python_GOD_coder_100k
Add a clear docstring and type hints to this function: ```python def f51785(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f51785(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: jdeuabq.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f03264(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 `m14752.py` and `test_m14752.py`. *** Begin Patch *** Update File: m14752.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_frontend Scenario: job scheduler Domain focus: kernel primitives Primary language: typescript Difficulty: hard Scale/SLO: 10k RPS peak Component: component_mieikgcg Constraints: include deterministic replay plan, avoid data races and undefined behavior, include performance model and limits, assume a...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Python Framework/tooling: Pydantic Domain: repo automation Logic challenge: mismatched API contract Task type: state_machine_patch Difficulty: mediu...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: perf_microarchitecture Scenario: identity and access Domain focus: distributed storage Primary language: go Difficulty: hard Scale/SLO: 100k RPS peak Component: component_uelwspkd Constraints: include security threat model (defensive only), include deterministic replay plan, include performance model and lim...
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: usp3e...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C36234: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m72018.py` and `test_m72018.py`. ```python # m72018.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of sre/observability for scenario: event ingestion. Primary language: go. Difficulty: hard. Constraints: include tests or verification strategy, make the interface contract explicit, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize. Compon...
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: Repository domain: team dashboard Primary language: Rust Framework/tooling: SQLx Reported problem: monorepo toolchain skew Task type: performance_patch Diffic...
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: Python Framework/tooling: Pydantic Domain: notification service Logic challenge: migration ordering failure Task type: parser_validation_logic 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: Fix a bug and add tests. File: axpktvxoluh.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Create a small, production-ready Python package for parsing. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must avoid global state, must be streaming-friendly, must provide clear error messages. Difficulty: expert. Include a small CLI example if relevant. Delive...
WithinUsAI/python_GOD_coder_100k
Task type: schema_evolution_contracts Scenario: time-series metrics store Domain focus: stream processing Primary language: go Difficulty: hard Scale/SLO: 100k RPS peak Component: component_dpegvjlb Constraints: explicit contracts and invariants, include verification strategy, include security threat model (defensive o...
WithinUsAI/Omega_Genesis_Coder_100k
Fix a subtle bug in a Python module used for CLI tooling. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must handle Windows paths safely, must be streaming-friendly, must include tests, must be easy to extend. Difficulty: expert. Avoid quadratic behavior on lar...
WithinUsAI/python_GOD_coder_100k
Refactor a Python module used for data modeling into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must provide clear error messages, must avoid global state. Difficulty: medium. Include a small CLI example if relevant. Delivera...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f84250(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 `m97750.py` and `test_m97750.py`. *** Begin Patch *** Update File: m97750.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: u5der...
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: id3ml...
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: pugwqik.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f84046(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f84046(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: a2ln5znb.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C56097: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m50469.py` and `test_m50469.py`. ```python # m50469.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for caching layer into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include tests, must be streaming-friendly. Difficulty: hard. Include a small CLI example if relevant. Deliverable: corrected...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f20572(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 `m45796.py` and `test_m45796.py`. *** Begin Patch *** Update File: m45796.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: qc8lhv2p2.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: rate limit gateway Domain focus: kernel primitives Primary language: go Difficulty: hard Scale/SLO: multi-region active-active Component: component_dxcctosw Constraints: include performance model and limits, assume adversarial inputs; validate everything, include test vectors and fu...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f78000(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f78000(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f33791`. ```python def f33791(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m19113 import f33791 def test_known(): assert f33791(3,4) == 25 def test_zero(): assert f33791(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: Airflow, dbt, DuckDB, MinIO, pytest Language: C++ Dependency challenge: N+1 query explosion Task type: migration_patch Difficulty: hard Fix th...
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: mn00sha.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: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: Python Dependency challenge: log redaction failure Task type: lockfile_repair Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: formal_proof_sketch Scenario: identity and access Domain focus: large-scale ML systems Primary language: rust Difficulty: hard Scale/SLO: 10k RPS peak Component: component_bkilfnrh Constraints: avoid data races and undefined behavior, include deterministic replay plan, include verification strategy, assume a...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Go Framework/tooling: gRPC Domain: artifact registry Logic challenge: rate-limit bypass Task type: monorepo_toolchain_recovery Difficulty: expert R...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: w2prbd4v25_.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: Rust Framework/tooling: Axum Domain: benchmark harness Logic challenge: dead-letter queue replay Task type: cross_stack_outage_fix Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize a Python workflow for CLI tooling. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must handle Windows paths safely, must be streaming-friendly. Difficulty: medium. Include a small CLI example if relevant. Deliverable: production-ready reference solution. Strategy...
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 domain: benchmark harness Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: N+1 query explosion Task type: incid...
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: Language: Java Framework/tooling: JUnit Domain: developer platform Logic challenge: slow cold start Task type: performance_bottleneck_patch Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C73047: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m05619.py` and `test_m05619.py`. ```python # m05619.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: kernel_syscall_design Scenario: identity and access Domain focus: constraint solving Primary language: cpp Difficulty: expert Scale/SLO: 1M msgs/min Component: component_wilesrgf Constraints: include failure modes and recovery, include deterministic replay plan, include test vectors and fuzz strategy, assume...
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: k3fguqnk.py ```p...
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: ndtsjxlx7yo0.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for data modeling. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be streaming-friendly, must include tests, must be easy to extend, stdlib-only. Difficulty: hard. Handle empty inputs and malformed records graceful...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a web feature for e-commerce: real-time notifications. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must be performant under load, must be easy to extend, must be observable (logs/metrics/traces), must be secure-by-default. Difficulty: expert...
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: Rust, Axum, SQLx, Redis, Tokio, Docker Cross-layer incident: slow cold start Task type: auth_session_repair Difficulty...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f42026(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m91718.py` with types and O(n) average. ```python # m91718.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: network_protocol Scenario: rate limit gateway Domain focus: kernel primitives Primary language: sql Difficulty: hard Scale/SLO: 1M msgs/min Component: component_jlihsmeq Constraints: assume adversarial inputs; validate everything, include deterministic replay plan, explicit contracts and invariants, include ...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: runtime_gc Scenario: document indexing pipeline Domain focus: secure enclaves (defensive) Primary language: go Difficulty: expert Scale/SLO: 100k RPS peak Component: component_fuobloxq Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, assume adversarial i...
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
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: repo automation Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: slow cold start Task ty...
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: n_hbq...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f41504`. ```python def f41504(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m63072 import f41504 def test_known(): assert f41504(3,4) == 25 def test_zero(): assert f41504(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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: real-time notification hub Domain focus: runtime systems Primary language: bash Difficulty: hard Scale/SLO: 99.99% availability Component: component_buyituxd Constraints: include backward compatibility and migration plan, include deterministic replay plan, avoid data races and undef...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: time-series metrics. Primary language: rust. Difficulty: expert. Constraints: avoid undefined behavior and data races, make the interface contract explicit, include tests or verification strategy, assume untrusted inputs; validate and saniti...
WithinUsAI/Elite_GOD_Coder_100k
Refactor an existing codebase in content moderation to support real-time notifications cleanly. Target platform: ML (PyTorch + serving). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include tests, must be performant under load, must be easy to extend, must be ob...
WithinUsAI/GOD_Coder_100k
Improve typing and robustness of a Python module used for ETL pipelines. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must include type hints, must be memory-efficient, must be streaming-friendly, must be easy to extend. Difficulty: easy. Support both Windo...
WithinUsAI/python_GOD_coder_100k
Implement a concurrent Python solution for file synchronization. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must include tests, must avoid global state, must handle Windows paths safely, must be easy to extend. Difficulty: expert. Ensure the API is test...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f03802`. ```python def f03802(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m57686 import f03802 def test_known(): assert f03802(3,4) == 25 def test_zero(): assert f03802(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in e-commerce to support offline-first sync cleanly. Target platform: backend (Node.js). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include type hints where applicable, must avoid global state, must include documentation/comments,...
WithinUsAI/GOD_Coder_100k
Task type: tla_state_machine Scenario: streaming ETL Domain focus: fault injection & chaos engineering Primary language: tla+ Difficulty: expert Scale/SLO: 99.99% availability Component: component_gqabssbd Constraints: include deterministic replay plan, include verification strategy, include performance model and limit...
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: e4ijo5zswj6.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f26017(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m89431.py` with types and O(n) average. ```python # m89431.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 compilers for scenario: document indexing. Primary language: sql. Difficulty: expert. Constraints: include invariants and failure modes, include tests or verification strategy, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races. Compone...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: time-series metrics. Primary language: python. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, document performance characteristics. Component: component_pvaedau. Assum...
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: Repository domain: notification service Primary language: Go Framework/tooling: sqlc Reported problem: websocket reconnect storm Task type: performance_patch ...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Design a small, production-grade Python API for log processing. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must handle Windows paths safely, must include tests. Difficulty: medium. Support both Windows and POSIX paths correctly. Deliverable: corrected code...
WithinUsAI/python_GOD_coder_100k