text
stringlengths
355
3.69k
source
stringclasses
6 values
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: fpcrw60bm7.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: static_analyzer Scenario: multi-tenant event ingestion Domain focus: data lineage & governance Primary language: sql Difficulty: expert+ Scale/SLO: 1M msgs/min Component: component_thzxjnng Constraints: include failure modes and recovery, include security threat model (defensive only), include deterministic ...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f92239(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m13177.py` with types and O(n) average. ```python # m13177.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: Repository domain: notification service Primary language: YAML Framework/tooling: Kubernetes Reported problem: S3-compatible upload inconsistency Task type: p...
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: e3m6m425pf.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
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: GNU coreutils Domain: search service Logic challenge: async cancellation bug Task type: multi_service_security_patch Difficu...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement role-based access control for a social media product. Target platform: backend (Python FastAPI). Requirements: provide production-ready code, configuration, and tests. Constraints: must be observable (logs/metrics/traces), must include type hints where applicable, must avoid global state, must be secure-by-de...
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: search service Primary language: YAML Framework/tooling: Kubernetes Reported problem: websocket reconnect storm Task type: security_patch D...
WithinUsAI/GOD_Coder_Complete_DataSet
Write pytest tests for `f71046`. ```python def f71046(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m81578 import f71046 def test_known(): assert f71046(3,4) == 25 def test_zero(): assert f71046(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: C++ Dependency challenge: mismatched API contract Task type: container_runtime_fix D...
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: System domain: search service Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Cross-layer incident: async cancellation bug Task type: schema_c...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f82215(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f82215(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: Project stack: Airflow, dbt, DuckDB, MinIO, pytest Language: Rust Dependency challenge: mismatched API contract Task type: migration_patch Difficulty: hard F...
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: d2iuon_.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a concurrent Python solution for ETL pipelines. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must avoid global state, must be memory-efficient, must include tests, must be streaming-friendly. Difficulty: medium. Support both Windows and POSIX pa...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f65752`. ```python def f65752(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m66536 import f65752 def test_known(): assert f65752(3,4) == 25 def test_zero(): assert f65752(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to role-based access control in a education service. Target platform: web (React + TypeScript). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be production-ready, must be performant under load, must be observable (logs/metrics...
WithinUsAI/GOD_Coder_100k
Create a comprehensive test plan and automated tests for A/B experimentation in a e-commerce product. Target platform: data (SQL + Python). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be observable (logs/metrics/traces), must be performant under load, must be s...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: time-series metrics. Primary language: python. Difficulty: medium. Constraints: design for backward compatibility and migrations, document performance characteristics, avoid undefined behavior and data races. Component: component_nygktyy. Assume c...
WithinUsAI/Elite_GOD_Coder_100k
Build a data pipeline for a healthtech product around role-based access control. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must include documentation/comments, must avoid global state, must include tests, must be observable (logs/metrics/traces...
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: o81u1uxrf.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: YAML Framework/tooling: Kubernetes Domain: team dashboard Logic challenge: memory leak in AST cache Task type: multi_file_migration_repair Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: distributed_algorithm Scenario: feature-flag evaluation Domain focus: compiler toolchains Primary language: sql Difficulty: hard Scale/SLO: 1M msgs/min Component: component_opbfhkkc Constraints: explicit contracts and invariants, include backward compatibility and migration plan, include security threat mode...
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: vjbib...
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: jso64qr.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C63040: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m74080.py` and `test_m74080.py`. ```python # m74080.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C# Framework/tooling: xUnit Domain: feature flag service Logic challenge: slow cold start Task type: multi_file_migration_repair Difficulty: expert ...
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: Rust Framework/tooling: cargo test Domain: payments platform Logic challenge: gRPC retry storm Task type: multi_service_security_patch Difficulty: h...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix a subtle bug in a Python module used for report generation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must provide clear error messages, must be memory-efficient. Difficulty: medium. Avoid quadratic behavior on large inputs. De...
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: i0suf...
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: MySQL Domain: team dashboard Logic challenge: optimistic locking conflict Task type: multi_service_security_patch Difficulty:...
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: developer platform Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: race condit...
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
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing. Primary language: sql. Difficulty: expert. Constraints: document performance characteristics, avoid undefined behavior and data races, provide rollout and rollback guidance, include tests or verification strategy. Component: com...
WithinUsAI/Elite_GOD_Coder_100k
Implement a mobile feature for logistics: A/B experimentation. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must include clear error handling, must include tests, must avoid global state, must be production-ready. Difficulty: easy. Assume mobile clients are oc...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f53326(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m07618.py` with types and O(n) average. ```python # m07618.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: YAML Framework/tooling: Docker Compose Domain: model serving gateway Logic challenge: build reproducibility failure Task type: parser_validation_log...
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: skofys0.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: static_analyzer Scenario: identity and access Domain focus: compiler toolchains Primary language: python Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_wezgysjb Constraints: include backward compatibility and migration plan, assume adversarial inputs; validate everything, include ver...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: static_analyzer Scenario: identity and access Domain focus: runtime systems Primary language: rust Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_rcsimhdx Constraints: include backward compatibility and migration plan, include security threat model (defensive only), explicit contract...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f68756(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 `m24108.py` and `test_m24108.py`. *** Begin Patch *** Update File: m24108.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: inventory & ordering. Primary language: typescript. Difficulty: expert. Constraints: include invariants and failure modes, include tests or verification strategy, design for backward compatibility and migrations, provide rollout and rollback guida...
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: Optimize while preserving behavior. File: tq6f4...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: multi-tenant SaaS. Primary language: typescript. Difficulty: medium. Constraints: provide rollout and rollback guidance, make the interface contract explicit, design for backward compatibility and migrations, avoid undefined behavior and d...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C32615: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m56355.py` and `test_m56355.py`. ```python # m56355.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of stream processing for scenario: document indexing. Primary language: bash. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, include tests or verification strategy, document performance characteristics. C...
WithinUsAI/Elite_GOD_Coder_100k
Design a small, production-grade Python API for parsing. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must be streaming-friendly, must include type hints, must be memory-efficient. Difficulty: hard. Guarantee deterministic output ordering. Deliverable: produ...
WithinUsAI/python_GOD_coder_100k
Task type: perf_microarchitecture Scenario: job scheduler Domain focus: data lineage & governance Primary language: sql Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_yjokkjyb Constraints: include security threat model (defensive only), include failure modes and recovery, include backward compatib...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C45815: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m72755.py` and `test_m72755.py`. ```python # m72755.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: gRPC Domain: repo automation Logic challenge: slow cold start Task type: state_machine_patch Difficulty: medium Return a rigo...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f55662(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 `m93666.py` and `test_m93666.py`. *** Begin Patch *** Update File: m93666.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: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Language: Bash Dependency challenge: race condition on worker shutdown Task type...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of realtime systems for scenario: analytics pipeline. Primary language: bash. Difficulty: expert. Constraints: include invariants and failure modes, include tests or verification strategy, make the interface contract explicit, document performance characteristics, assume untr...
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 an existing codebase in logistics to support search + pagination cleanly. Target platform: web (React + TypeScript). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include documentation/comments, must be production-ready, must be observable (logs/metrics/...
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: PostgreSQL Domain: observability collector Logic challenge: broken pagination cursor Task type: monorepo_toolchain_recovery D...
WithinUsAI/GOD_Coder_Complete_DataSet
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 avoid global state, must be memory-efficient. Difficulty: easy. Provide helpful exceptions with actionable messages. Deliverable: corrected cod...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C76102: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m05854.py` and `test_m05854.py`. ```python # m05854.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: time-series metrics. Primary language: sql. Difficulty: hard. Constraints: design for backward compatibility and migrations, include invariants and failure modes, make the interface contract explicit. Component: component_idlgyzj. Assume 50k RPS an...
WithinUsAI/Elite_GOD_Coder_100k
Debug and fix a subtle production bug related to file uploads in a gaming service. Target platform: data (SQL + Python). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must avoid global state, must include clear error handling, must include type hints where applicable. Difficul...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: team dashboard Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Cross-layer incident: S3-compatible upload inconsistency Task type: auth...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: network_protocol Scenario: identity and access Domain focus: model checking Primary language: python Difficulty: expert Scale/SLO: 100k RPS peak Component: component_tosaqzag Constraints: explicit contracts and invariants, assume adversarial inputs; validate everything, include verification strategy, avoid d...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f38965(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f38965(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Implement background jobs for a healthtech product. Target platform: infra (Docker + Kubernetes). Requirements: provide production-ready code, configuration, and tests. Constraints: must be easy to extend, must be performant under load, must include documentation/comments, must be observable (logs/metrics/traces). Diff...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f29518(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 `m47074.py` and `test_m47074.py`. *** Begin Patch *** Update File: m47074.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of sre/observability for scenario: analytics pipeline. Primary language: python. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, design for backward compatibility and migrations. Component: component_lkv...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C19088: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m93776.py` and `test_m93776.py`. ```python # m93776.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Create a small, production-ready Python package for task scheduling. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be memory-efficient, must provide clear error messages, must include tests. Difficulty: easy. Guarantee deterministic output ordering. Deliver...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: feature flag service Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: idempotent retr...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of ml systems for scenario: chat messaging. Primary language: sql. Difficulty: hard. Constraints: include tests or verification strategy, provide rollout and rollback guidance, design for backward compatibility and migrations, make the interface contract explicit, include inv...
WithinUsAI/Elite_GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: streaming ETL Domain focus: consensus & replication Primary language: sql Difficulty: hard Scale/SLO: 1M msgs/min Component: component_usvpdick Constraints: explicit contracts and invariants, include failure modes and recovery, include security threat model (defensive only), i...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for event-driven workflows in a healthtech product. Target platform: ML (scikit + batch). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include documentation/comments, must include type hints where applicable, ...
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
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: payments platform Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Software delivery problem: dead-letter queue replay T...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a comprehensive test plan and automated tests for search + pagination in a calendar/scheduling product. Target platform: ML (PyTorch + serving). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be secure-by-default, must be performant under load, must include...
WithinUsAI/GOD_Coder_100k
Task type: tla_state_machine Scenario: document indexing pipeline Domain focus: static analysis Primary language: tla+ Difficulty: expert Scale/SLO: 50 TB/day ingestion Component: component_ljiksmsh Constraints: explicit contracts and invariants, include test vectors and fuzz strategy, assume adversarial inputs; valida...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of networking for scenario: rate limiting gateway. Primary language: typescript. Difficulty: expert. Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, include tests or verifi...
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: rlvp8s6wt.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for task scheduling. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must be easy to extend, must be streaming-friendly. Difficulty: hard. Provide helpful exceptions with actionable messages. Deliverable: API + reference implementation + tests. S...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: multi-tenant SaaS. Primary language: python. Difficulty: hard. Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, make the interface con...
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: plxlcpvkyep.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f78979(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 `m96997.py` and `test_m96997.py`. *** Begin Patch *** Update File: m96997.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
Add a clear docstring and type hints to this function: ```python def f32063(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f32063(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for rate limiting in a education product. Target platform: data (SQL + Python). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be observable (logs/metrics/traces), must be performant under load, must be secure-b...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: inventory & ordering. Primary language: rust. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, make the interface contract explicit, provide rollout and rollback guidance. Component: component_giyafnt. Assume strict ...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of compilers for scenario: chat messaging. Primary language: go. Difficulty: hard. Constraints: document performance characteristics, include invariants and failure modes, provide rollout and rollback guidance, include tests or verification strategy, design for backward compa...
WithinUsAI/Elite_GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Implement webhooks for a healthtech product. Target platform: mobile (iOS Swift). Requirements: provide production-ready code, configuration, and tests. Constraints: must be observable (logs/metrics/traces), must be production-ready, must include tests, must include clear error handling. Difficulty: medium. Assume GDPR...
WithinUsAI/GOD_Coder_100k
Refactor a Python module used for time series into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: stdlib-only, must be memory-efficient. Difficulty: expert. Provide helpful exceptions with actionable messages. Deliverable: correc...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: event ingestion. Primary language: go. Difficulty: medium. Constraints: make the interface contract explicit, include tests or verification strategy, document performance characteristics, assume untrusted inputs; validate and sanitize. Com...
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
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: team dashboard Logic challenge: CI failures after dependency upgrade Task type: security_logic_interaction Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: y9rwg2.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: z3koc...
WithinUsAI/Royal_Ghost_Coder_501k
Implement file uploads for a developer tooling product. Target platform: CI (GitHub Actions). Requirements: provide production-ready code, configuration, and tests. Constraints: must be production-ready, must include tests, must include documentation/comments. Difficulty: hard. Assume mobile clients are occasionally of...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: time-series metrics. Primary language: python. Difficulty: expert. Constraints: document performance characteristics, provide rollout and rollback guidance, make the interface contract explicit, include invariants and failure modes. Component: compon...
WithinUsAI/Elite_GOD_Coder_100k