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: 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
Add a clear docstring and type hints to this function: ```python def f05715(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f05715(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: perf_microarchitecture Scenario: edge sync Domain focus: zero-downtime migrations Primary language: go Difficulty: hard Scale/SLO: p99 < 150ms Component: component_qumiojyb Constraints: include backward compatibility and migration plan, include verification strategy, include test vectors and fuzz strategy, i...
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: Rust Framework/tooling: Serde Domain: reporting engine Logic challenge: build reproducibility failure Task type: concurrency_fix Difficulty: hard R...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f51164(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 `m64452.py` and `test_m64452.py`. *** Begin Patch *** Update File: m64452.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: smt_constraint_model Scenario: multi-tenant event ingestion Domain focus: network protocols Primary language: python Difficulty: expert Scale/SLO: 100k RPS peak Component: component_tdntxjlp Constraints: assume adversarial inputs; validate everything, include failure modes and recovery, include test vectors ...
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: rn87swhkdpvo.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: Repository domain: reporting engine Primary language: Bash Framework/tooling: GNU coreutils Reported problem: JWT refresh token rotation Task type: security_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: Optimize while preserving behavior. File: bm8zh...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for event dispatching. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: stdlib-only, must be easy to extend, must handle Windows paths safely, must include tests. Difficulty: expert. Ensure the API is testable via dependency in...
WithinUsAI/python_GOD_coder_100k
Task type: gpu_serving_pipeline Scenario: document indexing pipeline Domain focus: runtime systems Primary language: rust Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_tkvbdnso Constraints: include deterministic replay plan, avoid data races and undefined behavior, explicit contracts and invariants, in...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f53837(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f53837(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: System domain: team dashboard Stack: Airflow, dbt, DuckDB, MinIO, pytest Cross-layer incident: stale cache invalidation Task type: full_stack_bug_fix Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f74377(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 `m24911.py` and `test_m24911.py`. *** Begin Patch *** Update File: m24911.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: ghw6aml.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_frontend Scenario: edge sync Domain focus: consensus & replication Primary language: sql Difficulty: expert Scale/SLO: p99 < 50ms Component: component_cmodefzx Constraints: include performance model and limits, include failure modes and recovery, include test vectors and fuzz strategy, assume advers...
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: cpaq71a.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: Python Framework/tooling: Flask Domain: job scheduler Logic challenge: timezone bug in reporting Task type: performance_bottleneck_patch Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to caching in a education service. Target platform: ML (scikit + batch). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include type hints where applicable, must include tests, must be performant under load, must be observable ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing. Primary language: rust. Difficulty: medium. Constraints: avoid undefined behavior and data races, include invariants and failure modes, document performance characteristics, make the interface contract explicit. Component: compo...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: edge sync Domain focus: program synthesis (safe) Primary language: cpp Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_usdcshfh Constraints: include failure modes and recovery, include performance model and limits, include security threat model (defensive only), ...
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
Optimize while preserving behavior and order. ```python def f23705(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m74815.py` with types and O(n) average. ```python # m74815.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_backend_ir Scenario: graph query service Domain focus: query planning Primary language: rust Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_tofdeaqb Constraints: include failure modes and recovery, explicit contracts and invariants, include test vectors and fuzz strategy, av...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: event ingestion. Primary language: bash. Difficulty: hard. Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, include tests or verification strategy. Component: component_wwtjopu. Assume crash-only de...
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: Java Framework/tooling: Spring Boot Domain: search service Logic challenge: websocket reconnect storm Task type: misleading_symptom_debug Difficulty...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f74767(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 `m10681.py` and `test_m10681.py`. *** Begin Patch *** Update File: m10681.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: t25f1...
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: Playwright Domain: repo automation Logic challenge: gRPC retry storm Task type: edge_case_hardening Difficulty: hard ...
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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Create a small, production-ready Python package for telemetry ingestion. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must handle Windows paths safely, must avoid global state. Difficulty: hard. Support both Windows and POSIX paths correctly. Deliverable: imple...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: time-series metrics. Primary language: typescript. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, make the interface contract explicit, design for backward compatibilit...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_frontend Scenario: edge sync Domain focus: runtime systems Primary language: python Difficulty: hard Scale/SLO: p99 < 50ms Component: component_rrvrmejd Constraints: explicit contracts and invariants, assume adversarial inputs; validate everything, include performance model and limits, include secur...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f09961(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m01423.py` with types and O(n) average. ```python # m01423.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: team dashboard Primary language: JavaScript Framework/tooling: Jest Reported problem: transaction boundary bug Task type: code_review_fix D...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C62953: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m66381.py` and `test_m66381.py`. ```python # m66381.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: Fix a bug and add tests. File: zukks_ev7.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for document processing supporting role-based access control. Target platform: ML (scikit + batch). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include tests, must be secure-by-default, must be production-ready, must include clear error han...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: rate limiting gateway. Primary language: typescript. Difficulty: expert. Constraints: include invariants and failure modes, avoid undefined behavior and data races, provide rollout and rollback guidance, design for backward compatibility and migra...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of compilers for scenario: document indexing. Primary language: go. Difficulty: expert. Constraints: document performance characteristics, make the interface contract explicit, provide rollout and rollback guidance, design for backward compatibility and migrations, avoid unde...
WithinUsAI/Elite_GOD_Coder_100k
Design CI/CD for a content moderation service delivering A/B experimentation. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be secure-by-default, must include clear error handling, must avoid global state, must be easy to exten...
WithinUsAI/GOD_Coder_100k
Task type: mechanized_spec Scenario: graph query service Domain focus: constraint solving Primary language: lean Difficulty: hard Scale/SLO: p99 < 150ms Component: component_kenkofzm Constraints: include test vectors and fuzz strategy, include performance model and limits, include security threat model (defensive only)...
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 stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: JavaScript Dependency challenge: path traversal on downloads Task type: cve_depend...
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: ofm4p7c.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: 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: C# Framework/tooling: ASP.NET Core Reported problem: monorepo toolchain skew Task type: code_review_fix ...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of networking for scenario: edge sync. Primary language: typescript. Difficulty: hard. Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, document performance characteristics, include tests or verification strategy. Component: compone...
WithinUsAI/Elite_GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f72515(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f72515(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a enterprise SaaS product around caching. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must include documentation/comments, must be performant under load, must be easy to extend. Difficulty: medium. Assume GDPR-style dele...
WithinUsAI/GOD_Coder_100k
Fix a subtle bug in a Python module used for log processing. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be streaming-friendly, must include tests, must be easy to extend. Difficulty: expert. Provide helpful exceptions with actionable messages. Delivera...
WithinUsAI/python_GOD_coder_100k
Add a clear docstring and type hints to this function: ```python def f36736(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f36736(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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Language: TypeScript Dependency challenge: optimistic locking conflict Task type: lock...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Bash Framework/tooling: jq Domain: repo automation Logic challenge: log redaction failure Task type: performance_bottleneck_patch Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: sre_incident_sim Scenario: time-series metrics store Domain focus: constraint solving Primary language: rust Difficulty: expert Scale/SLO: 10k RPS peak Component: component_stqabwzi Constraints: include security threat model (defensive only), include backward compatibility and migration plan, include failure...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: storage_engine Scenario: streaming ETL Domain focus: edge robotics (safe) Primary language: python Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_sxiydmlb Constraints: include deterministic replay plan, assume adversarial inputs; validate everything, include backward compatibility and migrat...
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: lpfu599.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
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: Tokio Domain: document processing API Logic challenge: stale cache invalidation Task type: misleading_symptom_debug Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor a Python module used for data modeling into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be memory-efficient, must include type hints, stdlib-only, must include tests. Difficulty: expert. Include a small CLI exampl...
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
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: document indexing. Primary language: typescript. Difficulty: medium. Constraints: document performance characteristics, make the interface contract explicit, include tests or verification strategy, provide rollout and rollback...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C30349: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m63873.py` and `test_m63873.py`. ```python # m63873.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: Optimize while preserving behavior. File: nr0sm...
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: search service Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: memory leak in AST cache Task type: observabilit...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C20303: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m32331.py` and `test_m32331.py`. ```python # m32331.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for healthtech supporting webhooks. Target platform: data (SQL + Python). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include documentation/comments, must be easy to extend, must include type hints where applicable, must be production-ready...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C68826: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m97602.py` and `test_m97602.py`. ```python # m97602.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C21800: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m78600.py` and `test_m78600.py`. ```python # m78600.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: robust_e2e_testing Scenario: rate limit gateway Domain focus: constraint solving Primary language: go Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_obehyouh Constraints: avoid data races and undefined behavior, include performance model and limits, include deterministic replay plan,...
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: System domain: search service Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Cross-layer incident: dead-letter queue replay Task type: ...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f99554(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 `m14222.py` and `test_m14222.py`. *** Begin Patch *** Update File: m14222.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: nfzrlqva5_.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_frontend Scenario: document indexing pipeline Domain focus: fault injection & chaos engineering Primary language: typescript Difficulty: hard Scale/SLO: 99.99% availability Component: component_hsqgrwej Constraints: assume adversarial inputs; validate everything, include verification strategy, expli...
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: jt3s6...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Rust Framework/tooling: Axum Domain: developer platform Logic challenge: unsafe deserialization Task type: concurrency_fix Difficulty: hard Return ...
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: r75um43.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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a developer tooling service delivering offline-first sync. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include tests, must be observable (logs/metrics/traces), must include documentation/comments, must avoid ...
WithinUsAI/GOD_Coder_100k
Task type: robust_e2e_testing Scenario: multi-tenant event ingestion Domain focus: formal verification Primary language: sql Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_srwnydas Constraints: include performance model and limits, assume adversarial inputs; validate everything, include backward c...
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: Rust Framework/tooling: SQLx Domain: model serving gateway Logic challenge: race condition on worker shutdown Task type: security_logic_interaction ...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a web feature for enterprise SaaS: caching. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must include type hints where applicable, must be observable (logs/metrics/traces), must be easy to extend, must include documentation/comments. Difficul...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: py7obzsg.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: wd7nckrf.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a healthtech product around offline-first sync. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be performant under load, must be secure-by-default, must include clear error handling, must avoid global state. Difficulty...
WithinUsAI/GOD_Coder_100k
Implement search + pagination for a education product. Target platform: mobile (iOS Swift). Requirements: provide production-ready code, configuration, and tests. Constraints: must be easy to extend, must be performant under load, must avoid global state, must be production-ready. Difficulty: expert. Include rollback s...
WithinUsAI/GOD_Coder_100k
Refactor a Python module used for ETL pipelines into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be easy to extend, must be streaming-friendly. Difficulty: hard. Support both Windows and POSIX paths correctly. Deliverable...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C13833: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m24141.py` and `test_m24141.py`. ```python # m24141.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: document indexing pipeline Domain focus: large-scale ML systems Primary language: rust Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_xrxltjsj Constraints: include performance model and limits, include deterministic replay plan, assume adversarial inputs; validate ev...
WithinUsAI/Omega_Genesis_Coder_100k
Create a comprehensive test plan and automated tests for idempotent payments in a healthtech 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 avoid global state, must include ty...
WithinUsAI/GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f60453(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f60453(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f75416(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 `m96488.py` and `test_m96488.py`. *** Begin Patch *** Update File: m96488.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f26638(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m75234.py` with types and O(n) average. ```python # m75234.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: wksx0...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f27960`. ```python def f27960(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m18280 import f27960 def test_known(): assert f27960(3,4) == 25 def test_zero(): assert f27960(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
Write a thorough test suite for a Python component used for telemetry ingestion. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must handle Windows paths safely, must include docstrings. Difficulty: expert. Include a small CLI example if relevant. Deliverable: production-ready re...
WithinUsAI/python_GOD_coder_100k