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: keuteyt825.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: perf_microarchitecture Scenario: document indexing pipeline Domain focus: model checking Primary language: rust Difficulty: expert+ Scale/SLO: 1M msgs/min Component: component_lzqdpusd Constraints: avoid data races and undefined behavior, include security threat model (defensive only), include test vectors a...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: model serving gateway Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: monorepo...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: document processing API Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: schema drift during deployment Task typ...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a mobile feature for education: event-driven workflows. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must include clear error handling, must include type hints where applicable, must be performant under load. Difficulty: easy. Assume untrusted input;...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f09563(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 `m58509.py` and `test_m58509.py`. *** Begin Patch *** Update File: m58509.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f26555`. ```python def f26555(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m32365 import f26555 def test_known(): assert f26555(3,4) == 25 def test_zero(): assert f26555(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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: Go Dependency challenge: migration ordering failure Task type: lockfile_repair Diffi...
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: sy5e8...
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: Axum Domain: document processing API Logic challenge: unsafe deserialization Task type: transaction_integrity_fix Difficulty...
WithinUsAI/GOD_Coder_Complete_DataSet
Design and implement an algorithm for telemetry ingestion. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be streaming-friendly, must provide clear error messages, must include tests, must include type hints. Difficulty: expert. Ensure the API is t...
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: ef_7p0h.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Implement offline-first sync for a logistics product. Target platform: ML (scikit + batch). Requirements: provide production-ready code, configuration, and tests. Constraints: must avoid global state, must be observable (logs/metrics/traces), must be secure-by-default, must be performant under load. Difficulty: expert....
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of high-performance services for scenario: analytics pipeline. Primary language: rust. Difficulty: expert. Constraints: include tests or verification strategy, provide rollout and rollback guidance, avoid undefined behavior and data races, include invariants and failure modes...
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
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: wq3wc...
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
Implement multi-tenant isolation for a fintech product. Target platform: backend (Go). Requirements: provide production-ready code, configuration, and tests. Constraints: must be secure-by-default, must include clear error handling, must be production-ready, must include type hints where applicable, must include docume...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of compilers for scenario: job scheduler. Primary language: python. Difficulty: hard. Constraints: document performance characteristics, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize. Component: component_ummmufe. Assume cold...
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: SQL Framework/tooling: DuckDB Domain: observability collector Logic challenge: S3-compatible upload inconsistency Task type: security_logic_interact...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of gpu compute for scenario: analytics pipeline. Primary language: rust. Difficulty: expert. Constraints: include invariants and failure modes, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, make the interface contract explicit, avoid u...
WithinUsAI/Elite_GOD_Coder_100k
Fix a subtle bug in a Python module used for data modeling. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include docstrings, stdlib-only, must avoid global state. Difficulty: easy. Handle empty inputs and malformed records gracefully. Deliverable: API + ...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of compilers for scenario: feature flagging. Primary language: python. Difficulty: hard. Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, document performance characteristics. Component: component_rlprraq. Assume crash-only...
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: Bash Framework/tooling: awk Domain: auth service Logic challenge: log redaction failure Task type: security_logic_interaction Difficulty: hard Retu...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: query_optimizer Scenario: payment ledger Domain focus: cryptography engineering (defensive) Primary language: sql Difficulty: expert Scale/SLO: 1M msgs/min Component: component_ixwwtmyq Constraints: assume adversarial inputs; validate everything, include security threat model (defensive only), explicit contr...
WithinUsAI/Omega_Genesis_Coder_100k
Design a production system for e-commerce supporting idempotent payments. Target platform: backend (Node.js). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be observable (logs/metrics/traces), must include clear error handling, must avoid global state. Difficulty: hard...
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: Optimize while preserving behavior. File: mt7v4...
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
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: enhko...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f75413`. ```python def f75413(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m25059 import f75413 def test_known(): assert f75413(3,4) == 25 def test_zero(): assert f75413(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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of realtime systems for scenario: inventory & ordering. Primary language: go. Difficulty: hard. Constraints: include invariants and failure modes, make the interface contract explicit, document performance characteristics, provide rollout and rollback guidance, include tests ...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: multi-tenant SaaS. Primary language: go. Difficulty: hard. Constraints: make the interface contract explicit, design for backward compatibility and migrations, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize....
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: real-time notification hub Domain focus: consensus & replication Primary language: rust Difficulty: hard Scale/SLO: p99 < 150ms Component: component_sosetwxu Constraints: include security threat model (defensive only), include deterministic replay plan, explicit contracts and in...
WithinUsAI/Omega_Genesis_Coder_100k
Fix a subtle bug in a Python module used for rate limiting. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must handle Windows paths safely. Difficulty: easy. Include a small CLI example if relevant. Deliverable: implementation + tests....
WithinUsAI/python_GOD_coder_100k
Write secure, defensive Python code for configuration loading. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must be easy to extend, must provide clear error messages, must handle Windows paths safely. Difficulty: medium. Provide helpful exceptions with actionab...
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: System domain: document processing API Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: CI failures after dependency upgrade Task ty...
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
Design and implement an algorithm for caching layer. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: stdlib-only, must be memory-efficient. Difficulty: expert. Support both Windows and POSIX paths correctly. Deliverable: implementation + tests. Problem:...
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
Task type: ml_system_design Scenario: real-time notification hub Domain focus: fault injection & chaos engineering Primary language: rust Difficulty: expert Scale/SLO: 99.99% availability Component: component_nnmrhuoi Constraints: include deterministic replay plan, avoid data races and undefined behavior, assume advers...
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: esnl_mfb.py ```p...
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: GNU coreutils Domain: benchmark harness Logic challenge: path traversal on downloads Task type: state_machine_patch Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: lockfree_primitive Scenario: payment ledger Domain focus: observability platforms Primary language: rust Difficulty: hard Scale/SLO: multi-region active-active Component: component_seenlssr Constraints: include test vectors and fuzz strategy, include performance model and limits, include security threat mode...
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: wjlotxry62.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Provision infrastructure for a gaming workload providing A/B experimentation. Target platform: web (React + TypeScript). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must be secure-by-default, must include type hints where applicable, must be performant under load, mu...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: event ingestion. Primary language: python. Difficulty: medium. Constraints: make the interface contract explicit, provide rollout and rollback guidance, design for backward compatibility and migrations. Component: component_guaxeed. Assume partial ne...
WithinUsAI/Elite_GOD_Coder_100k
Implement A/B experimentation for a calendar/scheduling product. Target platform: backend (Go). Requirements: provide production-ready code, configuration, and tests. Constraints: must include clear error handling, must include documentation/comments, must include tests, must be easy to extend. Difficulty: hard. Assume...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f93092(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m56156.py` with types and O(n) average. ```python # m56156.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
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 be easy to extend, must include type hints, must include docstrings, stdlib-only. Difficulty: medium. Handle empty inputs and malformed record...
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: wa390...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C05820: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m08140.py` and `test_m08140.py`. ```python # m08140.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: analytics pipeline. Primary language: python. Difficulty: medium. Constraints: include invariants and failure modes, document performance characteristics, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize....
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 domain: job scheduler Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: async cancellati...
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: pa66kdr7.py ```p...
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: SQL Framework/tooling: DuckDB Reported problem: log redaction failure Task type: security_patch Difficu...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f15601(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f15601(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f16600(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 `m73800.py` and `test_m73800.py`. *** Begin Patch *** Update File: m73800.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f15685(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 `m87955.py` and `test_m87955.py`. *** Begin Patch *** Update File: m87955.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: C++ Framework/tooling: STL Domain: model serving gateway Logic challenge: migration ordering failure Task type: edge_case_hardening Difficulty: hard...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: compiler_backend_ir Scenario: document indexing pipeline Domain focus: cryptography engineering (defensive) Primary language: rust Difficulty: hard Scale/SLO: p99 < 150ms Component: component_fausedrk Constraints: include verification strategy, include test vectors and fuzz strategy, include backward compati...
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 stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: TypeScript Dependency challenge: broken pagination cursor Task type: lockfile_repair...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f63992(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f63992(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Perform a code review for a logistics PR implementing offline-first sync. Target platform: infra (Terraform). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must include tests, must be performant under load, must be secure-by-default, must be easy to extend, must a...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: edge sync. Primary language: go. Difficulty: medium. Constraints: provide rollout and rollback guidance, document performance characteristics, include tests or verification strategy, make the interface contract explicit, design for backward ...
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: Airflow, dbt, DuckDB, MinIO, pytest Language: TypeScript Dependency challenge: path traversal on downloads Task type: build_reproducibility_fix...
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: JavaScript Framework/tooling: Jest Domain: benchmark harness Logic challenge: streaming timeout handling Task type: multi_service_security_patch Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix a subtle bug in a Python module used for CLI tooling. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include tests, must be memory-efficient. Difficulty: easy. Handle empty inputs and malformed records gracefully. Deliverable: production-ready referenc...
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: fbgpz39tnjah.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for rate limiting. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: stdlib-only, must include tests. Difficulty: easy. Guarantee deterministic output ordering. Deliverable: API + reference implementation + tests. ```python # t...
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: fmd3_aro.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f62351(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 `m23193.py` and `test_m23193.py`. *** Begin Patch *** Update File: m23193.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: kernel_syscall_design Scenario: multi-tenant event ingestion Domain focus: program synthesis (safe) Primary language: rust Difficulty: hard Scale/SLO: 1M msgs/min Component: component_yebqlgeb Constraints: include backward compatibility and migration plan, avoid data races and undefined behavior, include det...
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
Task type: tla_state_machine Scenario: rate limit gateway Domain focus: formal verification Primary language: tla+ Difficulty: hard Scale/SLO: 1M msgs/min Component: component_tcpncjnm Constraints: include backward compatibility and migration plan, include deterministic replay plan, include performance model and limits...
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
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: observability collector Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: JWT refresh token rotation Task t...
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: model serving gateway Primary language: SQL Framework/tooling: PostgreSQL Reported problem: idempotent retry design Task type: code_review_...
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: if1kqk.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f70054(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 `m95722.py` and `test_m95722.py`. *** Begin Patch *** Update File: m95722.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of high-performance services for scenario: edge sync. Primary language: rust. Difficulty: hard. Constraints: provide rollout and rollback guidance, include invariants and failure modes, assume untrusted inputs; validate and sanitize, design for backward compatibility and migr...
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 domain: benchmark harness Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: unsafe deserializatio...
WithinUsAI/GOD_Coder_Complete_DataSet
Design a production system for fraud detection supporting A/B experimentation. Target platform: backend (Python FastAPI). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be secure-by-default, must include documentation/comments, must be observable (logs/metrics/traces), ...
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: bsaif7.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for ETL pipelines into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must provide clear error messages, stdlib-only, must be memory-efficient. Difficulty: medium. Handle empty inputs and malformed 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
Write a thorough test suite for a Python component used for telemetry ingestion. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: stdlib-only, must be memory-efficient. Difficulty: expert. Provide helpful exceptions with actionable messages. Deliverable: production-ready reference ...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: feature flag service Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Software delivery problem: async cancellation bu...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: distributed_algorithm Scenario: graph query service Domain focus: runtime systems Primary language: rust Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_rbgrumsi Constraints: include failure modes and recovery, explicit contracts and invariants, include security threat model (defensiv...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f35183(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m62169.py` with types and O(n) average. ```python # m62169.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: static_analyzer Scenario: streaming ETL Domain focus: formal verification Primary language: sql Difficulty: expert Scale/SLO: p99 < 50ms Component: component_mqtjmjxi Constraints: include test vectors and fuzz strategy, explicit contracts and invariants, include security threat model (defensive only), includ...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: mechanized_spec Scenario: multi-tenant event ingestion Domain focus: observability platforms Primary language: lean Difficulty: expert Scale/SLO: 1M msgs/min Component: component_lsjraoem Constraints: assume adversarial inputs; validate everything, avoid data races and undefined behavior, include failure mod...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: vx4td...
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 an existing codebase in content moderation to support background jobs cleanly. Target platform: infra (Terraform). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must avoid global state, must include tests, must be production-ready, must include type hints whe...
WithinUsAI/GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f65920(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f65920(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
Implement search + pagination for a IoT telemetry product. Target platform: backend (Python FastAPI). Requirements: provide production-ready code, configuration, and tests. Constraints: must be easy to extend, must include tests, must avoid global state, must be observable (logs/metrics/traces), must include clear erro...
WithinUsAI/GOD_Coder_100k