text
stringlengths
355
3.69k
source
stringclasses
6 values
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f21222(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m88746.py` with types and O(n) average. ```python # m88746.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 f10208(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 `m15744.py` and `test_m15744.py`. *** Begin Patch *** Update File: m15744.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: Rust Framework/tooling: SQLx Domain: repo automation Logic challenge: N+1 query explosion Task type: distributed_debug Difficulty: hard Return a ri...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: network_protocol Scenario: edge sync Domain focus: secure enclaves (defensive) Primary language: bash Difficulty: expert Scale/SLO: 99.99% availability Component: component_vczetwwm Constraints: include security threat model (defensive only), include backward compatibility and migration plan, include failure...
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: zmdue2sin5sc.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a content moderation product around webhooks. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must include type hints where applicable, must be easy to extend, must be observable (logs/metrics/traces), must be performant und...
WithinUsAI/GOD_Coder_100k
Perform a code review for a customer support PR implementing background jobs. Target platform: ML (scikit + batch). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must be secure-by-default, must be production-ready, must be performant under load, must include tests...
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: Rust Framework/tooling: Tokio Domain: payments platform Logic challenge: websocket reconnect storm Task type: concurrency_fix Difficulty: hard Retu...
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
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 be easy to extend, must include type hints, must handle Windows paths safely. Difficulty: easy. Ensure the API is testable via d...
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: Fix a bug and add tests. File: w8ee6ie4bpx.py `...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: document processing API Primary language: JavaScript Framework/tooling: Express Reported problem: transaction boundary bug Task type: api_e...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: query_optimizer Scenario: multi-tenant event ingestion Domain focus: formal verification Primary language: go Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_axspnelt Constraints: include backward compatibility and migration plan, include failure modes and recovery, include verificati...
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: f494hs2kecb.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: notification service Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Software delivery problem: memory leak in AST ca...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C21925: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m63225.py` and `test_m63225.py`. ```python # m63225.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: time-series metrics. Primary language: rust. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, document performance characteristics, make the interface contract explicit. Component: component_fbhgkxh. Assume cold-start ...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f31703(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 `m04529.py` and `test_m04529.py`. *** Begin Patch *** Update File: m04529.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: event ingestion. Primary language: rust. Difficulty: expert. Constraints: avoid undefined behavior and data races, document performance characteristics, provide rollout and rollback guidance, include tests or verification strategy. Component: compone...
WithinUsAI/Elite_GOD_Coder_100k
Fix a subtle bug in a Python module used for report generation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include docstrings, must be streaming-friendly, must provide clear error messages, must be easy to extend. Difficulty: hard. Provide helpful excep...
WithinUsAI/python_GOD_coder_100k
Implement A/B experimentation for a developer tooling product. Target platform: data (SQL + Python). Requirements: provide production-ready code, configuration, and tests. Constraints: must be secure-by-default, must include type hints where applicable, must include tests, must be easy to extend. Difficulty: easy. Assu...
WithinUsAI/GOD_Coder_100k
Write a thorough test suite for a Python component used for metrics aggregation. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be streaming-friendly, must be memory-efficient. Difficulty: expert. Include a small CLI example if relevant. Deliverable: corrected code and verif...
WithinUsAI/python_GOD_coder_100k
Add observability for file uploads in a document processing system. Target platform: mobile (iOS Swift). Requirements: structured logs, metrics, tracing, dashboards, and alerting rules. Constraints: must be performant under load, must be secure-by-default, must include documentation/comments. Difficulty: hard. Assume s...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: multi-tenant SaaS. Primary language: go. Difficulty: expert. Constraints: document performance characteristics, design for backward compatibility and migrations, include invariants and failure modes. Component: component_iutkrqk. Assume partial netwo...
WithinUsAI/Elite_GOD_Coder_100k
Task type: sre_incident_sim Scenario: streaming ETL Domain focus: high-frequency trading systems (safe engineering) Primary language: bash Difficulty: hard Scale/SLO: 10k RPS peak Component: component_rjairnkc Constraints: include performance model and limits, include security threat model (defensive only), include tes...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C53653: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m50281.py` and `test_m50281.py`. ```python # m50281.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f87525(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f87525(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of compilers for scenario: chat messaging. Primary language: go. Difficulty: hard. Constraints: include tests or verification strategy, include invariants and failure modes, provide rollout and rollback guidance, design for backward compatibility and migrations. Component: co...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f33603(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 `m76229.py` and `test_m76229.py`. *** Begin Patch *** Update File: m76229.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: YAML Framework/tooling: Helm Domain: feature flag service Logic challenge: multi-tenant access leak Task type: multi_service_security_patch Difficul...
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
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 f93809(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f93809(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a mobile feature for document processing: audit logs. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must include type hints where applicable, must be production-ready, must include tests. Difficulty: medium. Assume PII must be protected. Output: prod...
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: Celery Domain: repo automation Logic challenge: unsafe deserialization Task type: security_logic_interaction Difficulty: h...
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: Java Framework/tooling: Maven Domain: repo automation Logic challenge: mismatched API contract Task type: state_machine_patch Difficulty: hard Retu...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement webhooks for a education product. Target platform: mobile (Android Kotlin). Requirements: provide production-ready code, configuration, and tests. Constraints: must include clear error handling, must be performant under load, must be production-ready, must include type hints where applicable, must include tes...
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
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Node.js Domain: document processing API Logic challenge: JWT refresh token rotation Task type: cross_stack_outage_fix ...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor a Python module used for telemetry ingestion into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be streaming-friendly, stdlib-only, must handle Windows paths safely, must include tests. Difficulty: expert. Handle em...
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
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: w6gutl09v.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: z2whpyfxni5r.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f62528(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 `m37504.py` and `test_m37504.py`. *** Begin Patch *** Update File: m37504.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for analytics pipeline in a logistics product. Target platform: CI (GitHub Actions). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be production-ready, must be performant under load, must include documentation/...
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: g90rwucdol.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: tj3uj...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of ml systems for scenario: job scheduler. Primary language: typescript. Difficulty: hard. Constraints: document performance characteristics, design for backward compatibility and migrations, avoid undefined behavior and data races, include invariants and failure modes. Compo...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: edge sync Domain focus: secure enclaves (defensive) Primary language: cpp Difficulty: hard Scale/SLO: 10k RPS peak Component: component_rvcnajus Constraints: include security threat model (defensive only), include deterministic replay plan, include verification strategy, assume ...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: team dashboard Stack: Rust, Axum, SQLx, Redis, Tokio, Docker Cross-layer incident: websocket reconnect storm Task type: deploy_runtime_patch Di...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: static_analyzer Scenario: feature-flag evaluation Domain focus: network protocols Primary language: sql Difficulty: hard Scale/SLO: multi-region active-active Component: component_xsserxwj Constraints: explicit contracts and invariants, include backward compatibility and migration plan, avoid data races and ...
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: Python Framework/tooling: Celery Domain: benchmark harness Logic challenge: websocket reconnect storm Task type: multi_service_security_patch Diffic...
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: lvykr9tfhsc.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f08244(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 `m86892.py` and `test_m86892.py`. *** Begin Patch *** Update File: m86892.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
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Rust Framework/tooling: Tokio Domain: job scheduler Logic challenge: slow cold start Task type: parser_validation_logic Difficulty: medium Return a...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix a subtle bug in a Python module used for configuration loading. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include docstrings, must be easy to extend. 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: 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: System domain: document processing API Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: migration ordering failure Task type...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f77132(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m53876.py` with types and O(n) average. ```python # m53876.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: System domain: notification service Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: log redaction failure Task type: deploy_runtime...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: formal_proof_sketch Scenario: time-series metrics store Domain focus: network protocols Primary language: python Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_dohspmis Constraints: explicit contracts and invariants, include backward compatibility and migration plan, include verificatio...
WithinUsAI/Omega_Genesis_Coder_100k
Write pytest tests for `f25049`. ```python def f25049(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m75007 import f25049 def test_known(): assert f25049(3,4) == 25 def test_zero(): assert f25049(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f53084(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 `m79012.py` and `test_m79012.py`. *** Begin Patch *** Update File: m79012.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: Project stack: Airflow, dbt, DuckDB, MinIO, pytest Language: TypeScript Dependency challenge: streaming timeout handling Task type: build_reproducibility_fix ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: query_optimizer Scenario: document indexing pipeline Domain focus: static analysis Primary language: typescript Difficulty: expert Scale/SLO: 10k RPS peak Component: component_dsgrxwgc Constraints: include verification strategy, include security threat model (defensive only), include deterministic replay pla...
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: qsb4_zy2.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for ETL pipelines. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be memory-efficient, must be streaming-friendly, must avoid global state. Difficulty: expert. Support both Windows and POSIX paths correctly. Deliverable...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f49255`. ```python def f49255(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m78465 import f49255 def test_known(): assert f49255(3,4) == 25 def test_zero(): assert f49255(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: TypeScript Dependency challenge: websocket reconnect storm Task type: lockfile_rep...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a small, production-ready Python package for task scheduling. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must include docstrings, must include type hints. Difficulty: expert. Avoid quadratic behavior on large inputs. Deliverable: production-ready refer...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: time-series metrics. Primary language: python. Difficulty: medium. Constraints: provide rollout and rollback guidance, include tests or verification strategy, assume untrusted inputs; validate and sanitize. Component: component_swydpkd. Assu...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f01846(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 `m85978.py` and `test_m85978.py`. *** Begin Patch *** Update File: m85978.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for configuration loading into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be streaming-friendly, must provide clear error messages, stdlib-only, must be easy to extend. Difficulty: hard. Guar...
WithinUsAI/python_GOD_coder_100k
Improve typing and robustness of a Python module used for validation. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: stdlib-only, must include type hints, must provide clear error messages. Difficulty: easy. Provide helpful exceptions with actionable messages...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f84797(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 `m54971.py` and `test_m54971.py`. *** Begin Patch *** Update File: m54971.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f10332(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 `m01476.py` and `test_m01476.py`. *** Begin Patch *** Update File: m01476.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: YAML Framework/tooling: Docker Compose Domain: developer platform Logic challenge: migration ordering failure Task type: parser_validation_logic Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: ml_system_design Scenario: rate limit gateway Domain focus: formal verification Primary language: rust Difficulty: expert Scale/SLO: p99 < 150ms Component: component_ednkcfgh Constraints: include backward compatibility and migration plan, include verification strategy, explicit contracts and invariants, incl...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f83442(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 `m26206.py` and `test_m26206.py`. *** Begin Patch *** Update File: m26206.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: iqp1auli.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for event dispatching. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include type hints, must include tests, must provide clear error messages, must be streaming-friendly. Difficulty: hard. Include a small CLI exa...
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: supply_chain_security Scenario: real-time notification hub Domain focus: formal verification Primary language: sql Difficulty: expert Scale/SLO: 1M msgs/min Component: component_wrcflrdg Constraints: include security threat model (defensive only), include failure modes and recovery, include backward compatib...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f83664(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m11952.py` with types and O(n) average. ```python # m11952.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: sre_incident_sim Scenario: multi-tenant event ingestion Domain focus: real-time scheduling Primary language: go Difficulty: expert Scale/SLO: 10k RPS peak Component: component_jbaqqmim Constraints: include backward compatibility and migration plan, include security threat model (defensive only), include perf...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: reporting engine Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Cross-layer incident: S3-compatible upload inconsistency Task type: ob...
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: o53tug84xr.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: qsgbr...
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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Cross-layer incident: migration ordering failure Task type: deploy_runti...
WithinUsAI/GOD_Coder_Complete_DataSet
Perform a code review for a document processing PR implementing analytics pipeline. Target platform: infra (Docker + Kubernetes). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must include documentation/comments, must be secure-by-default, must include clear error...
WithinUsAI/GOD_Coder_100k
Write a thorough test suite for a Python component used for event dispatching. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include tests, must handle Windows paths safely, must be streaming-friendly. Difficulty: hard. Avoid quadratic behavior on large inputs. Deliverable:...
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: mfuml...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f81887(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 `m68841.py` and `test_m68841.py`. *** Begin Patch *** Update File: m68841.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: Project domain: developer platform Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Software delivery problem: mismatched API contract...
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: TypeScript Framework/tooling: React Domain: data pipeline Logic challenge: slow cold start Task type: multi_file_migration_repair Difficulty: hard ...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor an existing codebase in e-commerce to support role-based access control cleanly. Target platform: data (SQL + Python). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be observable (logs/metrics/traces), must include type hints where applicable, must inclu...
WithinUsAI/GOD_Coder_100k