text
stringlengths
355
3.69k
source
stringclasses
6 values
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C89540: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m14580.py` and `test_m14580.py`. ```python # m14580.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: Project domain: observability collector Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: mismat...
WithinUsAI/GOD_Coder_Complete_DataSet
Write pytest tests for `f52069`. ```python def f52069(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m78867 import f52069 def test_known(): assert f52069(3,4) == 25 def test_zero(): assert f52069(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
Implement an ML engineering workflow for social media focusing on event-driven workflows. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be production-ready, must include documentation/comments, must be perform...
WithinUsAI/GOD_Coder_100k
Write secure, defensive Python code for event dispatching. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must include tests, must be easy to extend, must be streaming-friendly. Difficulty: expert. Avoid quadratic behavior on large inputs. Deliverable: corrected...
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: p4w50...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f98634(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 `m42662.py` and `test_m42662.py`. *** Begin Patch *** Update File: m42662.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: mechanized_spec Scenario: multi-tenant event ingestion Domain focus: edge robotics (safe) Primary language: lean Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_mpdhuzbm Constraints: avoid data races and undefined behavior, include backward compatibility and migration plan, include performanc...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f69882(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f69882(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for data modeling. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must include docstrings, must include type hints, must be easy to extend, must include tests. Difficulty: hard. Provide helpful exceptions with actionable mess...
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: jhg8fe.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: Project domain: job scheduler Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: streaming timeout handling Task type: in...
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 domain: developer platform Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: schema drift duri...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize while preserving behavior and order. ```python def f70595(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m10085.py` with types and O(n) average. ```python # m10085.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 distributed systems for scenario: payment processing. Primary language: go. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, design for backward compatibility and migrations, make the interface contract explicit, document performance charact...
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: Fix a bug and add tests. File: qe_q0bep_zye.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for configuration loading into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be streaming-friendly, must include tests. 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: cnk8psq.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C90805: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m06985.py` and `test_m06985.py`. ```python # m06985.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: kp742iwghw.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: chat messaging. Primary language: rust. Difficulty: expert. Constraints: provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, make the interface contract explicit, include invariants and failu...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C39268: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m87636.py` and `test_m87636.py`. ```python # m87636.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: network_protocol Scenario: payment ledger Domain focus: secure enclaves (defensive) Primary language: go Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_gdqobzld Constraints: include deterministic replay plan, include failure modes and recovery, explicit contracts and invariants, assume adv...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: rate limiting gateway. Primary language: go. Difficulty: expert. Constraints: make the interface contract explicit, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races. Component: component_bzjstfe. Assume ...
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
Design a small, production-grade Python API for metrics aggregation. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must be streaming-friendly, must provide clear error messages, must include type hints, must be memory-efficient. Difficulty: easy. Avoid quadrat...
WithinUsAI/python_GOD_coder_100k
Debug and fix a subtle production bug related to search + pagination in a gaming service. Target platform: backend (Go). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must include tests, must include documentation/comments, must be observable (logs/metrics/traces). Difficulty:...
WithinUsAI/GOD_Coder_100k
Implement event-driven workflows for a developer tooling product. Target platform: web (React + TypeScript). Requirements: provide production-ready code, configuration, and tests. Constraints: must include tests, must be easy to extend, must include type hints where applicable, must avoid global state. Difficulty: easy...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C28286: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m56022.py` and `test_m56022.py`. ```python # m56022.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f15374`. ```python def f15374(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m16482 import f15374 def test_known(): assert f15374(3,4) == 25 def test_zero(): assert f15374(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f84421(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 `m69203.py` and `test_m69203.py`. *** Begin Patch *** Update File: m69203.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: Python Framework/tooling: pytest Domain: developer platform Logic challenge: JWT refresh token rotation Task type: parser_validation_logic 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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: event ingestion. Primary language: rust. Difficulty: expert. Constraints: design for backward compatibility and migrations, make the interface contract explicit, include invariants and failure modes. Component: component_irvup...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of networking for scenario: document indexing. Primary language: typescript. Difficulty: medium. Constraints: avoid undefined behavior and data races, document performance characteristics, assume untrusted inputs; validate and sanitize. Component: component_gkmmqmt. Assume co...
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: TypeScript Framework/tooling: Node.js Domain: benchmark harness Logic challenge: optimistic locking conflict Task type: cross_stack_outage_fix Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to offline-first sync in a customer support service. Target platform: web (React + TypeScript). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must avoid global state, must include clear error handling, must include documentation/co...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of compilers for scenario: multi-tenant SaaS. Primary language: typescript. Difficulty: hard. Constraints: design for backward compatibility and migrations, avoid undefined behavior and data races, document performance characteristics. Component: component_wljeuyw. Assume cra...
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: Fix a bug and add tests. File: ho1hzjjq5967.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
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Node.js Domain: observability collector Logic challenge: invalid rollback sequence Task type: misleading_symptom_debug...
WithinUsAI/GOD_Coder_Complete_DataSet
Write pytest tests for `f88362`. ```python def f88362(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m69766 import f88362 def test_known(): assert f88362(3,4) == 25 def test_zero(): assert f88362(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f83441(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 `m69063.py` and `test_m69063.py`. *** Begin Patch *** Update File: m69063.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for file synchronization. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include docstrings, must provide clear error messages, must handle Windows paths safely. Difficulty: easy. Handle empty inputs and malformed ...
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: repo automation Stack: Rust, Axum, SQLx, Redis, Tokio, Docker Cross-layer incident: transaction boundary bug Task type: observability_debug_fix...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement an ML engineering workflow for developer tooling focusing on rate limiting. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be production-ready, must include documentation/comments, must include tests,...
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: Fix a bug and add tests. File: ehy9oju.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of operating systems for scenario: rate limiting gateway. Primary language: rust. Difficulty: hard. Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, include invariants and failure modes. Component: component_yvmzaez. Assume...
WithinUsAI/Elite_GOD_Coder_100k
Perform a code review for a IoT telemetry PR implementing webhooks. Target platform: backend (Node.js). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must avoid global state, must include type hints where applicable, must be secure-by-default. Difficulty: medium. ...
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: System domain: developer platform Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: rate-limit bypass Task type: schema_contract_alig...
WithinUsAI/GOD_Coder_Complete_DataSet
Design and implement an algorithm for task scheduling. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must handle Windows paths safely, must include type hints. Difficulty: medium. Ensure the API is testable via dependency injection. Deliverable: corre...
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: c6krkk.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: yqsj9cum6.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: payments platform Primary language: Rust Framework/tooling: cargo test Reported problem: optimistic locking conflict Task type: repo_issue_...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of databases for scenario: job scheduler. Primary language: python. Difficulty: hard. Constraints: avoid undefined behavior and data races, make the interface contract explicit, document performance characteristics, include invariants and failure modes, provide rollout and ro...
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: Fix a bug and add tests. File: od3jd9k.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: analytics pipeline. Primary language: go. Difficulty: hard. Constraints: include tests or verification strategy, avoid undefined behavior and data races, document performance characteristics, include invariants and failure modes. Component: compone...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of realtime systems for scenario: time-series metrics. Primary language: python. Difficulty: expert. Constraints: document performance characteristics, include invariants and failure modes, design for backward compatibility and migrations, avoid undefined behavior and data ra...
WithinUsAI/Elite_GOD_Coder_100k
Add a clear docstring and type hints to this function: ```python def f11069(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f11069(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: event ingestion. Primary language: typescript. Difficulty: hard. Constraints: assume untrusted inputs; validate and sanitize, make the interface contract explicit, document performance characteristics, include invariants and failure modes, design f...
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: rate limit gateway Domain focus: program synthesis (safe) Primary language: rust Difficulty: expert+ Scale/SLO: multi-region active-active Component: component_fbcmpfhp Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, include backw...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: mechanized_spec Scenario: document indexing pipeline Domain focus: zero-downtime migrations Primary language: lean Difficulty: expert Scale/SLO: p99 < 50ms Component: component_dpwgfgxj Constraints: include failure modes and recovery, assume adversarial inputs; validate everything, include deterministic repl...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: inventory & ordering. Primary language: go. Difficulty: hard. Constraints: document performance characteristics, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, include invaria...
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: Java Framework/tooling: JUnit Domain: document processing API Logic challenge: broken pagination cursor Task type: cross_stack_outage_fix Difficulty...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: chat messaging. Primary language: rust. Difficulty: hard. Constraints: document performance characteristics, make the interface contract explicit, assume untrusted inputs; validate and sanitize, include invariants and failure ...
WithinUsAI/Elite_GOD_Coder_100k
Implement an ML engineering workflow for gaming focusing on caching. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must include type hints where applicable, must avoid global state, must be easy to extend, must be ...
WithinUsAI/GOD_Coder_100k
Create a small, production-ready Python package for configuration loading. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must include tests, must avoid global state, must provide clear error messages. Difficulty: hard. Avoid quadratic behavior on large inputs. D...
WithinUsAI/python_GOD_coder_100k
Optimize a Python workflow for rate limiting. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must include tests, must be streaming-friendly. Difficulty: hard. Ensure the API is testable via dependency injection. Deliverable: implementation + tests. Strategy: - Avoid repea...
WithinUsAI/python_GOD_coder_100k
Task type: smt_constraint_model Scenario: document indexing pipeline Domain focus: real-time scheduling Primary language: python Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_fbpbndli Constraints: include verification strategy, include security threat model (defensive only), avoid data races and undefi...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: mechanized_spec Scenario: real-time notification hub Domain focus: zero-downtime migrations Primary language: lean Difficulty: hard Scale/SLO: multi-region active-active Component: component_mtjleckk Constraints: explicit contracts and invariants, include test vectors and fuzz strategy, assume adversarial 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: rsskv...
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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Language: Python Dependency challenge: dead-letter queue replay Task type: lockfile_re...
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: lcmyt0qbe5y.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of distributed systems for scenario: event ingestion. Primary language: typescript. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, document performance characteristics, include invariants and failure mod...
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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Implement an ML engineering workflow for content moderation focusing on multi-tenant isolation. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be observable (logs/metrics/traces), must include clear error handl...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: chat messaging. Primary language: go. Difficulty: medium. Constraints: include tests or verification strategy, include invariants and failure modes, document performance characteristics, avoid undefined behavior and data races, make the interface con...
WithinUsAI/Elite_GOD_Coder_100k
Design a production system for healthtech supporting caching. Target platform: web (React + TypeScript). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include clear error handling, must include documentation/comments, must be observable (logs/metrics/traces), must be e...
WithinUsAI/GOD_Coder_100k
Fix a subtle bug in a Python module used for log processing. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must include type hints. Difficulty: easy. Avoid quadratic behavior on large inputs. Deliverable: corrected code and verificatio...
WithinUsAI/python_GOD_coder_100k
Fix a subtle bug in a Python module used for caching layer. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must handle Windows paths safely, must include docstrings, must include type hints. Difficulty: medium. Guarantee deterministic output ordering. Deliverab...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: model serving gateway Primary language: Java Framework/tooling: Hibernate Reported problem: multi-tenant access leak Task type: repo_issue_...
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: bssz_n.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: iu2o4o.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f44255(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m63465.py` with types and O(n) average. ```python # m63465.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor a Python module used for parsing into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must be easy to extend, must avoid global state, must handle Windows paths safely. Difficulty: easy. Provide helpful exceptions with act...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Jest Domain: repo automation Logic challenge: slow cold start Task type: security_logic_interaction Difficulty: hard ...
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: lk_8axk_q.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: Python Dependency challenge: log redaction failure Task type: cve_dependency_remed...
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 domain: developer platform Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: path traversal on downloads Task ty...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: compiler_frontend Scenario: graph query service Domain focus: runtime systems Primary language: sql Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_ugdddzxr Constraints: include verification strategy, include security threat model (defensive only), explicit contracts and invariants, a...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of networking for scenario: multi-tenant SaaS. Primary language: bash. Difficulty: medium. Constraints: make the interface contract explicit, provide rollout and rollback guidance, include tests or verification strategy, design for backward compatibility and migrations, docum...
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
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: Bash Dependency challenge: migration ordering failure Task type: migration_p...
WithinUsAI/GOD_Coder_Complete_DataSet
Provision infrastructure for a developer tooling workload providing rate limiting. Target platform: data (SQL + Python). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must include clear error handling, must include documentation/comments, must include tests. Difficulty...
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: Java Framework/tooling: JUnit Domain: notification service Logic challenge: memory leak in AST cache Task type: algorithmic_correctness Difficulty: ...
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