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: fz1d9kwq_0.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Secure-by-default implementation for background jobs in a enterprise SaaS product. Target platform: CI (GitHub Actions). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must include clear error handling, must be performant under load, must be observable (logs/metric...
WithinUsAI/GOD_Coder_100k
Task type: lockfree_primitive Scenario: multi-tenant event ingestion Domain focus: large-scale ML systems Primary language: rust Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_tpyxhrna Constraints: include deterministic replay plan, explicit contracts and invariants, include test vectors and fuzz str...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f18050(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 `m31150.py` and `test_m31150.py`. *** Begin Patch *** Update File: m31150.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Improve typing and robustness of a Python module used for CLI tooling. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must provide clear error messages, stdlib-only, must be streaming-friendly. Difficulty: expert. Avoid quadratic behavior on large inputs. De...
WithinUsAI/python_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: must be easy to extend, must provide clear error messages. Difficulty: medium. Avoid quadratic behavior on large inputs. Deliverabl...
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: developer platform Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: idempotent retry design Task...
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: C++ Framework/tooling: CMake Domain: benchmark harness Logic challenge: transaction boundary bug Task type: performance_bottleneck_patch Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion. Primary language: rust. Difficulty: medium. Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, avoid undefined...
WithinUsAI/Elite_GOD_Coder_100k
Debug and fix a subtle production bug related to file uploads in a healthtech service. Target platform: infra (Docker + Kubernetes). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be easy to extend, must avoid global state, must be performant under load. Difficulty: hard. ...
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: fulke_gl.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Design a small, production-grade Python API for task scheduling. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must handle Windows paths safely, stdlib-only, must be memory-efficient, must include tests. Difficulty: easy. Guarantee deterministic output orderin...
WithinUsAI/python_GOD_coder_100k
Implement audit logs for a content moderation product. Target platform: mobile (iOS Swift). Requirements: provide production-ready code, configuration, and tests. Constraints: must avoid global state, must be observable (logs/metrics/traces), must include clear error handling. Difficulty: medium. Assume mobile clients ...
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: tocomp.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for customer support supporting audit logs. Target platform: CI (GitHub Actions). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include type hints where applicable, must be easy to extend, must be secure-by-default, must be observable (logs/m...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C49513: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m11501.py` and `test_m11501.py`. ```python # m11501.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for e-commerce supporting rate limiting. Target platform: data (SQL + Python). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must avoid global state, must be production-ready, must include documentation/comments, must be secure-by-default, must in...
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: x5qhs6gx4iq.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for file synchronization. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be streaming-friendly, must avoid global state. Difficulty: expert. Ensure the API is testable via dependency injection. Deliverable: correc...
WithinUsAI/python_GOD_coder_100k
Add a clear docstring and type hints to this function: ```python def f00828(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f00828(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 domain: job scheduler Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: stale cache invalidation ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: tla_state_machine Scenario: rate limit gateway Domain focus: distributed storage Primary language: tla+ Difficulty: expert Scale/SLO: 99.99% availability Component: component_caiudkgg Constraints: include security threat model (defensive only), include backward compatibility and migration plan, include failu...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f08777(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 `m44111.py` and `test_m44111.py`. *** Begin Patch *** Update File: m44111.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for configuration loading. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must provide clear error messages. Difficulty: hard. Ensure the API is testable via dependency injection. Deliverable: im...
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: ffj01...
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: repo automation Primary language: SQL Framework/tooling: SQLite Reported problem: streaming timeout handling Task type: feature_delivery Di...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C19759: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m78443.py` and `test_m78443.py`. ```python # m78443.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: multi-tenant SaaS. Primary language: python. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, design for backward compatibility and migrations. Component: component_zwwrxaz. Assu...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_frontend Scenario: identity and access Domain focus: data lineage & governance Primary language: typescript Difficulty: hard Scale/SLO: p99 < 50ms Component: component_amjtmumc Constraints: include test vectors and fuzz strategy, include deterministic replay plan, include failure modes and recovery,...
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: Repository domain: auth service Primary language: Rust Framework/tooling: Serde Reported problem: CI failures after dependency upgrade Task type: code_review_...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a web feature for developer tooling: background jobs. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must be secure-by-default, must avoid global state, must be production-ready. Difficulty: easy. Assume PII must be protected. Output: producti...
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: notification service Primary language: Bash Framework/tooling: sed Reported problem: slow cold start Task type: test_repair Difficulty: med...
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: s9qcl1xy09p9.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: job scheduler Domain focus: constraint solving Primary language: rust Difficulty: hard Scale/SLO: 10k RPS peak Component: component_bwvrduul Constraints: include test vectors and fuzz strategy, include deterministic replay plan, explicit contracts and invariants, include backward...
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: n164n...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f01591(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f01591(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: ml_system_design Scenario: streaming ETL Domain focus: stream processing Primary language: bash Difficulty: hard Scale/SLO: multi-region active-active Component: component_gqqrqknd Constraints: assume adversarial inputs; validate everything, include performance model and limits, include security threat model...
WithinUsAI/Omega_Genesis_Coder_100k
Implement a concurrent Python solution for file synchronization. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must avoid global state, must be streaming-friendly, must be easy to extend, must include docstrings. Difficulty: medium. Support both Windows an...
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: spiqg...
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: job scheduler Logic challenge: broken pagination cursor Task type: cross_stack_outage_fix Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: secure_architecture Scenario: streaming ETL Domain focus: cryptography engineering (defensive) Primary language: sql Difficulty: hard Scale/SLO: 10k RPS peak Component: component_xjazeakk Constraints: explicit contracts and invariants, include failure modes and recovery, avoid data races and undefined behavi...
WithinUsAI/Omega_Genesis_Coder_100k
Secure-by-default implementation for analytics pipeline in a education product. Target platform: infra (Terraform). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must include tests, must be performant under load, must be easy to extend, must be observable (logs/me...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: feature flagging. Primary language: rust. Difficulty: medium. Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, avoid undefined behavior and data races, make the interface contract explicit...
WithinUsAI/Elite_GOD_Coder_100k
Create a comprehensive test plan and automated tests for audit logs in a healthtech product. Target platform: data (SQL + Python). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be production-ready, must include tests, must include type hints where applicable. Dif...
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: JavaScript Framework/tooling: Vite Domain: document processing API Logic challenge: rate-limit bypass Task type: parser_validation_logic Difficulty:...
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: otl8h...
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: net/http Domain: team dashboard Logic challenge: slow cold start Task type: performance_bottleneck_patch Difficulty: hard Ret...
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: reporting engine Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: memory leak in AST cache Task type: test...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f47152(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m06736.py` with types and O(n) average. ```python # m06736.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: 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: nvbnykw.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C53418: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m27186.py` and `test_m27186.py`. ```python # m27186.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for search + pagination in a calendar/scheduling product. Target platform: CI (GitHub Actions). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include clear error handling, must include tests, must avoid global ...
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 stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Language: JavaScript Dependency challenge: timezone bug in reporting Task type: cve_dependency_re...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: kernel_syscall_design Scenario: edge sync Domain focus: consensus & replication Primary language: cpp Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_oevqjtff Constraints: assume adversarial inputs; validate everything, include verification strategy, include performance model and limi...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of stream processing for scenario: job scheduler. Primary language: python. Difficulty: medium. Constraints: include tests or verification strategy, design for backward compatibility and migrations, include invariants and failure modes, avoid undefined behavior and data races...
WithinUsAI/Elite_GOD_Coder_100k
Task type: runtime_gc Scenario: document indexing pipeline Domain focus: cryptography engineering (defensive) Primary language: rust Difficulty: hard Scale/SLO: p99 < 50ms Component: component_jlyuklbr Constraints: avoid data races and undefined behavior, include security threat model (defensive only), include verifica...
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: kgy70...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f71748(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 `m95964.py` and `test_m95964.py`. *** Begin Patch *** Update File: m95964.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C04826: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m69602.py` and `test_m69602.py`. ```python # m69602.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: Project domain: notification service Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: optimistic locking...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of sre/observability for scenario: analytics pipeline. Primary language: python. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, design for backward compatibility and migrations, include tests or verificatio...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: graph query service Domain focus: secure enclaves (defensive) Primary language: cpp Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_duuuxixa Constraints: avoid data races and undefined behavior, include security threat model (defensive only), include perform...
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: C# Framework/tooling: ASP.NET Core Domain: observability collector Logic challenge: race condition on worker shutdown Task type: state_machine_patch...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of distributed systems for scenario: multi-tenant SaaS. Primary language: rust. Difficulty: medium. Constraints: design for backward compatibility and migrations, document performance characteristics, provide rollout and rollback guidance. Component: component_gsndnqj. Assume...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Vite Domain: job scheduler Logic challenge: async cancellation bug Task type: security_logic_interaction Difficulty: h...
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
Implement background jobs for a document processing product. Target platform: data (SQL + Python). Requirements: provide production-ready code, configuration, and tests. Constraints: must be observable (logs/metrics/traces), must be secure-by-default, must include documentation/comments, must include clear error handli...
WithinUsAI/GOD_Coder_100k
Task type: compiler_backend_ir Scenario: identity and access Domain focus: model checking Primary language: rust Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_amzgcewr Constraints: include test vectors and fuzz strategy, include failure modes and recovery, avoid data races and undefined behavior, 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: Fix a bug and add tests. File: yndi1_wedz_x.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: Optimize while preserving behavior. File: nf21i...
WithinUsAI/Royal_Ghost_Coder_501k
Add observability for event-driven workflows in a social media system. Target platform: infra (Docker + Kubernetes). Requirements: structured logs, metrics, tracing, dashboards, and alerting rules. Constraints: must be secure-by-default, must be easy to extend, must include clear error handling, must include documentat...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: Boost Domain: team dashboard Logic challenge: streaming timeout handling Task type: multi_file_migration_repair Difficulty: e...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f00037(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 `m14291.py` and `test_m14291.py`. *** Begin Patch *** Update File: m14291.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for rate limiting. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must include type hints, must handle Windows paths safely. Difficulty: expert. Ensure the API is testable via dependency injection. Deliverable: corrected code and verification te...
WithinUsAI/python_GOD_coder_100k
Task type: compiler_backend_ir Scenario: streaming ETL Domain focus: real-time scheduling Primary language: cpp Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_ahlxaphz Constraints: include security threat model (defensive only), include deterministic replay plan, assume adversarial inputs; validate eve...
WithinUsAI/Omega_Genesis_Coder_100k
Design a small, production-grade Python API for CLI tooling. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must provide clear error messages, stdlib-only, must be streaming-friendly. Difficulty: medium. Include a small CLI example if relevant. Deliverable: co...
WithinUsAI/python_GOD_coder_100k
Implement caching for a logistics product. Target platform: ML (scikit + batch). Requirements: provide production-ready code, configuration, and tests. Constraints: must include type hints where applicable, must include tests, must be secure-by-default, must include documentation/comments, must be observable (logs/metr...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C28364: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m56028.py` and `test_m56028.py`. ```python # m56028.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C30634: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m40818.py` and `test_m40818.py`. ```python # m40818.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: streaming ETL Domain focus: formal verification Primary language: cpp Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_bxmdjsnv Constraints: include security threat model (defensive only), include backward compatibility and migration plan, include deterministic r...
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
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C88737: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m83749.py` and `test_m83749.py`. ```python # m83749.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: Python Framework/tooling: SQLAlchemy Domain: notification service Logic challenge: build reproducibility failure Task type: state_machine_patch Diff...
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 stack: Airflow, dbt, DuckDB, MinIO, pytest Language: JavaScript Dependency challenge: stale cache invalidation Task type: version_conflict_resolution ...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of edge/IoT for scenario: job scheduler. Primary language: typescript. Difficulty: hard. Constraints: include tests or verification strategy, provide rollout and rollback guidance, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, design...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f61510(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m65930.py` with types and O(n) average. ```python # m65930.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Perform a code review for a calendar/scheduling PR implementing analytics pipeline. Target platform: web (React + TypeScript). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be secure-by-default, must be performant under load, must include type hints where app...
WithinUsAI/GOD_Coder_100k
Secure-by-default implementation for idempotent payments in a enterprise SaaS product. Target platform: CI (GitHub Actions). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must include type hints where applicable, must be production-ready, must be easy to extend. D...
WithinUsAI/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: stdlib-only, must handle Windows paths safely, must be easy to extend. Difficulty: easy. Provide helpful exceptions with actionable messages. ...
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 networking for scenario: document indexing. Primary language: python. Difficulty: expert. Constraints: include invariants and failure modes, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, make the interface contract explic...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f44397(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m77771.py` with types and O(n) average. ```python # m77771.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: document processing API Primary language: JavaScript Framework/tooling: React Reported problem: idempotent retry design Task type: performa...
WithinUsAI/GOD_Coder_Complete_DataSet
Perform a code review for a e-commerce PR implementing search + pagination. Target platform: ML (scikit + batch). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must include type hints where applicable, must include tests, must avoid global state, must be easy to e...
WithinUsAI/GOD_Coder_100k
Debug and fix a subtle production bug related to file uploads in a gaming service. Target platform: backend (Go). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be performant under load, must avoid global state, must include clear error handling, must include tests, must b...
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
Design a small, production-grade Python API for caching layer. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: stdlib-only, must be easy to extend, must provide clear error messages. Difficulty: hard. Handle empty inputs and malformed records gracefully. Delive...
WithinUsAI/python_GOD_coder_100k