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: u7shwtai8.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: bbh9d3.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: co17v...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for multi-tenant isolation in a gaming product. Target platform: backend (Node.js). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be easy to extend, must be observable (logs/metrics/traces), must be secure-by-d...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: notification service Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: schema drift during deployment Task ...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix a subtle bug in a Python module used for telemetry ingestion. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must include type hints, must avoid global state. Difficulty: expert. Guarantee deterministic output ordering. Deliverable: production-ready referen...
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: YAML Framework/tooling: Helm Domain: reporting engine Logic challenge: multi-tenant access leak Task type: monorepo_toolchain_recovery Difficulty: h...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f45443(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 `m49349.py` and `test_m49349.py`. *** Begin Patch *** Update File: m49349.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a concurrent Python solution for file synchronization. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must avoid global state, must be easy to extend, must include type hints. Difficulty: easy. Avoid quadratic behavior on large inputs. Deliverabl...
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
Design and implement an algorithm for rate limiting. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include type hints, must handle Windows paths safely, must avoid global state. Difficulty: medium. Guarantee deterministic output ordering. Deliver...
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: w7pd49.py ```pyt...
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: EF Core Domain: benchmark harness Logic challenge: JWT refresh token rotation Task type: edge_case_hardening 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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f62891(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 `m80413.py` and `test_m80413.py`. *** Begin Patch *** Update File: m80413.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for validation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must handle Windows paths safely. Difficulty: hard. Guarantee deterministic output ordering. Deliverable: implementation + tests. ``...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f87057(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 `m98151.py` and `test_m98151.py`. *** Begin Patch *** Update File: m98151.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: robust_e2e_testing Scenario: feature-flag evaluation Domain focus: fault injection & chaos engineering Primary language: go Difficulty: expert+ Scale/SLO: 10k RPS peak Component: component_izcobyap Constraints: include backward compatibility and migration plan, explicit contracts and invariants, include veri...
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
Fix the bug and add pytest tests. ```python def f97404(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 `m56772.py` and `test_m56772.py`. *** Begin Patch *** Update File: m56772.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: medium. Constraints: provide rollout and rollback guidance, document performance characteristics, design for backward compatibility and migrations, avoid undefined behavior and data races. Componen...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: feature flagging. Primary language: rust. Difficulty: medium. Constraints: make the interface contract explicit, include invariants and failure modes, assume untrusted inputs; validate and sanitize. Component: component_jvokerq. Assume 50k RPS and ...
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: Optimize while preserving behavior. File: khqkr...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Python Framework/tooling: Django Domain: data pipeline Logic challenge: monorepo toolchain skew Task type: misleading_symptom_debug Difficulty: hard...
WithinUsAI/GOD_Coder_Complete_DataSet
Secure-by-default implementation for idempotent payments in a document processing product. Target platform: CI (GitHub Actions). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must include documentation/comments, must be observable (logs/metrics/traces), must be pr...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project domain: observability collector Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: transa...
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: ybgp4fv8c37y.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: benchmark harness Stack: Airflow, dbt, DuckDB, MinIO, pytest Cross-layer incident: dead-letter queue replay Task type: cache_consistency_patch ...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement file uploads for a calendar/scheduling product. Target platform: web (React + TypeScript). Requirements: provide production-ready code, configuration, and tests. Constraints: must be production-ready, must include clear error handling, must be easy to extend, must be observable (logs/metrics/traces). Difficul...
WithinUsAI/GOD_Coder_100k
Implement webhooks for a e-commerce product. Target platform: web (React + TypeScript). Requirements: provide production-ready code, configuration, and tests. Constraints: must include type hints where applicable, must include documentation/comments, must be easy to extend, must be performant under load. Difficulty: ex...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Build a data pipeline for a document processing product around offline-first sync. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must avoid global state, must be easy to extend, must be observable (logs/metrics/traces), must be production-ready. Di...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C41381: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m49337.py` and `test_m49337.py`. ```python # m49337.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f50430(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m21490.py` with types and O(n) average. ```python # m21490.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: perf_microarchitecture Scenario: graph query service Domain focus: model checking Primary language: python Difficulty: expert Scale/SLO: multi-region active-active Component: component_zgyrbcdz Constraints: include backward compatibility and migration plan, avoid data races and undefined behavior, assume adv...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f21402(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m74486.py` with types and O(n) average. ```python # m74486.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: Airflow, dbt, DuckDB, MinIO, pytest Language: Java Dependency challenge: idempotent retry design Task type: container_runtime_fix Difficulty: m...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: runtime_gc Scenario: rate limit gateway Domain focus: static analysis Primary language: bash Difficulty: expert Scale/SLO: 1M msgs/min Component: component_bgddjpno Constraints: include backward compatibility and migration plan, include verification strategy, include security threat model (defensive only), a...
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
Build an elite-grade solution in the domain of compilers for scenario: edge sync. Primary language: python. Difficulty: expert. Constraints: make the interface contract explicit, avoid undefined behavior and data races, document performance characteristics, assume untrusted inputs; validate and sanitize. Component: com...
WithinUsAI/Elite_GOD_Coder_100k
Task type: tla_state_machine Scenario: job scheduler Domain focus: static analysis Primary language: tla+ Difficulty: hard Scale/SLO: p99 < 50ms Component: component_vzeuaabh Constraints: avoid data races and undefined behavior, include failure modes and recovery, include security threat model (defensive only), include...
WithinUsAI/Omega_Genesis_Coder_100k
Implement an ML engineering workflow for logistics focusing on offline-first sync. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must avoid global state, must be easy to extend, must be performant under load, must ...
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: JavaScript Framework/tooling: Playwright Domain: payments platform Logic challenge: rate-limit bypass Task type: monorepo_toolchain_recovery Difficu...
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: benchmark harness Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: mismatched API contract Task type: cache_consisten...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize a Python workflow for configuration loading. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must be easy to extend, must provide clear error messages, must include docstrings, stdlib-only. Difficulty: medium. Guarantee deterministic output ordering. 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: Fix a bug and add tests. File: ajygl87l.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: distributed_algorithm Scenario: job scheduler Domain focus: zero-downtime migrations Primary language: typescript Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_ukehhiod Constraints: include deterministic replay plan, include performance model and limits, include failure modes and recovery, ...
WithinUsAI/Omega_Genesis_Coder_100k
Optimize while preserving behavior and order. ```python def f38065(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m48295.py` with types and O(n) average. ```python # m48295.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 f32673(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 `m33239.py` and `test_m33239.py`. *** Begin Patch *** Update File: m33239.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Implement caching for a content moderation product. Target platform: infra (Terraform). Requirements: provide production-ready code, configuration, and tests. Constraints: must include type hints where applicable, must include tests, must be secure-by-default, must include documentation/comments, must be production-rea...
WithinUsAI/GOD_Coder_100k
Design CI/CD for a developer tooling service delivering offline-first sync. Target platform: mobile (iOS Swift). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be easy to extend, must be performant under load, must include tests, must include documentation/comments. Di...
WithinUsAI/GOD_Coder_100k
Task type: static_analyzer Scenario: identity and access Domain focus: model checking Primary language: typescript Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_renrnsyy Constraints: include test vectors and fuzz strategy, include failure modes and recovery, include performance model and limit...
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: SQL Framework/tooling: MySQL Domain: team dashboard Logic challenge: partial checkpoint corruption Task type: multi_service_security_patch Difficult...
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
Write a thorough test suite for a Python component used for metrics aggregation. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include docstrings, must avoid global state, must be memory-efficient, must provide clear error messages. Difficulty: hard. Guarantee deterministic ...
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
Design and implement an algorithm for parsing. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include type hints, must be memory-efficient, must be easy to extend, must include tests. Difficulty: easy. Support both Windows and POSIX paths correctly...
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: artifact registry Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: S3-compatibl...
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: GitHub Actions, Docker Compose, Kubernetes, Terraform Language: Bash Dependency challenge: broken pagination cursor Task type: build_reproducib...
WithinUsAI/GOD_Coder_Complete_DataSet
Provision infrastructure for a customer support workload providing audit logs. Target platform: infra (Docker + Kubernetes). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must avoid global state, must include documentation/comments, must be observable (logs/metrics/tra...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f26950(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m03850.py` with types and O(n) average. ```python # m03850.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f61536(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f61536(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: storage_engine Scenario: identity and access Domain focus: formal verification Primary language: sql Difficulty: hard Scale/SLO: 50 TB/day ingestion Component: component_hxyctzbc Constraints: include failure modes and recovery, include security threat model (defensive only), include test vectors and fuzz str...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of distributed systems for scenario: analytics pipeline. Primary language: go. Difficulty: expert. Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include invariants and failure modes...
WithinUsAI/Elite_GOD_Coder_100k
Implement a web feature for social media: multi-tenant isolation. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must be secure-by-default, must include type hints where applicable, must include clear error handling. Difficulty: hard. Assume 10k RPS peak...
WithinUsAI/GOD_Coder_100k
Task type: perf_microarchitecture Scenario: rate limit gateway Domain focus: cryptography engineering (defensive) Primary language: typescript Difficulty: hard Scale/SLO: 100k RPS peak Component: component_xmunfjta Constraints: include test vectors and fuzz strategy, include deterministic replay plan, avoid data races ...
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
Build an elite-grade solution in the domain of compilers for scenario: chat messaging. Primary language: python. Difficulty: expert. Constraints: include invariants and failure modes, provide rollout and rollback guidance, avoid undefined behavior and data races. Component: component_otybjgw. Assume schema changes ever...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: identity and access Domain focus: stream processing Primary language: cpp Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_fhjrgalq Constraints: include performance model and limits, assume adversarial inputs; validate everything, include backward compatibility 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: System domain: team dashboard Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: transaction boundary bug Task type: auth_session_repa...
WithinUsAI/GOD_Coder_Complete_DataSet
Design CI/CD for a social media service delivering file uploads. Target platform: ML (scikit + batch). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be easy to extend, must include clear error handling, must include type hints where applicable, must include documentat...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f43928(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 `m77704.py` and `test_m77704.py`. *** Begin Patch *** Update File: m77704.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: q4237...
WithinUsAI/Royal_Ghost_Coder_501k
Design a production system for education supporting event-driven workflows. Target platform: infra (Terraform). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include documentation/comments, must include clear error handling, must avoid global state. Difficulty: medium....
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C69401: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m66877.py` and `test_m66877.py`. ```python # m66877.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Implement event-driven workflows for a e-commerce product. Target platform: backend (Node.js). Requirements: provide production-ready code, configuration, and tests. Constraints: must include documentation/comments, must include clear error handling, must be production-ready. Difficulty: hard. Assume untrusted input; v...
WithinUsAI/GOD_Coder_100k
Task type: network_protocol Scenario: job scheduler Domain focus: program synthesis (safe) Primary language: sql Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_sbbweoej Constraints: include performance model and limits, include deterministic replay plan, assume adversarial inputs; valida...
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
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 a production system for developer tooling supporting webhooks. Target platform: infra (Docker + Kubernetes). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be secure-by-default, must be easy to extend, must be performant under load, must include type hints where ...
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: 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: pnux0...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: kernel_syscall_design Scenario: edge sync Domain focus: real-time scheduling Primary language: cpp Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_nyocwvob Constraints: include performance model and limits, include backward compatibility and migration plan, include verification strategy, in...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: uy6lr...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f51657(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m35951.py` with types and O(n) average. ```python # m35951.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor an existing codebase in healthtech to support idempotent payments cleanly. Target platform: infra (Docker + Kubernetes). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include documentation/comments, must be performant under load, must include type hints ...
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: System domain: reporting engine Stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Cross-layer incident: transaction boundary bug Task type: cache_cons...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of high-performance services for scenario: event ingestion. Primary language: sql. Difficulty: hard. Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, document performance characteristics, assume untrusted inputs; validate and saniti...
WithinUsAI/Elite_GOD_Coder_100k
Design CI/CD for a e-commerce service delivering caching. Target platform: mobile (Android Kotlin). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include documentation/comments, must be observable (logs/metrics/traces), must include clear error handling, must be easy ...
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 avoid global state, must be easy to extend, must provide clear error messages, must be streaming-friendly. Difficulty: ...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f88945(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m84135.py` with types and O(n) average. ```python # m84135.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of edge/IoT for scenario: feature flagging. Primary language: bash. Difficulty: expert. Constraints: make the interface contract explicit, avoid undefined behavior and data races, design for backward compatibility and migrations, include invariants and failure modes. Componen...
WithinUsAI/Elite_GOD_Coder_100k
Refactor an existing codebase in document processing to support A/B experimentation cleanly. Target platform: web (React + TypeScript). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be easy to extend, must include tests, must avoid global state. Difficulty: easy....
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
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
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C16863: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m47451.py` and `test_m47451.py`. ```python # m47451.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: pxty5vpc2c.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: compiler_backend_ir Scenario: feature-flag evaluation Domain focus: fault injection & chaos engineering Primary language: cpp Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_zxkplppu Constraints: assume adversarial inputs; validate everything, avoid data races and undefined beh...
WithinUsAI/Omega_Genesis_Coder_100k