text
stringlengths
355
3.69k
source
stringclasses
6 values
Optimize a Python workflow for caching layer. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must include docstrings, must include tests, stdlib-only, must avoid global state. Difficulty: hard. Guarantee deterministic output ordering. Deliverable: corrected code and verif...
WithinUsAI/python_GOD_coder_100k
Fix a subtle bug in a Python module used for validation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be streaming-friendly, must be easy to extend. Difficulty: hard. Handle empty inputs and malformed records gracefully. Deliverable: production-ready ref...
WithinUsAI/python_GOD_coder_100k
Refactor a Python module used for rate limiting into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include docstrings, must include tests, must avoid global state. Difficulty: hard. Include a small CLI example if relevant. ...
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: aimud5u.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
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: a5yuj...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: real-time notification hub Domain focus: real-time scheduling Primary language: rust Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_upnfqngc Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, include determinist...
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: yiyl2...
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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Language: Go Dependency challenge: race condition on worker shutdown Task type: contai...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: auth service Primary language: C# Framework/tooling: EF Core Reported problem: path traversal on downloads Task type: api_endpoint_work 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: Optimize while preserving behavior. File: rvi9b...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C75890: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m13530.py` and `test_m13530.py`. ```python # m13530.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f16763(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 `m88109.py` and `test_m88109.py`. *** Begin Patch *** Update File: m88109.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for file synchronization. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include tests, must be memory-efficient, must include type hints, must handle Windows paths safely. Difficulty: medium. Include a small CLI example...
WithinUsAI/python_GOD_coder_100k
Implement background jobs for a content moderation product. Target platform: mobile (Android Kotlin). Requirements: provide production-ready code, configuration, and tests. Constraints: must be easy to extend, must be secure-by-default, must include type hints where applicable. Difficulty: hard. Include rollback strate...
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: SQL Framework/tooling: MySQL Domain: job scheduler Logic challenge: streaming timeout handling Task type: concurrency_fix Difficulty: medium Return...
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: team dashboard Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: gRPC retry storm Task ty...
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: Spring Boot Domain: developer platform Logic challenge: async cancellation bug Task type: multi_service_security_patch Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
Write a thorough test suite for a Python component used for telemetry ingestion. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include docstrings, stdlib-only, must avoid global state, must include tests. Difficulty: easy. Ensure the API is testable via dependency injection....
WithinUsAI/python_GOD_coder_100k
Task type: compiler_backend_ir Scenario: real-time notification hub Domain focus: model checking Primary language: rust Difficulty: expert Scale/SLO: 99.99% availability Component: component_koxlrtxc Constraints: avoid data races and undefined behavior, include verification strategy, assume adversarial inputs; validate...
WithinUsAI/Omega_Genesis_Coder_100k
Create a comprehensive test plan and automated tests for idempotent payments in a logistics product. Target platform: backend (Python FastAPI). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include clear error handling, must include tests, must include type hints...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: document indexing. Primary language: python. Difficulty: hard. Constraints: provide rollout and rollback guidance, document performance characteristics, include tests or verification strategy, avoid undefined behavior and data races, include ...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f72179(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 `m24597.py` and `test_m24597.py`. *** Begin Patch *** Update File: m24597.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f92875(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f92875(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f07913(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m72559.py` with types and O(n) average. ```python # m72559.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: t0_sl...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f39441(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m77063.py` with types and O(n) average. ```python # m77063.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 distributed systems for scenario: time-series metrics. Primary language: typescript. Difficulty: medium. Constraints: include tests or verification strategy, design for backward compatibility and migrations, include invariants and failure modes, avoid undefined behavior an...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of databases for scenario: analytics pipeline. Primary language: go. Difficulty: expert. Constraints: make the interface contract explicit, design for backward compatibility and migrations, avoid undefined behavior and data races, provide rollout and rollback guidance. Compon...
WithinUsAI/Elite_GOD_Coder_100k
Write pytest tests for `f53222`. ```python def f53222(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m64746 import f53222 def test_known(): assert f53222(3,4) == 25 def test_zero(): assert f53222(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: Repository domain: model serving gateway Primary language: Python Framework/tooling: Airflow Reported problem: streaming timeout handling Task type: feature_d...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: sre_incident_sim Scenario: identity and access Domain focus: cryptography engineering (defensive) Primary language: python Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_tebnooxl Constraints: include security threat model (defensive only), include deterministic replay plan, explicit con...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: m7s6y4.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: smt_constraint_model Scenario: graph query service Domain focus: model checking Primary language: python Difficulty: hard Scale/SLO: 99.99% availability Component: component_zhwdarsn Constraints: explicit contracts and invariants, include deterministic replay plan, include verification strategy, assume adver...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C35826: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m56602.py` and `test_m56602.py`. ```python # m56602.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: Repository domain: job scheduler Primary language: Go Framework/tooling: net/http Reported problem: invalid rollback sequence Task type: security_patch Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a small, production-ready Python package for log processing. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must provide clear error messages, must avoid global state. Difficulty: easy. Handle empty inputs and malformed records gracefully. Deliverable: API...
WithinUsAI/python_GOD_coder_100k
Create a small, production-ready Python package for file synchronization. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must handle Windows paths safely, must be easy to extend, stdlib-only. Difficulty: hard. Ensure the API is testable via dependency injection. ...
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
Implement rate limiting for a IoT telemetry product. Target platform: infra (Terraform). Requirements: provide production-ready code, configuration, and tests. Constraints: must be observable (logs/metrics/traces), must be secure-by-default, must be production-ready, must include tests. Difficulty: hard. Assume PII mus...
WithinUsAI/GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f14973(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f14973(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: SQL Framework/tooling: DuckDB Domain: job scheduler Logic challenge: path traversal on downloads Task type: algorithmic_correctness Difficulty: medi...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f07279(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 `m43897.py` and `test_m43897.py`. *** Begin Patch *** Update File: m43897.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: identity and access Domain focus: model checking Primary language: sql Difficulty: hard Scale/SLO: 99.99% availability Component: component_nixdxaca Constraints: include backward compatibility and migration plan, include security threat model (defensive only), include failure modes ...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f46163(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 `m92309.py` and `test_m92309.py`. *** Begin Patch *** Update File: m92309.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f35867(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f35867(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 `f17072`. ```python def f17072(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m45296 import f17072 def test_known(): assert f17072(3,4) == 25 def test_zero(): assert f17072(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: qxp2m7gz4q1m.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f92759(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m27537.py` with types and O(n) average. ```python # m27537.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Jest Domain: artifact registry Logic challenge: gRPC retry storm Task type: state_machine_patch Difficulty: medium Re...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f48574(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f48574(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
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 avoid global state, must be easy to extend, must be streaming-friendly. Difficulty: easy. Avoid quadratic behavior on large inputs. D...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of stream processing for scenario: rate limiting gateway. Primary language: rust. Difficulty: hard. Constraints: include tests or verification strategy, assume untrusted inputs; validate and sanitize, document performance characteristics. Component: component_consrva. Assume ...
WithinUsAI/Elite_GOD_Coder_100k
Implement role-based access control for a education product. Target platform: infra (Terraform). Requirements: provide production-ready code, configuration, and tests. Constraints: must be performant under load, must include tests, must include clear error handling, must be easy to extend. Difficulty: hard. Assume 10k ...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: repo automation Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: migration ordering failure Task type: prd...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of compilers for scenario: event ingestion. Primary language: python. Difficulty: expert. Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, make the interface contract explicit, include invariants and failure modes. 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: Project domain: observability collector Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: stale cache invalidation Task typ...
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: u4_7vrqpg.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: verification_properties Scenario: multi-tenant event ingestion Domain focus: data lineage & governance Primary language: python Difficulty: hard Scale/SLO: 10k RPS peak Component: component_nsjvznvb Constraints: include performance model and limits, include failure modes and recovery, include security threat...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f61578(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m51654.py` with types and O(n) average. ```python # m51654.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 f86982(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 `m12426.py` and `test_m12426.py`. *** Begin Patch *** Update File: m12426.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: document processing API Primary language: Bash Framework/tooling: jq Reported problem: broken pagination cursor Task type: feature_delivery...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: query_optimizer Scenario: streaming ETL Domain focus: formal verification Primary language: go Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_phguregn Constraints: include deterministic replay plan, avoid data races and undefined behavior, include performance model and limits, includ...
WithinUsAI/Omega_Genesis_Coder_100k
Secure-by-default implementation for audit logs in a enterprise SaaS product. Target platform: backend (Python FastAPI). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must be observable (logs/metrics/traces), must be production-ready, must include documentation/co...
WithinUsAI/GOD_Coder_100k
Task type: gpu_serving_pipeline Scenario: payment ledger Domain focus: real-time scheduling Primary language: sql Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_ztnjlhur Constraints: assume adversarial inputs; validate everything, include failure modes and recovery, include security threat model (def...
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: ydl67cfzjz.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of sre/observability for scenario: chat messaging. Primary language: go. Difficulty: medium. Constraints: include invariants and failure modes, include tests or verification strategy, document performance characteristics, design for backward compatibility and migrations, avoi...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f50554(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 `m07222.py` and `test_m07222.py`. *** Begin Patch *** Update File: m07222.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: schema_evolution_contracts Scenario: payment ledger Domain focus: constraint solving Primary language: bash Difficulty: expert Scale/SLO: 100k RPS peak Component: component_azzsojhy Constraints: include verification strategy, explicit contracts and invariants, include test vectors and fuzz strategy, include ...
WithinUsAI/Omega_Genesis_Coder_100k
Write a thorough test suite for a Python component used for caching layer. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include docstrings, must include tests, must be memory-efficient. Difficulty: medium. Guarantee deterministic output ordering. Deliverable: implementatio...
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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Language: C++ Dependency challenge: N+1 query explosion Task type: build_reproducibili...
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: zxsn8aftwboy.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: hhiszh.py ```pyt...
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: Maven Domain: artifact registry Logic challenge: log redaction failure Task type: performance_bottleneck_patch Difficulty: h...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to idempotent payments in a fraud detection service. Target platform: ML (PyTorch + serving). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be performant under load, must be easy to extend, must include documentation/comments....
WithinUsAI/GOD_Coder_100k
Design a production system for content moderation supporting event-driven workflows. Target platform: CI (GitHub Actions). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include type hints where applicable, must avoid global state, must be performant under load, must in...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: repo automation Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: rate-limit bypass Ta...
WithinUsAI/GOD_Coder_Complete_DataSet
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 easy to extend, must provide clear error messages. Difficulty: easy. Support both Windows and POSIX paths correctly. Deliverable: implementation +...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f00997`. ```python def f00997(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m71571 import f00997 def test_known(): assert f00997(3,4) == 25 def test_zero(): assert f00997(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: du3gk...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f88428`. ```python def f88428(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m41204 import f88428 def test_known(): assert f88428(3,4) == 25 def test_zero(): assert f88428(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to A/B experimentation in a customer support service. Target platform: ML (PyTorch + serving). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be observable (logs/metrics/traces), must include clear error handling, must be perfo...
WithinUsAI/GOD_Coder_100k
Task type: distributed_algorithm Scenario: time-series metrics store Domain focus: data lineage & governance Primary language: bash Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_kyoflecw Constraints: include deterministic replay plan, include backward compatibility and migration plan, include ...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: query_optimizer Scenario: payment ledger Domain focus: stream processing Primary language: python Difficulty: expert Scale/SLO: multi-region active-active Component: component_lnrfkvbm Constraints: include performance model and limits, include deterministic replay plan, include security threat model (defensi...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: lockfree_primitive Scenario: payment ledger Domain focus: GPU serving Primary language: cpp Difficulty: hard Scale/SLO: 10k RPS peak Component: component_dstwyzdy Constraints: include performance model and limits, include verification strategy, avoid data races and undefined behavior, explicit contracts and ...
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: Bash Framework/tooling: sed Domain: model serving gateway Logic challenge: async cancellation bug Task type: transaction_integrity_fix Difficulty: h...
WithinUsAI/GOD_Coder_Complete_DataSet
Design a production system for document processing supporting background jobs. Target platform: infra (Docker + Kubernetes). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include type hints where applicable, must be performant under load, must avoid global state, must ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: edge sync. Primary language: python. Difficulty: expert. Constraints: make the interface contract explicit, include tests or verification strategy, avoid undefined behavior and data races, design for backward compatibility and migrations. ...
WithinUsAI/Elite_GOD_Coder_100k
Task type: supply_chain_security Scenario: job scheduler Domain focus: stream processing Primary language: go Difficulty: hard Scale/SLO: 99.99% availability Component: component_uymkubtu Constraints: include verification strategy, include backward compatibility and migration plan, include deterministic replay plan, in...
WithinUsAI/Omega_Genesis_Coder_100k
Fix a subtle bug in a Python module used for time series. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include type hints, must be streaming-friendly. Difficulty: expert. Guarantee deterministic output ordering. Deliverable: production-ready reference so...
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: nl2h0...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f43741(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m91963.py` with types and O(n) average. ```python # m91963.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: Airflow, dbt, DuckDB, MinIO, pytest Language: Rust Dependency challenge: migration ordering failure Task type: build_reproducibility_fix Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: distributed_algorithm Scenario: edge sync Domain focus: GPU serving Primary language: rust Difficulty: hard Scale/SLO: p99 < 50ms Component: component_lbwohhng Constraints: explicit contracts and invariants, include verification strategy, include performance model and limits, include test vectors and fuzz st...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor an existing codebase in e-commerce to support webhooks cleanly. Target platform: mobile (iOS Swift). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must avoid global state, must include type hints where applicable, must be easy to extend. Difficulty: expert. A...
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: ooba10j.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k