text
stringlengths
355
3.69k
source
stringclasses
6 values
Build an elite-grade solution in the domain of ml systems for scenario: document indexing. Primary language: python. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, include invariants and failure modes. Component: component_gdtmjkd. Assume strict a...
WithinUsAI/Elite_GOD_Coder_100k
Create a comprehensive test plan and automated tests for idempotent payments in a e-commerce product. Target platform: infra (Terraform). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include clear error handling, must avoid global state, must be easy to extend, ...
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: o_4cilouz.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: System domain: payments platform Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Cross-layer incident: gRPC retry storm Task type: full_...
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: Spring Boot Domain: artifact registry Logic challenge: race condition on worker shutdown Task type: parser_validation_logic ...
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
Fix the bug and add pytest tests. ```python def f39210(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 `m77030.py` and `test_m77030.py`. *** Begin Patch *** Update File: m77030.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: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: TypeScript Dependency challenge: monorepo toolchain skew Task type: cve_dependency_r...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f00579(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 `m85797.py` and `test_m85797.py`. *** Begin Patch *** Update File: m85797.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for configuration loading. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must provide clear error messages, must include type hints, must be memory-efficient, must include docstrings. Difficulty: easy. Handle empty inputs and malformed records g...
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: nn8uif.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: lu2sx...
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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: C++ Dependency challenge: dead-letter queue replay Task type: version_conflict_res...
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: Bash Framework/tooling: awk Domain: feature flag service Logic challenge: path traversal on downloads Task type: security_logic_interaction 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: 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: i2ufs8d523.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f67452(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f67452(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 metrics aggregation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be easy to extend, stdlib-only, must include docstrings. Difficulty: expert. Avoid quadratic behavior on large inputs. Deliverable: corrected c...
WithinUsAI/python_GOD_coder_100k
Implement a web feature for IoT telemetry: background jobs. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must include type hints where applicable, must include documentation/comments, must be production-ready, must be secure-by-default, must be perform...
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
Fix the bug and add pytest tests. ```python def f62487(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 `m94641.py` and `test_m94641.py`. *** Begin Patch *** Update File: m94641.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: time-series metrics. Primary language: sql. Difficulty: hard. Constraints: document performance characteristics, include tests or verification strategy, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize. Compo...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f29978(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 `m32854.py` and `test_m32854.py`. *** Begin Patch *** Update File: m32854.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Design a small, production-grade Python API for time series. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must be streaming-friendly, stdlib-only, must be memory-efficient, must include tests. Difficulty: hard. Guarantee deterministic output ordering. Delive...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C36061: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m79697.py` and `test_m79697.py`. ```python # m79697.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: SQL Framework/tooling: SQLite Domain: benchmark harness Logic challenge: mismatched API contract Task type: backwards_compatible_redesign Difficulty...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f22912(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 `m60416.py` and `test_m60416.py`. *** Begin Patch *** Update File: m60416.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: multi-tenant SaaS. Primary language: rust. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, document performance characteristics, include tests or verification strategy. Component...
WithinUsAI/Elite_GOD_Coder_100k
Implement role-based access control for a document processing product. Target platform: mobile (Android Kotlin). Requirements: provide production-ready code, configuration, and tests. Constraints: must avoid global state, must be easy to extend, must include documentation/comments, must be secure-by-default, must be pe...
WithinUsAI/GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f94420(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f94420(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: 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: rs0tkul.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f77378(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m11054.py` with types and O(n) average. ```python # m11054.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f92547(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 `m13221.py` and `test_m13221.py`. *** Begin Patch *** Update File: m13221.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Perform a code review for a logistics PR implementing event-driven workflows. Target platform: backend (Node.js). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be performant under load, must be production-ready, must include documentation/comments. Difficulty...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f21179(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m31597.py` with types and O(n) average. ```python # m31597.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: e5cbj...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a fraud detection product around background jobs. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be production-ready, must include documentation/comments, must include type hints where applicable, must be easy to exten...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C90933: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m60841.py` and `test_m60841.py`. ```python # m60841.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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f06843(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f06843(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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f20989(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m74427.py` with types and O(n) average. ```python # m74427.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: h4ydvk3r5.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f68247(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 `m38321.py` and `test_m38321.py`. *** Begin Patch *** Update File: m38321.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: ryesz...
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: CMake Domain: job scheduler Logic challenge: async cancellation bug Task type: multi_service_security_patch Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
Design and implement an algorithm for rate limiting. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include type hints, must be streaming-friendly, must be memory-efficient, must handle Windows paths safely. Difficulty: expert. Provide helpful exce...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: job scheduler. Primary language: python. Difficulty: medium. Constraints: include tests or verification strategy, design for backward compatibility and migrations, make the interface contract explicit, include invariants and failure modes. Component:...
WithinUsAI/Elite_GOD_Coder_100k
Task type: schema_evolution_contracts Scenario: job scheduler Domain focus: model checking Primary language: bash Difficulty: hard Scale/SLO: 100k RPS peak Component: component_xfsanbdg Constraints: include deterministic replay plan, explicit contracts and invariants, avoid data races and undefined behavior, include pe...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f46404(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m63772.py` with types and O(n) average. ```python # m63772.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for file synchronization. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must avoid global state, must provide clear error messages, must include type hints, must be memory-efficient. Difficulty: hard. Guarantee deterministic...
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: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Language: SQL Dependency challenge: async cancellation bug Task type: version_co...
WithinUsAI/GOD_Coder_Complete_DataSet
Build a data pipeline for a fintech product around multi-tenant isolation. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be performant under load, must include documentation/comments, must be production-ready, must be easy to extend, must incl...
WithinUsAI/GOD_Coder_100k
Implement a concurrent Python solution for telemetry ingestion. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must include docstrings, must include tests. Difficulty: hard. Provide helpful exceptions with actionable messages. Deliverable: API + reference ...
WithinUsAI/python_GOD_coder_100k
Write a thorough test suite for a Python component used for validation. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be streaming-friendly, must be memory-efficient, must provide clear error messages. Difficulty: hard. Handle empty inputs and malformed records gracefully. ...
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: JavaScript Framework/tooling: React Domain: notification service Logic challenge: optimistic locking conflict Task type: edge_case_hardening Difficu...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: storage_engine Scenario: streaming ETL Domain focus: static analysis Primary language: go Difficulty: expert Scale/SLO: p99 < 150ms Component: component_ckwcwhxq Constraints: include performance model and limits, include failure modes and recovery, include security threat model (defensive only), assume adver...
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: vs44pkezono.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for fintech supporting webhooks. Target platform: backend (Python FastAPI). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include clear error handling, must include tests, must be observable (logs/metrics/traces). Difficulty: hard. Assume unt...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: te4xsu4eb.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Write secure, defensive Python code for telemetry ingestion. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must provide clear error messages, must include docstrings, must include type hints. Difficulty: easy. Avoid quadratic behavior on large inputs. Deliverab...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: edge sync. Primary language: python. Difficulty: expert. Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, include tests or verification strategy, avoid undefined behavior and da...
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: System domain: data pipeline Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: S3-compatible upload inconsistency Task type: ...
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: auth service Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: multi-tenant access leak Task type...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: compiler_frontend Scenario: rate limit gateway Domain focus: model checking Primary language: sql Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_patwbkfp Constraints: assume adversarial inputs; validate everything, include security threat model (defensive only), include performance m...
WithinUsAI/Omega_Genesis_Coder_100k
Write pytest tests for `f06257`. ```python def f06257(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m43751 import f06257 def test_known(): assert f06257(3,4) == 25 def test_zero(): assert f06257(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 stream processing for scenario: edge sync. Primary language: python. Difficulty: expert. Constraints: document performance characteristics, include tests or verification strategy, design for backward compatibility and migrations, avoid undefined behavior and data races, pr...
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: Bash Framework/tooling: awk Domain: repo automation Logic challenge: monorepo toolchain skew Task type: multi_service_security_patch Difficulty: har...
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: wrtzrcvyi7ec.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: rate limiting gateway. Primary language: python. Difficulty: hard. Constraints: provide rollout and rollback guidance, include invariants and failure modes, design for backward compatibility and migrations. Component: component_esilqcz. Assume cold...
WithinUsAI/Elite_GOD_Coder_100k
Task type: runtime_gc Scenario: identity and access Domain focus: model checking Primary language: go Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_kqvrqcug Constraints: include failure modes and recovery, include test vectors and fuzz strategy, include verification strategy, include de...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: runtime_gc Scenario: time-series metrics store Domain focus: edge robotics (safe) Primary language: go Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_xemdjowf Constraints: include performance model and limits, include test vectors and fuzz strategy, assume adversarial inputs; ...
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: sdbp6n_.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C23364: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m71028.py` and `test_m71028.py`. ```python # m71028.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C49746: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m88442.py` and `test_m88442.py`. ```python # m88442.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in content moderation to support analytics pipeline cleanly. Target platform: backend (Python FastAPI). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be performant under load, must include tests, must be secure-by-default. Difficulty...
WithinUsAI/GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f77753(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f77753(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: distributed_algorithm Scenario: time-series metrics store Domain focus: formal verification Primary language: rust Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_crkhxlhi Constraints: include verification strategy, include security threat model (defensive only), include backward compati...
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: ociwhsffpw8n.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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: identity and access Domain focus: query planning Primary language: typescript Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_sppryzok Constraints: include security threat model (defensive only), include performance model and limits, assume adversarial inputs; valida...
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: aw6yqxtt.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f91557(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m41651.py` with types and O(n) average. ```python # m41651.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a social media product around background jobs. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must include type hints where applicable, must be observable (logs/metrics/traces), must be secure-by-default, must be performant...
WithinUsAI/GOD_Coder_100k
Provision infrastructure for a gaming workload providing search + pagination. Target platform: backend (Node.js). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must include type hints where applicable, must include tests, must avoid global state, must be secure-by-defa...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C81540: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m98580.py` and `test_m98580.py`. ```python # m98580.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: YAML Framework/tooling: Kubernetes Domain: auth service Logic challenge: multi-tenant access leak Task type: parser_validation_logic Difficulty: har...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of high-performance services for scenario: job scheduler. Primary language: go. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, avoid undefined behavior and data races, provide rollout and rollback guidance,...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: feature flagging. Primary language: python. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, make the interface contract explicit. Component: component_jtawydh. Assume strict a...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f49331(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 `m21333.py` and `test_m21333.py`. *** Begin Patch *** Update File: m21333.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
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: stdlib-only, must avoid global state, must include type hints, must provide clear error messages. Difficulty: expert. Avoid quadra...
WithinUsAI/python_GOD_coder_100k
Refactor an existing codebase in content moderation to support A/B experimentation cleanly. Target platform: CI (GitHub Actions). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be observable (logs/metrics/traces), must include documentation/comments, must avoid gl...
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: Go Framework/tooling: sqlc Domain: search service Logic challenge: build reproducibility failure Task type: multi_file_migration_repair Difficulty: ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: smt_constraint_model Scenario: time-series metrics store Domain focus: model checking Primary language: python Difficulty: expert+ Scale/SLO: 10k RPS peak Component: component_mxgzkout Constraints: include verification strategy, avoid data races and undefined behavior, explicit contracts and invariants, incl...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f12521(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 `m87503.py` and `test_m87503.py`. *** Begin Patch *** Update File: m87503.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k