text
stringlengths
355
3.69k
source
stringclasses
6 values
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C71645: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m51665.py` and `test_m51665.py`. ```python # m51665.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: System domain: reporting engine Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: invalid rollback sequence Task type: schema_co...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Rust Framework/tooling: Serde Domain: developer platform Logic challenge: dead-letter queue replay Task type: multi_service_security_patch Difficult...
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: Python Framework/tooling: pandas Domain: data pipeline Logic challenge: partial checkpoint corruption Task type: distributed_debug 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: Optimize while preserving behavior. File: dk_mv...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f40704(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f40704(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f82464(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m40352.py` with types and O(n) average. ```python # m40352.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to rate limiting in a logistics service. Target platform: backend (Node.js). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be easy to extend, must include tests, must be production-ready, must avoid global state, must be secur...
WithinUsAI/GOD_Coder_100k
Write pytest tests for `f69935`. ```python def f69935(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m95705 import f69935 def test_known(): assert f69935(3,4) == 25 def test_zero(): assert f69935(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C82070: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m29390.py` and `test_m29390.py`. ```python # m29390.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of high-performance services for scenario: multi-tenant SaaS. Primary language: python. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, provide rollout and rollback guidance. Component: component_codqkju. ...
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: zkxrwr2z.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: g_mz2ngh4mer.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for report generation 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, must include tests. Difficulty: medium. Avoid quadratic behavior on ...
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: lui79...
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
Build an elite-grade solution in the domain of edge/IoT for scenario: multi-tenant SaaS. Primary language: typescript. Difficulty: expert. Constraints: make the interface contract explicit, include invariants and failure modes, design for backward compatibility and migrations, avoid undefined behavior and data races. C...
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: Go Framework/tooling: testify Domain: auth service Logic challenge: websocket reconnect storm Task type: parser_validation_logic Difficulty: hard 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: bbujxwv98.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Implement offline-first sync for a e-commerce product. Target platform: infra (Terraform). Requirements: provide production-ready code, configuration, and tests. Constraints: must include clear error handling, must include tests, must be production-ready. Difficulty: medium. Assume mobile clients are occasionally offli...
WithinUsAI/GOD_Coder_100k
Task type: gpu_serving_pipeline Scenario: streaming ETL Domain focus: cryptography engineering (defensive) Primary language: typescript Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_nqfmwado Constraints: include verification strategy, include performance model and limits, include failure modes...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f48690(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m92670.py` with types and O(n) average. ```python # m92670.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: job scheduler Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Software delivery problem: CI failures after dependency...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C59614: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m12278.py` and `test_m12278.py`. ```python # m12278.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f78648`. ```python def f78648(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m82664 import f78648 def test_known(): assert f78648(3,4) == 25 def test_zero(): assert f78648(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for report generation. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include docstrings, must avoid global state, must provide clear error messages, must be memory-efficient. Difficulty: easy. Ensure the API is testable...
WithinUsAI/python_GOD_coder_100k
Task type: lockfree_primitive Scenario: multi-tenant event ingestion Domain focus: consensus & replication Primary language: cpp Difficulty: expert Scale/SLO: p99 < 50ms Component: component_tdrorlna Constraints: include verification strategy, include security threat model (defensive only), include deterministic replay...
WithinUsAI/Omega_Genesis_Coder_100k
Improve typing and robustness of a Python module used for time series. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: stdlib-only, must include docstrings. Difficulty: easy. Support both Windows and POSIX paths correctly. Deliverable: production-ready refere...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f35080`. ```python def f35080(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m76440 import f35080 def test_known(): assert f35080(3,4) == 25 def test_zero(): assert f35080(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: m0p0e2.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for task scheduling. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must handle Windows paths safely, must be streaming-friendly, must include tests, stdlib-only. Difficulty: easy. Support both Windows and POSIX paths cor...
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: Rust Framework/tooling: Axum Domain: team dashboard Logic challenge: transaction boundary bug Task type: distributed_debug Difficulty: hard Return ...
WithinUsAI/GOD_Coder_Complete_DataSet
Design a production system for calendar/scheduling supporting rate limiting. Target platform: data (SQL + Python). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include clear error handling, must include tests, must be easy to extend. Difficulty: expert. Assume strict ...
WithinUsAI/GOD_Coder_100k
Task type: kernel_syscall_design Scenario: time-series metrics store Domain focus: fault injection & chaos engineering Primary language: rust Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_aolelmpd Constraints: include deterministic replay plan, include test vectors and fuzz strategy, include security ...
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: TypeScript Framework/tooling: Next.js Domain: notification service Logic challenge: transaction boundary bug Task type: security_logic_interaction D...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: notification service Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Software delivery problem: partial checkpoint corr...
WithinUsAI/GOD_Coder_Complete_DataSet
Design CI/CD for a logistics service delivering event-driven workflows. Target platform: backend (Python FastAPI). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be production-ready, must include type hints where applicable, must include tests, must include documentati...
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: zte8918ztwf0.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for CLI tooling. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must provide clear error messages, must avoid global state, must be memory-efficient, stdlib-only. Difficulty: hard. Guarantee deterministic output ordering. De...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: 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: Optimize while preserving behavior. File: vkygm...
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: team dashboard Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Software delivery problem: partial checkpoint corrupti...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: search service Primary language: TypeScript Framework/tooling: Vitest Reported problem: monorepo toolchain skew Task type: repo_issue_patch...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: query_optimizer Scenario: real-time notification hub Domain focus: cryptography engineering (defensive) Primary language: rust Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_klhxcblo Constraints: include failure modes and recovery, include backward compatibility and migration plan, a...
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: YAML Framework/tooling: Docker Compose Domain: feature flag service Logic challenge: invalid rollback sequence Task type: multi_service_security_pat...
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: uosu1xr.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a social media service delivering analytics pipeline. Target platform: data (SQL + Python). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include documentation/comments, must include clear error handling, must be secure-by-default, must include type h...
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
Task type: static_analyzer Scenario: job scheduler Domain focus: secure enclaves (defensive) Primary language: go Difficulty: expert Scale/SLO: 99.99% availability Component: component_xsjmizmz Constraints: include failure modes and recovery, include security threat model (defensive only), include performance model and...
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: ct3rnsgl.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of high-performance services for scenario: edge sync. Primary language: typescript. Difficulty: hard. Constraints: document performance characteristics, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize. Component: component_ohrrzzz. Assume...
WithinUsAI/Elite_GOD_Coder_100k
Task type: mechanized_spec Scenario: document indexing pipeline Domain focus: data lineage & governance Primary language: lean Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_lkttkmpv Constraints: include performance model and limits, include security threat model (defensive only), avoid data races an...
WithinUsAI/Omega_Genesis_Coder_100k
Debug and fix a subtle production bug related to rate limiting in a fintech service. Target platform: mobile (Android Kotlin). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be production-ready, must include documentation/comments, must avoid global state, must include cle...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f49584(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m78512.py` with types and O(n) average. ```python # m78512.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 f43659(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 `m06237.py` and `test_m06237.py`. *** Begin Patch *** Update File: m06237.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: z_j59hkyvms5.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for event-driven workflows in a developer tooling product. Target platform: ML (scikit + batch). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include tests, must include documentation/comments, must be perform...
WithinUsAI/GOD_Coder_100k
Task type: lockfree_primitive Scenario: streaming ETL Domain focus: kernel primitives Primary language: rust Difficulty: hard Scale/SLO: 1M msgs/min Component: component_hrtjvymj Constraints: explicit contracts and invariants, include security threat model (defensive only), assume adversarial inputs; validate everythin...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: storage_engine Scenario: rate limit gateway Domain focus: formal verification Primary language: rust Difficulty: hard Scale/SLO: 100k RPS peak Component: component_evnmjuat Constraints: include security threat model (defensive only), include deterministic replay plan, include performance model and limits, in...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: sre_incident_sim Scenario: job scheduler Domain focus: fault injection & chaos engineering Primary language: python Difficulty: expert Scale/SLO: multi-region active-active Component: component_psklyryf Constraints: include deterministic replay plan, include performance model and limits, include failure mode...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor a Python module used for file synchronization into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include docstrings, must be streaming-friendly, must be memory-efficient, must handle Windows paths safely. Difficulty...
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 operating systems for scenario: analytics pipeline. Primary language: rust. Difficulty: medium. Constraints: include tests or verification strategy, document performance characteristics, design for backward compatibility and migrations, assume untrusted inputs; validate an...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: multi-tenant SaaS. Primary language: typescript. Difficulty: hard. Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, include invariants and failure modes. C...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: document indexing. Primary language: bash. Difficulty: medium. Constraints: include tests or verification strategy, include invariants and failure modes, document performance characteristics. Component: component_ilvmfug. Assume compliance r...
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: Repository domain: document processing API Primary language: Python Framework/tooling: SQLAlchemy Reported problem: broken pagination cursor Task type: featur...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: query_optimizer Scenario: time-series metrics store Domain focus: kernel primitives Primary language: python Difficulty: expert Scale/SLO: 1M msgs/min Component: component_scvkugje Constraints: include test vectors and fuzz strategy, include deterministic replay plan, include performance model and limits, in...
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: c9mjcf.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f75665`. ```python def f75665(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m25095 import f75665 def test_known(): assert f75665(3,4) == 25 def test_zero(): assert f75665(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: smt_constraint_model Scenario: edge sync Domain focus: data lineage & governance Primary language: python Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_acknektn Constraints: include backward compatibility and migration plan, include test vectors and fuzz strategy, include deterministic re...
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: model serving gateway Primary language: SQL Framework/tooling: MySQL Reported problem: unsafe deserialization Task type: security_patch Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f06053(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 `m86579.py` and `test_m86579.py`. *** Begin Patch *** Update File: m86579.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of databases for scenario: multi-tenant SaaS. Primary language: typescript. Difficulty: medium. Constraints: include invariants and failure modes, include tests or verification strategy, design for backward compatibility and migrations, make the interface contract explicit. C...
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: YAML Framework/tooling: GitHub Actions Domain: document processing API Logic challenge: streaming timeout handling Task type: parser_validation_logi...
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
Write pytest tests for `f77795`. ```python def f77795(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m39685 import f77795 def test_known(): assert f77795(3,4) == 25 def test_zero(): assert f77795(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: schema_evolution_contracts Scenario: rate limit gateway Domain focus: consensus & replication Primary language: bash Difficulty: expert Scale/SLO: p99 < 150ms Component: component_lhirckkd Constraints: include performance model and limits, assume adversarial inputs; validate everything, include verification ...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: document indexing. Primary language: rust. Difficulty: medium. Constraints: design for backward compatibility and migrations, make the interface contract explicit, include invariants and failure modes, avoid undefined behavior and data races. Comp...
WithinUsAI/Elite_GOD_Coder_100k
Task type: lockfree_primitive Scenario: rate limit gateway Domain focus: constraint solving Primary language: cpp Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_nnspalzh Constraints: avoid data races and undefined behavior, explicit contracts and invariants, include failure modes and recovery, ass...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: job scheduler. Primary language: typescript. Difficulty: hard. Constraints: make the interface contract explicit, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, include invariants and failure mode...
WithinUsAI/Elite_GOD_Coder_100k
Implement a concurrent Python solution for file synchronization. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must handle Windows paths safely, must be easy to extend, must provide clear error messages, must include tests. Difficulty: easy. Provide helpfu...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Implement an ML engineering workflow for gaming focusing on webhooks. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be observable (logs/metrics/traces), must include type hints where applicable, must be easy t...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: auth service Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: build reproducibility f...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f41037(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 `m77291.py` and `test_m77291.py`. *** Begin Patch *** Update File: m77291.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: uizz_...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: event ingestion. Primary language: python. Difficulty: hard. Constraints: include tests or verification strategy, include invariants and failure modes, design for backward compatibility and migrations. Component: component_jzfqtey. Assume ...
WithinUsAI/Elite_GOD_Coder_100k
Refactor a Python module used for validation into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include tests, must include type hints, must include docstrings. Difficulty: expert. Avoid quadratic behavior on large inputs. ...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: payment processing. Primary language: python. Difficulty: hard. Constraints: include invariants and failure modes, include tests or verification strategy, make the interface contract explicit. Component: component_ioeoqmw. Assume 50k RPS and p99 < 25...
WithinUsAI/Elite_GOD_Coder_100k
Write pytest tests for `f41222`. ```python def f41222(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m48746 import f41222 def test_known(): assert f41222(3,4) == 25 def test_zero(): assert f41222(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: Bash Dependency challenge: N+1 query explosion Task type: build_reproducibility_fi...
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: d4hs_5okgbr.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to idempotent payments in a education service. Target platform: web (React + TypeScript). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be production-ready, must include type hints where applicable, must avoid global state. Di...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of stream processing for scenario: time-series metrics. Primary language: go. Difficulty: hard. Constraints: provide rollout and rollback guidance, make the interface contract explicit, include tests or verification strategy, assume untrusted inputs; validate and sanitize, av...
WithinUsAI/Elite_GOD_Coder_100k
Optimize a Python workflow for event dispatching. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must avoid global state, must include tests. Difficulty: medium. Provide helpful exceptions with actionable messages. Deliverable: production-ready reference solution. Strateg...
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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: transaction boundary bu...
WithinUsAI/GOD_Coder_Complete_DataSet
Design CI/CD for a logistics service delivering event-driven workflows. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include tests, must be production-ready, must be performant under load, must include documentation/comments. ...
WithinUsAI/GOD_Coder_100k
Task type: query_optimizer Scenario: streaming ETL Domain focus: fault injection & chaos engineering Primary language: rust Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_uepkhfpn Constraints: explicit contracts and invariants, assume adversarial inputs; validate everything, include performance...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: distributed_algorithm Scenario: payment ledger Domain focus: static analysis Primary language: rust Difficulty: expert+ Scale/SLO: 1M msgs/min Component: component_seayumcv Constraints: explicit contracts and invariants, avoid data races and undefined behavior, include performance model and limits, assume ad...
WithinUsAI/Omega_Genesis_Coder_100k