text
stringlengths
355
3.69k
source
stringclasses
6 values
Task type: lockfree_primitive Scenario: rate limit gateway Domain focus: zero-downtime migrations Primary language: cpp Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_bccizpsa Constraints: include test vectors and fuzz strategy, avoid data races and undefined behavior, include performance model and l...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: robust_e2e_testing Scenario: streaming ETL Domain focus: real-time scheduling Primary language: go Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_nanmirmt Constraints: avoid data races and undefined behavior, include verification strategy, include failure modes and recovery, include backward ...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: analytics pipeline. Primary language: go. Difficulty: medium. Constraints: include invariants and failure modes, design for backward compatibility and migrations, avoid undefined behavior and data races, assume untrusted inputs; validate a...
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: p4dssn4vukmf.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for telemetry ingestion. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be streaming-friendly, must handle Windows paths safely, must avoid global state. Difficulty: easy. Guarantee deterministic output ordering. De...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Python Framework/tooling: Flask Domain: reporting engine Logic challenge: unsafe deserialization Task type: distributed_debug Difficulty: hard Retu...
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: SQL Framework/tooling: PostgreSQL Domain: document processing API Logic challenge: rate-limit bypass Task type: multi_service_security_patch Difficu...
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: benchmark harness Stack: Rust, Axum, SQLx, Redis, Tokio, Docker Cross-layer incident: mismatched API contract Task type: schema_contract_alignm...
WithinUsAI/GOD_Coder_Complete_DataSet
Perform a code review for a IoT telemetry PR implementing caching. Target platform: data (SQL + Python). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must include clear error handling, must be easy to extend, must avoid global state, must be performant under load...
WithinUsAI/GOD_Coder_100k
Write a thorough test suite for a Python component used for parsing. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must provide clear error messages, must handle Windows paths safely, must include tests, must avoid global state. Difficulty: hard. Avoid quadratic behavior on large...
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: auth service Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: optimistic locking conflic...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f77953(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f77953(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: compiler_backend_ir Scenario: streaming ETL Domain focus: zero-downtime migrations Primary language: rust Difficulty: expert+ Scale/SLO: 1M msgs/min Component: component_eodtqxhm Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, explicit contracts and inv...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f91870(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m27410.py` with types and O(n) average. ```python # m27410.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of high-performance services for scenario: payment processing. Primary language: rust. Difficulty: hard. Constraints: include tests or verification strategy, design for backward compatibility and migrations, include invariants and failure modes. Component: component_ptkrjlk. ...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f64287(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m52041.py` with types and O(n) average. ```python # m52041.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f36618(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 `m62374.py` and `test_m62374.py`. *** Begin Patch *** Update File: m62374.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: mp39w...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f76823`. ```python def f76823(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m96689 import f76823 def test_known(): assert f76823(3,4) == 25 def test_zero(): assert f76823(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for telemetry ingestion. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be streaming-friendly, must include type hints, must handle Windows paths safely. Difficulty: easy. Handle empty inputs and malformed records gr...
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
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C16766: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m08982.py` and `test_m08982.py`. ```python # m08982.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f65867(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m37981.py` with types and O(n) average. ```python # m37981.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of compilers for scenario: chat messaging. Primary language: bash. Difficulty: expert. Constraints: include invariants and failure modes, provide rollout and rollback guidance, include tests or verification strategy, document performance characteristics, make the interface co...
WithinUsAI/Elite_GOD_Coder_100k
Implement a mobile feature for e-commerce: background jobs. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must include clear error handling, must be performant under load, must be production-ready, must be easy to extend. Difficulty: medium. Assume untrusted in...
WithinUsAI/GOD_Coder_100k
Design CI/CD for a document processing service delivering search + pagination. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be observable (logs/metrics/traces), must include type hints where applicable, must be easy to extend,...
WithinUsAI/GOD_Coder_100k
Write pytest tests for `f35470`. ```python def f35470(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m62210 import f35470 def test_known(): assert f35470(3,4) == 25 def test_zero(): assert f35470(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a social media service delivering multi-tenant isolation. Target platform: CI (GitHub Actions). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be observable (logs/metrics/traces), must include tests, must avoid global state, must include documentation/...
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: notification service Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Cross-layer incident: optimistic locking conflict Task type: auth_...
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: data pipeline Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Cross-layer incident: schema drift during deployment Task t...
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
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: data pipeline Logic challenge: rate-limit bypass Task type: cross_stack_outage_fix Difficulty: hard Return a r...
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: p9bjded.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: cnwj42l027v.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: Project domain: artifact registry Implementation stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Software delivery problem: dead-letter queue replay Task...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of compilers for scenario: feature flagging. Primary language: go. Difficulty: medium. Constraints: document performance characteristics, avoid undefined behavior and data races, provide rollout and rollback guidance, include tests or verification strategy. Component: compone...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f21397(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m88771.py` with types and O(n) average. ```python # m88771.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Implement multi-tenant isolation for a fraud detection product. Target platform: web (React + TypeScript). Requirements: provide production-ready code, configuration, and tests. Constraints: must be observable (logs/metrics/traces), must be production-ready, must avoid global state, must include documentation/comments,...
WithinUsAI/GOD_Coder_100k
Design a production system for content moderation supporting analytics pipeline. Target platform: infra (Docker + Kubernetes). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include type hints where applicable, must be secure-by-default, must be easy to extend, must be ...
WithinUsAI/GOD_Coder_100k
Create a small, production-ready Python package for rate limiting. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be easy to extend, must include tests, must be memory-efficient, must include type hints. Difficulty: easy. Provide helpful exceptions with actio...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C66086: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m66622.py` and `test_m66622.py`. ```python # m66622.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for caching layer. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be easy to extend, must include tests, must include docstrings, must avoid global state. Difficulty: easy. Guarantee deterministic output ordering. Deliv...
WithinUsAI/python_GOD_coder_100k
Task type: schema_evolution_contracts Scenario: document indexing pipeline Domain focus: real-time scheduling Primary language: sql Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_iwdryiqm Constraints: explicit contracts and invariants, include failure modes and recovery, include security...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C84360: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m75720.py` and `test_m75720.py`. ```python # m75720.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: feature-flag evaluation Domain focus: network protocols Primary language: sql Difficulty: expert Scale/SLO: multi-region active-active Component: component_nnvwvate Constraints: include deterministic replay plan, include verification strategy, assume adversarial inputs; validate eve...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor a Python module used for metrics aggregation into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be streaming-friendly, must be easy to extend, must handle Windows paths safely. Difficulty: expert. Guarantee determin...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f89753(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 `m55679.py` and `test_m55679.py`. *** Begin Patch *** Update File: m55679.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: eia6rltiab.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of stream processing for scenario: inventory & ordering. Primary language: bash. Difficulty: medium. Constraints: include invariants and failure modes, avoid undefined behavior and data races, document performance characteristics, design for backward compatibility and migrati...
WithinUsAI/Elite_GOD_Coder_100k
Create a comprehensive test plan and automated tests for caching in a healthtech product. Target platform: CI (GitHub Actions). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be observable (logs/metrics/traces), must include documentation/comments, must include cl...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: document indexing. Primary language: rust. Difficulty: medium. Constraints: include tests or verification strategy, provide rollout and rollback guidance, document performance characteristics, avoid undefined behavior and data races, desig...
WithinUsAI/Elite_GOD_Coder_100k
Optimize a Python workflow for validation. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must handle Windows paths safely, must provide clear error messages. Difficulty: expert. Handle empty inputs and malformed records gracefully. Deliverable: production-ready reference...
WithinUsAI/python_GOD_coder_100k
Write a thorough test suite for a Python component used for rate limiting. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must avoid global state, must include type hints. Difficulty: easy. Include a small CLI example if relevant. Deliverable: production-ready reference solution....
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: STL Domain: model serving gateway Logic challenge: build reproducibility failure Task type: transaction_integrity_fix Difficu...
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: pnaka...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f91656(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f91656(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C83814: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m75678.py` and `test_m75678.py`. ```python # m75678.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: Java Framework/tooling: Gradle Domain: job scheduler Logic challenge: websocket reconnect storm Task type: edge_case_hardening Difficulty: medium R...
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: e5ifxo4.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of compilers for scenario: analytics pipeline. Primary language: typescript. Difficulty: medium. Constraints: make the interface contract explicit, design for backward compatibility and migrations, provide rollout and rollback guidance, avoid undefined behavior and data races...
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: ewn_76pg.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f92782(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 `m41826.py` and `test_m41826.py`. *** Begin Patch *** Update File: m41826.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Perform a code review for a calendar/scheduling PR implementing caching. Target platform: mobile (Android Kotlin). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must avoid global state, must be production-ready, must include clear error handling, must be secure-by...
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: Python Framework/tooling: SQLAlchemy Domain: payments platform Logic challenge: memory leak in AST cache Task type: multi_file_migration_repair 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: System domain: observability collector Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Cross-layer incident: gRPC retry storm Task type: obser...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix a subtle bug in a Python module used for data modeling. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be memory-efficient, stdlib-only, must avoid global state, must be streaming-friendly. Difficulty: medium. Ensure the API is testable via dependency i...
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: model serving gateway Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Software delivery problem: broken pagination curs...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: compiler_backend_ir Scenario: streaming ETL Domain focus: network protocols Primary language: cpp Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_kqtvjdjt Constraints: include test vectors and fuzz strategy, include security threat model (defensive only), include performance model and li...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: static_analyzer Scenario: graph query service Domain focus: data lineage & governance Primary language: bash Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_hzamatoh Constraints: include failure modes and recovery, include backward compatibility and migration plan, include verification stra...
WithinUsAI/Omega_Genesis_Coder_100k
Fix a subtle bug in a Python module used for file synchronization. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include tests, must provide clear error messages. Difficulty: expert. Support both Windows and POSIX paths correctly. Deliverable: corrected c...
WithinUsAI/python_GOD_coder_100k
Write a thorough test suite for a Python component used for validation. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must avoid global state, must be memory-efficient, stdlib-only. Difficulty: hard. Include a small CLI example if relevant. Deliverable: API + reference implement...
WithinUsAI/python_GOD_coder_100k
Fix a subtle bug in a Python module used for file synchronization. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include tests, must include docstrings, must be streaming-friendly. Difficulty: medium. Guarantee deterministic output ordering. Deliverable: ...
WithinUsAI/python_GOD_coder_100k
Refactor a Python module used for metrics aggregation into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must handle Windows paths safely, must be easy to extend. Difficulty: medium. Avoid quadratic behavior on large inputs. Del...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C++ Framework/tooling: STL Domain: model serving gateway Logic challenge: log redaction failure Task type: distributed_debug Difficulty: hard Retur...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to real-time notifications in a calendar/scheduling service. Target platform: infra (Terraform). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include documentation/comments, must include type hints where applicable, must be s...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f17562(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 `m45366.py` and `test_m45366.py`. *** Begin Patch *** Update File: m45366.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f68809(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m52687.py` with types and O(n) average. ```python # m52687.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: edge sync Domain focus: network protocols Primary language: go Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_cywwbgek Constraints: include verification strategy, include failure modes and recovery, include backward compatibility and migration p...
WithinUsAI/Omega_Genesis_Coder_100k
Design and implement an algorithm for configuration loading. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be streaming-friendly, must handle Windows paths safely, stdlib-only. Difficulty: easy. Ensure the API is testable via dependency injection....
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: wpugc...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f70289(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f70289(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: 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: time-series metrics. Primary language: python. Difficulty: medium. Constraints: document performance characteristics, provide rollout and rollback guidance, design for backward compatibility and migrations. Component: componen...
WithinUsAI/Elite_GOD_Coder_100k
Refactor an existing codebase in customer support to support offline-first sync cleanly. Target platform: ML (scikit + batch). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be observable (logs/metrics/traces), must include type hints where applicable, must includ...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: aah4orw.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of sre/observability for scenario: time-series metrics. Primary language: rust. Difficulty: medium. Constraints: design for backward compatibility and migrations, document performance characteristics, avoid undefined behavior and data races, include invariants and failure mod...
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: l_2vxg7.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
Task type: verification_properties Scenario: payment ledger Domain focus: compiler toolchains Primary language: bash Difficulty: hard Scale/SLO: multi-region active-active Component: component_hxojhjkp Constraints: include failure modes and recovery, explicit contracts and invariants, include performance model and limi...
WithinUsAI/Omega_Genesis_Coder_100k
Implement an ML engineering workflow for social media focusing on A/B experimentation. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must include tests, must include type hints where applicable, must be observable ...
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
Implement idempotent payments for a document processing product. Target platform: ML (scikit + batch). Requirements: provide production-ready code, configuration, and tests. Constraints: must include documentation/comments, must be production-ready, must include clear error handling, must avoid global state, must be ob...
WithinUsAI/GOD_Coder_100k
Task type: tla_state_machine Scenario: feature-flag evaluation Domain focus: secure enclaves (defensive) Primary language: tla+ Difficulty: hard Scale/SLO: 100k RPS peak Component: component_morbengu Constraints: include verification strategy, assume adversarial inputs; validate everything, include failure modes and re...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f22896(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m46128.py` with types and O(n) average. ```python # m46128.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
Task type: compiler_frontend Scenario: time-series metrics store Domain focus: compiler toolchains Primary language: go Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_dhlpmbqq Constraints: include test vectors and fuzz strategy, include deterministic replay plan, include verification strategy, assume a...
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: bnjsm...
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: Rust, Axum, SQLx, Redis, Tokio, Docker Language: C# Dependency challenge: websocket reconnect storm Task type: migration_patch Difficulty: medi...
WithinUsAI/GOD_Coder_Complete_DataSet