text
stringlengths
355
3.69k
source
stringclasses
6 values
Fix the bug and add pytest tests. ```python def f44312(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 `m20616.py` and `test_m20616.py`. *** Begin Patch *** Update File: m20616.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: rkf2q1r.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: mechanized_spec Scenario: feature-flag evaluation Domain focus: secure enclaves (defensive) Primary language: lean Difficulty: expert Scale/SLO: p99 < 50ms Component: component_nzdrclfe Constraints: include deterministic replay plan, include verification strategy, include failure modes and recovery, include ...
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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Language: C# Dependency challenge: S3-compatible upload inconsistency Task type: versi...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: runtime_gc Scenario: payment ledger Domain focus: zero-downtime migrations Primary language: bash Difficulty: expert Scale/SLO: p99 < 150ms Component: component_tnpawbly Constraints: explicit contracts and invariants, assume adversarial inputs; validate everything, include verification strategy, include dete...
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: TypeScript Framework/tooling: Prisma Domain: benchmark harness Logic challenge: idempotent retry design Task type: performance_bottleneck_patch Diff...
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: tgup0mf33d.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C39672: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m10744.py` and `test_m10744.py`. ```python # m10744.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Rust Framework/tooling: cargo test Domain: job scheduler Logic challenge: streaming timeout handling Task type: monorepo_toolchain_recovery Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Secure-by-default implementation for event-driven workflows in a calendar/scheduling product. Target platform: CI (GitHub Actions). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must avoid global state, must include tests, must be observable (logs/metrics/traces),...
WithinUsAI/GOD_Coder_100k
Write a thorough test suite for a Python component used for log processing. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must avoid global state, must provide clear error messages, must include type hints, must be memory-efficient. Difficulty: easy. Provide helpful exceptions wi...
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: ytj5rej97pt.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: repo automation Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Cross-layer incident: mismatched API contract Task type: cache_...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: verification_properties Scenario: real-time notification hub Domain focus: secure enclaves (defensive) Primary language: python Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_lcruubxs Constraints: include performance model and limits, include security threat model (defensive only), i...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: time-series metrics. Primary language: go. Difficulty: medium. Constraints: include tests or verification strategy, make the interface contract explicit, assume untrusted inputs; validate and sanitize. Component: component_ewvxdva. Assume crash-on...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_frontend Scenario: identity and access Domain focus: formal verification Primary language: python Difficulty: hard Scale/SLO: p99 < 50ms Component: component_ivxqsxzx Constraints: include security threat model (defensive only), assume adversarial inputs; validate everything, include performance mode...
WithinUsAI/Omega_Genesis_Coder_100k
Write pytest tests for `f39578`. ```python def f39578(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m05654 import f39578 def test_known(): assert f39578(3,4) == 25 def test_zero(): assert f39578(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: edge sync. Primary language: bash. Difficulty: expert. Constraints: include tests or verification strategy, assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations. Component: component_speoapb. Assume part...
WithinUsAI/Elite_GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f85441(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 `m55063.py` and `test_m55063.py`. *** Begin Patch *** Update File: m55063.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Provision infrastructure for a social media workload providing rate limiting. Target platform: ML (PyTorch + serving). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must include documentation/comments, must be easy to extend, must be production-ready, must avoid global...
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: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: dead-letter queue replay Task ...
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
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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: log redaction failure ...
WithinUsAI/GOD_Coder_Complete_DataSet
Improve typing and robustness of a Python module used for task scheduling. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must avoid global state, must be memory-efficient, must include type hints, must provide clear error messages. Difficulty: expert. Provid...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: multi-tenant SaaS. Primary language: go. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, make the interface contract explicit. Component: component_kfxbuid. Assume c...
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: htuwb...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f50053(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 `m78579.py` and `test_m78579.py`. *** Begin Patch *** Update File: m78579.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f07932(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 `m58276.py` and `test_m58276.py`. *** Begin Patch *** Update File: m58276.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for report generation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must include docstrings, must include tests, must provide clear error messages. Difficulty: hard. Handle empty inputs and malf...
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: payments platform Implementation stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Software delivery problem: unsafe deserializatio...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of compilers for scenario: analytics pipeline. Primary language: rust. Difficulty: expert. Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, include invariants and failure modes, document performance characteristics. Compo...
WithinUsAI/Elite_GOD_Coder_100k
Debug and fix a subtle production bug related to caching in a IoT telemetry service. Target platform: ML (PyTorch + serving). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must avoid global state, must be performant under load, must include tests, 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: Optimize while preserving behavior. File: dn4u_...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: runtime_gc Scenario: document indexing pipeline Domain focus: runtime systems Primary language: typescript Difficulty: expert Scale/SLO: 50 TB/day ingestion Component: component_xwklzmeb Constraints: assume adversarial inputs; validate everything, explicit contracts and invariants, include backward compatibi...
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: zbw6qcb1s.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a concurrent Python solution for caching layer. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must handle Windows paths safely, must be memory-efficient, must include type hints. Difficulty: hard. 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: System domain: job scheduler Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: stale cache invalidation Task type: auth_session_repai...
WithinUsAI/GOD_Coder_Complete_DataSet
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 handle Windows paths safely, must be streaming-friendly, must avoid global state, stdlib-only. Difficulty: hard. Include a sm...
WithinUsAI/python_GOD_coder_100k
Add a clear docstring and type hints to this function: ```python def f91179(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f91179(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: gpu_serving_pipeline Scenario: feature-flag evaluation Domain focus: compiler toolchains Primary language: rust Difficulty: expert Scale/SLO: 100k RPS peak Component: component_tswtwhoy Constraints: include performance model and limits, include backward compatibility and migration plan, include verification ...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f79902(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f79902(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: Optimize while preserving behavior. File: djv6i...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Language: SQL Dependency challenge: partial checkpoint corruption Task type: con...
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: c9mgtxhk3q7l.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: otl0jp.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: JavaScript Framework/tooling: React Domain: developer platform Logic challenge: CI failures after dependency upgrade Task type: backwards_compatible...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f30566(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 `m32938.py` and `test_m32938.py`. *** Begin Patch *** Update File: m32938.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f68512(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 `m81216.py` and `test_m81216.py`. *** Begin Patch *** Update File: m81216.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f98715(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f98715(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: Fix a bug and add tests. File: dpvvtnnzm.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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f61203(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m23029.py` with types and O(n) average. ```python # m23029.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: Refactor to modern typed Python with immutabilit...
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: must avoid global state, must include type hints, must be memory-efficient, must be streaming-friendly. Difficulty: medium. Avoid quadratic behavior on large i...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C64567: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m12659.py` and `test_m12659.py`. ```python # m12659.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
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 be streaming-friendly, must include tests, must be easy to extend. Difficulty: medium. Ensure the API is testable via dependency injection. Deliverab...
WithinUsAI/python_GOD_coder_100k
Implement an ML engineering workflow for e-commerce focusing on rate limiting. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must include type hints where applicable, must be observable (logs/metrics/traces), 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: Repository domain: notification service Primary language: Bash Framework/tooling: sed Reported problem: S3-compatible upload inconsistency Task type: test_rep...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of compilers for scenario: edge sync. Primary language: sql. Difficulty: hard. Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, make the interface contract explicit, document performance characteristics, include tests or ...
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: wa4tp...
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 be easy to extend, must include tests, must be memory-efficient. Difficulty: easy. Avoid quadratic behavior on large inputs. De...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of stream processing for scenario: chat messaging. Primary language: go. Difficulty: medium. Constraints: provide rollout and rollback guidance, include invariants and failure modes, avoid undefined behavior and data races, document performance characteristics, make the inter...
WithinUsAI/Elite_GOD_Coder_100k
Task type: static_analyzer Scenario: real-time notification hub Domain focus: compiler toolchains Primary language: typescript Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_pucbwibn Constraints: avoid data races and undefined behavior, include performance model and limits, include failure modes and re...
WithinUsAI/Omega_Genesis_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Jest Domain: model serving gateway Logic challenge: optimistic locking conflict Task type: backwards_compatible_redesi...
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
Fix the bug and add pytest tests. ```python def f15650(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 `m87950.py` and `test_m87950.py`. *** Begin Patch *** Update File: m87950.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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: TypeScript Framework/tooling: Node.js Domain: observability collector Logic challenge: schema drift during deployment Task type: misleading_symptom_...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C66297: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m35869.py` and `test_m35869.py`. ```python # m35869.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f50774(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 `m78682.py` and `test_m78682.py`. *** Begin Patch *** Update File: m78682.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: mechanized_spec Scenario: graph query service Domain focus: secure enclaves (defensive) Primary language: lean Difficulty: hard Scale/SLO: 100k RPS peak Component: component_jaydrxsq Constraints: include performance model and limits, include security threat model (defensive only), include backward compatibil...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of gpu compute for scenario: chat messaging. Primary language: rust. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, include invariants and failure modes, document performance characteristics, include tests or verification strategy. Component:...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: edge sync. Primary language: rust. Difficulty: expert. Constraints: document performance characteristics, provide rollout and rollback guidance, make the interface contract explicit. Component: component_ebiwpwe. Assume compliance requires d...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: event ingestion. Primary language: python. Difficulty: medium. Constraints: document performance characteristics, include invariants and failure modes, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize. Compone...
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: developer platform Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: streaming timeout...
WithinUsAI/GOD_Coder_Complete_DataSet
Design a production system for document processing supporting real-time notifications. Target platform: CI (GitHub Actions). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be easy to extend, must be performant under load, must include tests. Difficulty: expert. Assume s...
WithinUsAI/GOD_Coder_100k
Task type: robust_e2e_testing Scenario: time-series metrics store Domain focus: edge robotics (safe) Primary language: go Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_ngzehopg Constraints: include deterministic replay plan, avoid data races and undefined behavior, explicit contracts and invariants,...
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: ivzt4q0f4vmm.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: ctgm4...
WithinUsAI/Royal_Ghost_Coder_501k
Implement an ML engineering workflow for e-commerce focusing on offline-first sync. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be secure-by-default, must include documentation/comments, must include tests. ...
WithinUsAI/GOD_Coder_100k
Task type: compiler_frontend Scenario: feature-flag evaluation Domain focus: secure enclaves (defensive) Primary language: typescript Difficulty: hard Scale/SLO: p99 < 50ms Component: component_eitefhtc Constraints: include backward compatibility and migration plan, include deterministic replay plan, include test vecto...
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
Implement an ML engineering workflow for IoT telemetry focusing on A/B experimentation. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must avoid global state, must be performant under load, must be easy to extend, ...
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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C38339: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m49103.py` and `test_m49103.py`. ```python # m49103.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f03450(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 `m43350.py` and `test_m43350.py`. *** Begin Patch *** Update File: m43350.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f03253`. ```python def f03253(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m86179 import f03253 def test_known(): assert f03253(3,4) == 25 def test_zero(): assert f03253(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: di3rrt9e616.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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f17707(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m31101.py` with types and O(n) average. ```python # m31101.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: 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: c84qalt3j.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f48086(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m78298.py` with types and O(n) average. ```python # m78298.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
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 include clear error handling, must be easy to extend, must include type hints where applicable, must include tests. Difficulty: easy. Assume mob...
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
Task type: query_optimizer Scenario: streaming ETL Domain focus: kernel primitives Primary language: go Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_sskfyyvq Constraints: include test vectors and fuzz strategy, include verification strategy, include backward compatibility and migration...
WithinUsAI/Omega_Genesis_Coder_100k
Perform a code review for a logistics PR implementing rate limiting. Target platform: mobile (Android Kotlin). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must avoid global state, must include clear error handling, must be easy to extend, must be observable (log...
WithinUsAI/GOD_Coder_100k