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: ue06605d.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f47588(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 `m21084.py` and `test_m21084.py`. *** Begin Patch *** Update File: m21084.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: feature flagging. Primary language: sql. Difficulty: hard. Constraints: provide rollout and rollback guidance, document performance characteristics, make the interface contract explicit, include tests or verification strategy. Component: component...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: payment ledger Domain focus: static analysis Primary language: cpp Difficulty: expert Scale/SLO: 1M msgs/min Component: component_skgsmbkj Constraints: explicit contracts and invariants, assume adversarial inputs; validate everything, avoid data races and undefined behavior, inc...
WithinUsAI/Omega_Genesis_Coder_100k
Fix a subtle bug in a Python module used for validation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be streaming-friendly, stdlib-only, must avoid global state, must include type hints. Difficulty: expert. Guarantee deterministic output ordering. Deliv...
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
Task type: storage_engine Scenario: edge sync Domain focus: network protocols Primary language: sql Difficulty: hard Scale/SLO: 100k RPS peak Component: component_tyboqpqx Constraints: include failure modes and recovery, explicit contracts and invariants, 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: repo automation Primary language: Rust Framework/tooling: Tokio Reported problem: multi-tenant access leak Task type: security_patch Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Bash Framework/tooling: curl Domain: repo automation Logic challenge: log redaction failure Task type: performance_bottleneck_patch Difficulty: hard...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f05575(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f05575(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Write secure, defensive Python code for rate limiting. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must include docstrings, must include type hints. Difficulty: medium. Include a small CLI example if relevant. Deliverable: corrected code and verification test...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of high-performance services for scenario: edge sync. Primary language: python. Difficulty: hard. Constraints: make the interface contract explicit, avoid undefined behavior and data races, include invariants and failure modes, design for backward compatibility and migrations...
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: System domain: developer platform Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Cross-layer incident: monorepo toolchain skew Task typ...
WithinUsAI/GOD_Coder_Complete_DataSet
Write pytest tests for `f59237`. ```python def f59237(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m79891 import f59237 def test_known(): assert f59237(3,4) == 25 def test_zero(): assert f59237(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: ml_system_design Scenario: payment ledger Domain focus: stream processing Primary language: bash Difficulty: hard Scale/SLO: p99 < 150ms Component: component_nqaiwawv Constraints: include failure modes and recovery, include verification strategy, explicit contracts and invariants, include test vectors and fu...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: storage_engine Scenario: rate limit gateway Domain focus: observability platforms Primary language: go Difficulty: hard Scale/SLO: 99.99% availability Component: component_fezusixh Constraints: include performance model and limits, include verification strategy, include deterministic replay plan, assume adve...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f71356(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f71356(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: gpu_serving_pipeline Scenario: payment ledger Domain focus: large-scale ML systems Primary language: typescript Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_vhxqwwxp Constraints: include deterministic replay plan, include security threat model (defensive only), explicit contracts and inv...
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: vilduqcit8g.py `...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: TypeScript Framework/tooling: Vitest Domain: repo automation Logic challenge: path traversal on downloads Task type: multi_file_migration_repair Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix a subtle bug in a Python module used for ETL pipelines. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include docstrings, must be streaming-friendly, must be memory-efficient, must include type hints. Difficulty: medium. Support both Windows and POSIX ...
WithinUsAI/python_GOD_coder_100k
Optimize a Python workflow for report generation. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must avoid global state, stdlib-only. Difficulty: easy. Provide helpful exceptions with actionable messages. Deliverable: production-ready reference solution. Strategy: - Avoi...
WithinUsAI/python_GOD_coder_100k
Refactor a Python module used for log processing into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be streaming-friendly, must include tests, must avoid global state, must include docstrings. Difficulty: hard. Support both ...
WithinUsAI/python_GOD_coder_100k
Build a data pipeline for a gaming product around caching. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must include tests, must be observable (logs/metrics/traces), must avoid global state, must be secure-by-default, must be production-ready. Dif...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: time-series metrics. Primary language: rust. Difficulty: hard. Constraints: include tests or verification strategy, make the interface contract explicit, assume untrusted inputs; validate and sanitize, document performance characteristics. C...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: analytics pipeline. Primary language: rust. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, make the interface contract explicit. Component: component_tkysetl. Assume com...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f17702(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 `m45386.py` and `test_m45386.py`. *** Begin Patch *** Update File: m45386.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Go Framework/tooling: Gin Domain: developer platform Logic challenge: build reproducibility failure Task type: parser_validation_logic Difficulty: h...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f31314(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m75902.py` with types and O(n) average. ```python # m75902.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 operating systems for scenario: document indexing. Primary language: typescript. Difficulty: medium. Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize. Component: component_u...
WithinUsAI/Elite_GOD_Coder_100k
Design a small, production-grade Python API for event dispatching. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must be easy to extend, must provide clear error messages, must be streaming-friendly, stdlib-only. Difficulty: expert. Avoid quadratic behavior on...
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: Repository domain: benchmark harness Primary language: Go Framework/tooling: gRPC Reported problem: migration ordering failure Task type: repo_issue_patch Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C48919: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m03763.py` and `test_m03763.py`. ```python # m03763.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: search service Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: race condition on worker shutdown Task ...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C76224: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m21248.py` and `test_m21248.py`. ```python # m21248.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: sre_incident_sim Scenario: edge sync Domain focus: real-time scheduling Primary language: rust Difficulty: hard Scale/SLO: 1M msgs/min Component: component_cejwwxmt Constraints: include security threat model (defensive only), include verification strategy, include backward compatibility and migration plan, i...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f67109(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 `m09587.py` and `test_m09587.py`. *** Begin Patch *** Update File: m09587.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Implement idempotent payments for a customer support product. Target platform: data (SQL + Python). Requirements: provide production-ready code, configuration, and tests. Constraints: must be production-ready, must include clear error handling, must be performant under load, must include tests, must avoid global state....
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C45705: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m34285.py` and `test_m34285.py`. ```python # m34285.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: team dashboard Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: timezone bug in reporting Task type: schema_cont...
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: artifact registry Primary language: SQL Framework/tooling: MySQL Reported problem: N+1 query explosion Task type: security_patch 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: Fix a bug and add tests. File: iz3ps5xqf.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: feature flagging. Primary language: python. Difficulty: hard. Constraints: document performance characteristics, avoid undefined behavior and data races, provide rollout and rollback guidance, make the interface contract explicit, design for...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C63035: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m58695.py` and `test_m58695.py`. ```python # m58695.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
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: Pydantic Domain: payments platform Logic challenge: migration ordering failure Task type: misleading_symptom_debug 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: g_1jb...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f17992(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 `m16856.py` and `test_m16856.py`. *** Begin Patch *** Update File: m16856.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f22754(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m31822.py` with types and O(n) average. ```python # m31822.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Rust Framework/tooling: cargo test Domain: artifact registry Logic challenge: transaction boundary bug Task type: transaction_integrity_fix Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: storage_engine Scenario: feature-flag evaluation Domain focus: large-scale ML systems Primary language: bash Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_dalkxzln Constraints: include failure modes and recovery, include security threat model (defensive only), include verification strategy,...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: benchmark harness Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: N+1 query explosion Task type: prd_to_p...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: v4wnl...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f59590(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 `m51370.py` and `test_m51370.py`. *** Begin Patch *** Update File: m51370.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: chat messaging. Primary language: python. Difficulty: hard. Constraints: design for backward compatibility and migrations, include invariants and failure modes, assume untrusted inputs; validate and sanitize. Component: component_rdicuwd. Assume part...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: edge sync. Primary language: python. Difficulty: expert. Constraints: make the interface contract explicit, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include tests or verification strategy. Component: ...
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: benchmark harness Logic challenge: JWT refresh token rotation Task type: algorithmic_correctness Diff...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a mobile feature for social media: file uploads. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must be performant under load, must be secure-by-default, must be production-ready, must be easy to extend, must include type hints where applicable. Diffic...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C78350: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m82950.py` and `test_m82950.py`. ```python # m82950.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C60614: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m89278.py` and `test_m89278.py`. ```python # m89278.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for ETL pipelines. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be streaming-friendly, must be easy to extend. Difficulty: medium. Ensure the API is testable via dependency injection. Deliverable: production-rea...
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: Repository domain: auth service Primary language: C++ Framework/tooling: CMake Reported problem: idempotent retry design Task type: repo_issue_patch Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to multi-tenant isolation in a content moderation service. Target platform: ML (PyTorch + serving). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be observable (logs/metrics/traces), must include documentation/comments, must i...
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: xUnit Domain: document processing API Logic challenge: transaction boundary bug Task type: multi_service_security_patch Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a web feature for content moderation: real-time notifications. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must include clear error handling, must avoid global state, must be secure-by-default. Difficulty: expert. Assume GDPR-style deletion ...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f49509(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m92787.py` with types and O(n) average. ```python # m92787.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 f50276(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 `m21468.py` and `test_m21468.py`. *** Begin Patch *** Update File: m21468.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f97821(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m85403.py` with types and O(n) average. ```python # m85403.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f41705(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f41705(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f08213(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f08213(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f82771`. ```python def f82771(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m83253 import f82771 def test_known(): assert f82771(3,4) == 25 def test_zero(): assert f82771(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of realtime systems for scenario: event ingestion. Primary language: python. Difficulty: expert. Constraints: make the interface contract explicit, design for backward compatibility and migrations, document performance characteristics, provide rollout and rollback guidance. C...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f60435(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 `m37205.py` and `test_m37205.py`. *** Begin Patch *** Update File: m37205.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to webhooks in a social media service. Target platform: mobile (iOS Swift). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be production-ready, must be secure-by-default, must include type hints where applicable. Difficulty: ex...
WithinUsAI/GOD_Coder_100k
Task type: distributed_algorithm Scenario: streaming ETL Domain focus: static analysis Primary language: rust Difficulty: expert Scale/SLO: 50 TB/day ingestion Component: component_sygudoeh Constraints: assume adversarial inputs; validate everything, include verification strategy, explicit contracts and invariants, inc...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: model serving gateway Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: schema d...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a mobile feature for fraud detection: A/B experimentation. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must be easy to extend, must avoid global state, must be secure-by-default, must be observable (logs/metrics/traces). Difficulty: easy. Assume mob...
WithinUsAI/GOD_Coder_100k
Task type: ml_system_design Scenario: multi-tenant event ingestion Domain focus: kernel primitives Primary language: go Difficulty: expert Scale/SLO: p99 < 50ms Component: component_vmiangkb Constraints: include performance model and limits, include backward compatibility and migration plan, include security threat mod...
WithinUsAI/Omega_Genesis_Coder_100k
Improve typing and robustness of a Python module used for metrics aggregation. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must be streaming-friendly, must be memory-efficient, must include docstrings, must be easy to extend. Difficulty: medium. Avoid quad...
WithinUsAI/python_GOD_coder_100k
Task type: distributed_algorithm Scenario: document indexing pipeline Domain focus: static analysis Primary language: bash Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_swkmvamp Constraints: include failure modes and recovery, include performance model and limits, include verification strategy, incl...
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: developer platform Primary language: C# Framework/tooling: ASP.NET Core Reported problem: stale cache invalidation Task type: performance_p...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f20675(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m31525.py` with types and O(n) average. ```python # m31525.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: verification_properties Scenario: multi-tenant event ingestion Domain focus: data lineage & governance Primary language: python Difficulty: hard Scale/SLO: p99 < 50ms Component: component_tzqqdiwj Constraints: explicit contracts and invariants, include test vectors and fuzz strategy, include performance mode...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: event ingestion. Primary language: rust. Difficulty: hard. Constraints: provide rollout and rollback guidance, include invariants and failure modes, assume untrusted inputs; validate and sanitize, include tests or verification strategy, desig...
WithinUsAI/Elite_GOD_Coder_100k
Design CI/CD for a enterprise SaaS service delivering idempotent payments. Target platform: backend (Go). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include clear error handling, must be secure-by-default, must be observable (logs/metrics/traces), must be productio...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of databases for scenario: time-series metrics. Primary language: typescript. Difficulty: expert. Constraints: include tests or verification strategy, make the interface contract explicit, document performance characteristics. Component: component_nrlicdq. Assume partial netw...
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: Project stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Language: TypeScript Dependency challenge: memory leak in AST cache Task type: cve_dep...
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: Java Dependency challenge: transaction boundary bug Task type: container_runtime_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: Fix a bug and add tests. File: e642c9v9uwy.py `...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: job scheduler Domain focus: constraint solving Primary language: typescript Difficulty: hard Scale/SLO: 99.99% availability Component: component_tdkaxnzj Constraints: include failure modes and recovery, avoid data races and undefined behavior, include security threat model (de...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C74521: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m21117.py` and `test_m21117.py`. ```python # m21117.py from __future__ import annotations from datacla...
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 provide clear error messages, must include tests. Difficulty: easy. Provide helpful exceptions with actionable messages. Deliverable: production-re...
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
Add a clear docstring and type hints to this function: ```python def f56211(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f56211(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: Language: SQL Framework/tooling: DuckDB Domain: job scheduler Logic challenge: multi-tenant access leak Task type: state_machine_patch Difficulty: hard Retur...
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: yyojrf.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f13302`. ```python def f13302(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m16186 import f13302 def test_known(): assert f13302(3,4) == 25 def test_zero(): assert f13302(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: Repository domain: benchmark harness Primary language: Java Framework/tooling: Maven Reported problem: mismatched API contract Task type: api_endpoint_work Di...
WithinUsAI/GOD_Coder_Complete_DataSet