text
stringlengths
355
3.69k
source
stringclasses
6 values
Fix the bug and add pytest tests. ```python def f84156(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 `m26308.py` and `test_m26308.py`. *** Begin Patch *** Update File: m26308.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f54837`. ```python def f54837(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m50691 import f54837 def test_known(): assert f54837(3,4) == 25 def test_zero(): assert f54837(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: izw0bd1x.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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a customer support service delivering analytics pipeline. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include type hints where applicable, must be observable (logs/metrics/traces), must be performant under lo...
WithinUsAI/GOD_Coder_100k
Design and implement an algorithm for caching layer. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include tests, must handle Windows paths safely. Difficulty: easy. Support both Windows and POSIX paths correctly. Deliverable: implementation + te...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of compilers for scenario: document indexing. Primary language: rust. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, make the interface contract explicit, avoid undefined behavior and data races, include tests or verification strategy. Compon...
WithinUsAI/Elite_GOD_Coder_100k
Task type: distributed_algorithm Scenario: payment ledger Domain focus: edge robotics (safe) Primary language: typescript Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_mdtqwxxj Constraints: include security threat model (defensive only), include deterministic replay plan, include backward compati...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: robust_e2e_testing Scenario: payment ledger Domain focus: static analysis Primary language: typescript Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_lfctsqeu Constraints: include verification strategy, avoid data races and undefined behavior, include test vectors and fuzz strategy, ...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for time series. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: stdlib-only, must be easy to extend, must be streaming-friendly, must include docstrings. Difficulty: easy. Provide helpful exceptions with actionable mess...
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: document processing API Primary language: YAML Framework/tooling: GitHub Actions Reported problem: async cancellation bug Task type: securi...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of gpu compute for scenario: time-series metrics. Primary language: rust. Difficulty: hard. Constraints: make the interface contract explicit, document performance characteristics, avoid undefined behavior and data races, include tests or verification strategy. Component: com...
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: payments platform Primary language: JavaScript Framework/tooling: Express Reported problem: rate-limit bypass Task type: api_endpoint_work ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: distributed_algorithm Scenario: rate limit gateway Domain focus: edge robotics (safe) Primary language: python Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_abjvybto Constraints: assume adversarial inputs; validate everything, include backward compatibility and migration plan, include determ...
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: Rust Framework/tooling: Tokio Domain: auth service Logic challenge: websocket reconnect storm Task type: multi_file_migration_repair Difficulty: har...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of distributed systems for scenario: edge sync. Primary language: go. Difficulty: expert. Constraints: make the interface contract explicit, design for backward compatibility and migrations, avoid undefined behavior and data races, document performance characteristics, includ...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: analytics pipeline. Primary language: rust. Difficulty: medium. Constraints: design for backward compatibility and migrations, document performance characteristics, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data rac...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f15321(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 `m87903.py` and `test_m87903.py`. *** Begin Patch *** Update File: m87903.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: l5el4jode7x.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in enterprise SaaS to support offline-first sync cleanly. Target platform: data (SQL + Python). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be production-ready, must include type hints where applicable, must avoid global state. Dif...
WithinUsAI/GOD_Coder_100k
Create a comprehensive test plan and automated tests for idempotent payments in a calendar/scheduling product. Target platform: backend (Python FastAPI). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be production-ready, must be observable (logs/metrics/traces), ...
WithinUsAI/GOD_Coder_100k
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: stdlib-only, must include type hints, must be memory-efficient, must include docstrings. Difficulty: easy. Handle empty inputs and malformed record...
WithinUsAI/python_GOD_coder_100k
Optimize while preserving behavior and order. ```python def f89312(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m55616.py` with types and O(n) average. ```python # m55616.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
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 type hints, must be streaming-friendly. Difficulty: easy. Provide helpful exceptions with actionable messages. Deliverable: corrected code an...
WithinUsAI/python_GOD_coder_100k
Provision infrastructure for a document processing workload providing A/B experimentation. Target platform: infra (Terraform). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must be secure-by-default, must be observable (logs/metrics/traces), must include type hints whe...
WithinUsAI/GOD_Coder_100k
Refactor a Python module used for metrics aggregation into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be easy to extend, must avoid global state, must include tests, must include type hints. Difficulty: hard. Ensure the A...
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: JavaScript Framework/tooling: React Domain: artifact registry Logic challenge: transaction boundary bug Task type: concurrency_fix Difficulty: mediu...
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: baq9i...
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: yaqv7t.py ```pyt...
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: cid_m...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f52433(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f52433(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
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: i_mjxp.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: sdfydbd_.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: kpjv2pvy7.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for task scheduling. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must provide clear error messages, must be streaming-friendly, must include docstrings. Difficulty: medium. Ensure the API is testable via dependency injection. Deliverable: API...
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: 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: event ingestion. Primary language: python. Difficulty: medium. Constraints: avoid undefined behavior and data races, make the interface contract explicit, design for backward compatibility and migrations, provide rollout and rollback guidance. Compon...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of databases for scenario: inventory & ordering. Primary language: python. Difficulty: medium. Constraints: document performance characteristics, provide rollout and rollback guidance, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, in...
WithinUsAI/Elite_GOD_Coder_100k
Write pytest tests for `f79719`. ```python def f79719(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m82817 import f79719 def test_known(): assert f79719(3,4) == 25 def test_zero(): assert f79719(0,0) == 0 def test_property_nonne...
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 include tests, must be easy to extend, stdlib-only. Difficulty: medium. Avoid quadratic behavior on large inputs. 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: Optimize while preserving behavior. File: niip5...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: formal_proof_sketch Scenario: payment ledger Domain focus: static analysis Primary language: go Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_wjeqwuuy Constraints: include security threat model (defensive only), include performance model and limits, include test vectors and fuzz strate...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f67461(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 `m23923.py` and `test_m23923.py`. *** Begin Patch *** Update File: m23923.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f68073`. ```python def f68073(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m95439 import f68073 def test_known(): assert f68073(3,4) == 25 def test_zero(): assert f68073(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f63201(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m94743.py` with types and O(n) average. ```python # m94743.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f91138(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m98734.py` with types and O(n) average. ```python # m98734.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C51624: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m27048.py` and `test_m27048.py`. ```python # m27048.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: mechanized_spec Scenario: real-time notification hub Domain focus: large-scale ML systems Primary language: lean Difficulty: expert Scale/SLO: multi-region active-active Component: component_rwjtzyav Constraints: include deterministic replay plan, include test vectors and fuzz strategy, include performance m...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f91729(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 `m70247.py` and `test_m70247.py`. *** Begin Patch *** Update File: m70247.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C92885: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m07145.py` and `test_m07145.py`. ```python # m07145.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for offline-first sync in a calendar/scheduling product. Target platform: backend (Go). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include documentation/comments, must be performant under load, must be produ...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C13072: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m62544.py` and `test_m62544.py`. ```python # m62544.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: Fix a bug and add tests. File: mieufvn.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: inventory & ordering. Primary language: python. Difficulty: expert. Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, document performance characteristics, provide rollout and rollback guid...
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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: job scheduler Domain focus: zero-downtime migrations Primary language: python Difficulty: expert Scale/SLO: 10k RPS peak Component: component_eprymqab Constraints: include test vectors and fuzz strategy, include security threat model (defensive only), include performance model and l...
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: dm6w3j3ave.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: w333i...
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: Bash Framework/tooling: sed Domain: data pipeline Logic challenge: mismatched API contract Task type: cross_stack_outage_fix Difficulty: expert Ret...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C72978: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m13306.py` and `test_m13306.py`. ```python # m13306.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f30159(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m75737.py` with types and O(n) average. ```python # m75737.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: z83ny...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: feature flagging. Primary language: rust. Difficulty: medium. Constraints: provide rollout and rollback guidance, avoid undefined behavior and data races, design for backward compatibility and migrations. Component: component_ziimdvf. Assume 50k RP...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Node.js Domain: job scheduler Logic challenge: invalid rollback sequence Task type: performance_bottleneck_patch Diffi...
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: Airflow Domain: observability collector Logic challenge: broken pagination cursor Task type: performance_bottleneck_patch ...
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: aw9vfyoc7iv8.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f33021(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f33021(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: Bash Framework/tooling: sed Domain: developer platform Logic challenge: stale cache invalidation Task type: concurrency_fix Difficulty: medium Retu...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f48051(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m78293.py` with types and O(n) average. ```python # m78293.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for role-based access control in a logistics product. Target platform: mobile (iOS Swift). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be observable (logs/metrics/traces), must include clear error handling, m...
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: i9rwmu8k3.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: System domain: document processing API Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Cross-layer incident: schema drift during deployment Task type:...
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: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Language: JavaScript Dependency challenge: log redaction failure Task type: migr...
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 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 easy to extend, stdlib-only. Difficulty: easy. Ensure the API is testable via dependency i...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C61814: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m81678.py` and `test_m81678.py`. ```python # m81678.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: Optimize while preserving behavior. File: s9qb3...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
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 include type hints, must include tests. Difficulty: hard. Handle empty inputs and malformed records gracefully. Deli...
WithinUsAI/python_GOD_coder_100k
Design CI/CD for a education service delivering real-time notifications. Target platform: mobile (Android Kotlin). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must avoid global state, must be observable (logs/metrics/traces), must include documentation/comments. Difficul...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of networking for scenario: analytics pipeline. Primary language: python. Difficulty: medium. Constraints: design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, provide rollout and rollback g...
WithinUsAI/Elite_GOD_Coder_100k
Implement an ML engineering workflow for fintech focusing on multi-tenant isolation. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be easy to extend, must include clear error handling, must be observable (logs...
WithinUsAI/GOD_Coder_100k
Implement an ML engineering workflow for enterprise SaaS focusing on analytics pipeline. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be secure-by-default, must avoid global state, must be easy to extend, mus...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: artifact registry Primary language: Bash Framework/tooling: jq Reported problem: path traversal on downloads Task type: code_review_fix Dif...
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: aw9q79.py ```pyt...
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: vwe7r9.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C73851: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m59527.py` and `test_m59527.py`. ```python # m59527.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: Fix a bug and add tests. File: w2c7bn9.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f09554(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m44222.py` with types and O(n) average. ```python # m44222.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f78356(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m96908.py` with types and O(n) average. ```python # m96908.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: mechanized_spec Scenario: job scheduler Domain focus: stream processing Primary language: lean Difficulty: expert+ Scale/SLO: 1M msgs/min Component: component_tdhmvktt Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, include performance model and limits, av...
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
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: p3xqc9w9thgr.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: payments platform Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: N+1 query ex...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor an existing codebase in logistics to support multi-tenant isolation cleanly. Target platform: mobile (Android Kotlin). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must avoid global state, must be observable (logs/metrics/traces), must be production-ready. D...
WithinUsAI/GOD_Coder_100k