text
stringlengths
355
3.69k
source
stringclasses
6 values
Task type: secure_architecture Scenario: edge sync Domain focus: large-scale ML systems Primary language: rust Difficulty: expert Scale/SLO: multi-region active-active Component: component_szyiwbsu Constraints: include verification strategy, include backward compatibility and migration plan, include performance model a...
WithinUsAI/Omega_Genesis_Coder_100k
Design a production system for customer support supporting idempotent payments. Target platform: backend (Node.js). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include clear error handling, must include documentation/comments, must avoid global state, must be easy to...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f33557(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 `m47651.py` and `test_m47651.py`. *** Begin Patch *** Update File: m47651.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f98249(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m42607.py` with types and O(n) average. ```python # m42607.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_frontend Scenario: feature-flag evaluation Domain focus: fault injection & chaos engineering Primary language: sql Difficulty: hard Scale/SLO: 1M msgs/min Component: component_xiabozxn Constraints: include failure modes and recovery, include security threat model (defensive only), include test vecto...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion. Primary language: rust. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, make the interface contract explicit, design for backward compatib...
WithinUsAI/Elite_GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f12879(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f12879(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: dm7rqry.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: event ingestion. Primary language: rust. Difficulty: expert. Constraints: include tests or verification strategy, include invariants and failure modes, make the interface contract explicit, provide rollout and rollback guidance, document performance ...
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: auth service Primary language: SQL Framework/tooling: DuckDB Reported problem: mismatched API contract Task type: bug_fix Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C76042: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m21234.py` and `test_m21234.py`. ```python # m21234.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: 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: 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: Project stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Language: C# Dependency challenge: async cancellation bug Task type: cve_depende...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor an existing codebase in customer support to support role-based access control cleanly. Target platform: CI (GitHub Actions). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be secure-by-default, must be observable (logs/metrics/traces), must avoid global s...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of compilers for scenario: analytics pipeline. Primary language: rust. Difficulty: hard. Constraints: include tests or verification strategy, include invariants and failure modes, provide rollout and rollback guidance. Component: component_nhnehmc. Assume cold-start and memor...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f94724(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 `m13532.py` and `test_m13532.py`. *** Begin Patch *** Update File: m13532.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Design a small, production-grade Python API for file synchronization. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must avoid global state, stdlib-only, must be memory-efficient. Difficulty: easy. Support both Windows and POSIX paths correctly. Deliverable: ...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f10672`. ```python def f10672(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m30096 import f10672 def test_known(): assert f10672(3,4) == 25 def test_zero(): assert f10672(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
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: h0nr5...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_backend_ir Scenario: real-time notification hub Domain focus: distributed storage Primary language: cpp Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_fxzpulld Constraints: include test vectors and fuzz strategy, explicit contracts and invariants, include deterministi...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f36753(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f36753(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: in550lpluv.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: perf_microarchitecture Scenario: multi-tenant event ingestion Domain focus: formal verification Primary language: python Difficulty: hard Scale/SLO: 1M msgs/min Component: component_aybvuudx Constraints: avoid data races and undefined behavior, include verification strategy, 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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Implement an ML engineering workflow for logistics focusing on A/B experimentation. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be easy to extend, must include type hints where applicable, must include docum...
WithinUsAI/GOD_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 avoid global state, must be memory-efficient. Difficulty: medium. Ensure the API is testable via dependency injection. 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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: storage_engine Scenario: streaming ETL Domain focus: GPU serving Primary language: go Difficulty: expert Scale/SLO: p99 < 50ms Component: component_odefshie Constraints: include security threat model (defensive only), include verification strategy, avoid data races and undefined behavior, include test vector...
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: 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: Repository domain: reporting engine Primary language: Rust Framework/tooling: Axum Reported problem: slow cold start Task type: repo_issue_patch Difficulty: h...
WithinUsAI/GOD_Coder_Complete_DataSet
Design a production system for e-commerce supporting offline-first sync. Target platform: backend (Python FastAPI). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be production-ready, must avoid global state, must be performant under load, must be easy to extend. Diffic...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: job scheduler Primary language: YAML Framework/tooling: GitHub Actions Reported problem: migration ordering failure Task type: repo_issue_p...
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: Java Framework/tooling: Hibernate Domain: job scheduler Logic challenge: websocket reconnect storm Task type: distributed_debug Difficulty: hard Re...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing. Primary language: python. Difficulty: medium. Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, document performance characteristics, make the interface contract explic...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Python Framework/tooling: Flask Domain: developer platform Logic challenge: slow cold start Task type: cross_stack_outage_fix Difficulty: hard Retu...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: e95dslr7tjd5.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for parsing. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must be streaming-friendly, must avoid global state. Difficulty: expert. Avoid quadratic behavior on large inputs. Deliverable: corrected code and verification tests. Strategy: - Avoid ...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: TypeScript Framework/tooling: Prisma Domain: payments platform Logic challenge: broken pagination cursor Task type: cross_stack_outage_fix Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of operating systems for scenario: analytics pipeline. Primary language: rust. Difficulty: medium. Constraints: make the interface contract explicit, design for backward compatibility and migrations, provide rollout and rollback guidance, assume untrusted inputs; validate and...
WithinUsAI/Elite_GOD_Coder_100k
Write secure, defensive Python code for event dispatching. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must avoid global state, must include tests, must provide clear error messages, must be streaming-friendly. Difficulty: easy. Handle empty inputs and malform...
WithinUsAI/python_GOD_coder_100k
Design a small, production-grade Python API for CLI tooling. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must handle Windows paths safely, must include docstrings, must be memory-efficient. Difficulty: hard. Avoid quadratic behavior on large inputs. Deliver...
WithinUsAI/python_GOD_coder_100k
Task type: schema_evolution_contracts Scenario: multi-tenant event ingestion Domain focus: network protocols Primary language: typescript Difficulty: expert Scale/SLO: 100k RPS peak Component: component_pfkxzrno Constraints: include test vectors and fuzz strategy, avoid data races and undefined behavior, explicit contr...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C83925: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m37225.py` and `test_m37225.py`. ```python # m37225.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: System domain: team dashboard Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: websocket reconnect storm Task type: schema_c...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: secure_architecture Scenario: real-time notification hub Domain focus: stream processing Primary language: bash Difficulty: hard Scale/SLO: 99.99% availability Component: component_zsjelfxf Constraints: assume adversarial inputs; validate everything, explicit contracts and invariants, include deterministic r...
WithinUsAI/Omega_Genesis_Coder_100k
Create a small, production-ready Python package for validation. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be memory-efficient, must be streaming-friendly, stdlib-only. Difficulty: easy. Handle empty inputs and malformed records gracefully. Deliverable: ...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: 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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: multi-tenant SaaS. Primary language: go. Difficulty: medium. Constraints: include invariants and failure modes, design for backward compatibility and migrations, make the interface contract explicit. Component: component_blswzbf. Assume 50k RPS an...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C55725: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m65825.py` and `test_m65825.py`. ```python # m65825.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of ml systems for scenario: edge sync. Primary language: typescript. Difficulty: hard. Constraints: include tests or verification strategy, include invariants and failure modes, make the interface contract explicit, provide rollout and rollback guidance, design for backward c...
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: wt9_wu6.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: rsfzcqwpw.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: chat messaging. Primary language: python. Difficulty: hard. Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, include tests or verification strategy. Component: component_kgirenr...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: job scheduler. Primary language: rust. Difficulty: hard. Constraints: include tests or verification strategy, include invariants and failure modes, make the interface contract explicit, provide rollout and rollback guidance, assume untrusted inputs; ...
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: JavaScript Framework/tooling: Jest Domain: artifact registry Logic challenge: schema drift during deployment Task type: monorepo_toolchain_recovery ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: lockfree_primitive Scenario: time-series metrics store Domain focus: fault injection & chaos engineering Primary language: cpp Difficulty: hard Scale/SLO: 99.99% availability Component: component_ygzoxawi Constraints: avoid data races and undefined behavior, explicit contracts and invariants, include securit...
WithinUsAI/Omega_Genesis_Coder_100k
Design CI/CD for a enterprise SaaS service delivering multi-tenant isolation. Target platform: mobile (iOS Swift). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must avoid global state, must be secure-by-default, must be performant under load. Difficulty: expert. Assume sc...
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: xUnit Domain: team dashboard Logic challenge: gRPC retry storm Task type: backwards_compatible_redesign Difficulty: expert Re...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a concurrent Python solution for report generation. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must provide clear error messages, stdlib-only, must include type hints. Difficulty: easy. Provide helpful exceptions with actionable messages. Del...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: rate limiting gateway. Primary language: python. Difficulty: expert. Constraints: include invariants and failure modes, include tests or verification strategy, design for backward compatibility and migrations. Component: component_ajkymyh. Assume s...
WithinUsAI/Elite_GOD_Coder_100k
Write pytest tests for `f32167`. ```python def f32167(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m18881 import f32167 def test_known(): assert f32167(3,4) == 25 def test_zero(): assert f32167(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
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: f0r57e.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: lem34...
WithinUsAI/Royal_Ghost_Coder_501k
Design a small, production-grade Python API for configuration loading. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must include tests, must provide clear error messages, must include docstrings. Difficulty: hard. Support both Windows and POSIX paths correctl...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: chat messaging. Primary language: python. Difficulty: hard. Constraints: include tests or verification strategy, include invariants and failure modes, make the interface contract explicit, document performance characteristics, provide roll...
WithinUsAI/Elite_GOD_Coder_100k
Task type: distributed_algorithm Scenario: multi-tenant event ingestion Domain focus: observability platforms Primary language: bash Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_ofbndatu Constraints: explicit contracts and invariants, avoid data races and undefined behavior, include performance model ...
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: auth service Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: schema drift during deployment Task type:...
WithinUsAI/GOD_Coder_Complete_DataSet
Write pytest tests for `f47422`. ```python def f47422(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m35346 import f47422 def test_known(): assert f47422(3,4) == 25 def test_zero(): assert f47422(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: reporting engine Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: log redaction failure Task type: auth_session_...
WithinUsAI/GOD_Coder_Complete_DataSet
Write pytest tests for `f45254`. ```python def f45254(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m49322 import f45254 def test_known(): assert f45254(3,4) == 25 def test_zero(): assert f45254(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
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 clear error handling, must be secure-by-default, must include documentation/comments. Difficulty: hard. Assume un...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f31161(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 `m33023.py` and `test_m33023.py`. *** Begin Patch *** Update File: m33023.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: cdi1rj.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f90287(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 `m70041.py` and `test_m70041.py`. *** Begin Patch *** Update File: m70041.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for CLI tooling into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must avoid global state, must be streaming-friendly. Difficulty: expert. Guarantee deterministic output ordering. Deliverable: corr...
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: g9ii8...
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: xoa1b...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C68209: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m59093.py` and `test_m59093.py`. ```python # m59093.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f57381(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 `m22483.py` and `test_m22483.py`. *** Begin Patch *** Update File: m22483.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 domain: repo automation Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: optimistic locking conflict Task type:...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: pyl_ylkana.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of high-performance services for scenario: rate limiting gateway. Primary language: rust. Difficulty: expert. Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, make the interface contract explicit, document performance cha...
WithinUsAI/Elite_GOD_Coder_100k
Task type: smt_constraint_model Scenario: multi-tenant event ingestion Domain focus: distributed storage Primary language: python Difficulty: expert Scale/SLO: 1M msgs/min Component: component_nepwiqrl Constraints: include backward compatibility and migration plan, include verification strategy, include failure modes a...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f65458(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f65458(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 `f21173`. ```python def f21173(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m88739 import f21173 def test_known(): assert f21173(3,4) == 25 def test_zero(): assert f21173(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f05963(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f05963(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: k2aijr3.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: Language: TypeScript Framework/tooling: Node.js Domain: artifact registry Logic challenge: optimistic locking conflict Task type: misleading_symptom_debug Dif...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C02113: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m61701.py` and `test_m61701.py`. ```python # m61701.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: Go Framework/tooling: sqlc Domain: developer platform Logic challenge: schema drift during deployment Task type: cross_stack_outage_fix Difficulty: ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: supply_chain_security Scenario: payment ledger Domain focus: network protocols Primary language: typescript Difficulty: expert Scale/SLO: p99 < 50ms Component: component_vqxpdrct Constraints: include security threat model (defensive only), include performance model and limits, include deterministic replay pl...
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: notification service Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: multi-tenant access leak Task type: ...
WithinUsAI/GOD_Coder_Complete_DataSet