text
stringlengths
355
3.69k
source
stringclasses
6 values
Design and implement an algorithm for event dispatching. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must provide clear error messages, must include type hints, must avoid global state. Difficulty: easy. Guarantee deterministic output ordering. Deli...
WithinUsAI/python_GOD_coder_100k
Refactor a Python module used for file synchronization into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include docstrings, must include tests, must avoid global state. Difficulty: hard. Include a small CLI example if rele...
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: Produce an offline-first self-evolving code assi...
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: SQL Framework/tooling: SQLite Domain: observability collector Logic challenge: broken pagination cursor Task type: performance_bottleneck_patch Diff...
WithinUsAI/GOD_Coder_Complete_DataSet
Design CI/CD for a enterprise SaaS service delivering analytics pipeline. Target platform: infra (Docker + Kubernetes). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be easy to extend, must include tests, must include documentation/comments, must be observable (logs/m...
WithinUsAI/GOD_Coder_100k
Create a comprehensive test plan and automated tests for search + pagination in a IoT telemetry product. Target platform: ML (PyTorch + serving). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must avoid global state, must be secure-by-default, must be production-ready...
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 stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Language: Go Dependency challenge: N+1 query explosion Task type: cve_dependency_remediation Diff...
WithinUsAI/GOD_Coder_Complete_DataSet
Design and implement an algorithm for CLI tooling. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must include type hints, must include docstrings, must avoid global state. Difficulty: medium. Include a small CLI example if relevant. Deliverable: API +...
WithinUsAI/python_GOD_coder_100k
Implement a web feature for fintech: rate limiting. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must include type hints where applicable, must be performant under load, must be secure-by-default, must be easy to extend, must be production-ready. Diffi...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f09821(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m01403.py` with types and O(n) average. ```python # m01403.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C85448: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m83496.py` and `test_m83496.py`. ```python # m83496.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 stack: Rust, Axum, SQLx, Redis, Tokio, Docker Language: TypeScript Dependency challenge: async cancellation bug Task type: lockfile_repair 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: 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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: Python Dependency challenge: schema drift during deployment Task type: build_repro...
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: oqygd52byvp.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: d3ekm...
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: developer platform Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: build reproducibi...
WithinUsAI/GOD_Coder_Complete_DataSet
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 include docstrings, must handle Windows paths safely. Difficulty: hard. Guarantee deterministic output ordering. Deliverable: impl...
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: jsbbj5sl3.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of high-performance services for scenario: document indexing. Primary language: go. Difficulty: hard. Constraints: include tests or verification strategy, provide rollout and rollback guidance, assume untrusted inputs; validate and sanitize, document performance characteristi...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of stream processing for scenario: edge sync. Primary language: go. Difficulty: hard. Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize. Component: component_mtqdinb. Assume s...
WithinUsAI/Elite_GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f45906(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m06558.py` with types and O(n) average. ```python # m06558.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: Fix a bug and add tests. File: qyu73idlxt.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C73552: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m59504.py` and `test_m59504.py`. ```python # m59504.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for real-time notifications in a developer tooling product. Target platform: ML (scikit + batch). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be production-ready, must avoid global state, must include documen...
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: React Domain: auth service Logic challenge: race condition on worker shutdown Task type: misleading_symptom_debug 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: rtaozvr.py ```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: observability collector Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: mismatched API contract Task type: c...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: q1orx...
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: ulju17sxdy.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: Language: SQL Framework/tooling: PostgreSQL Domain: document processing API Logic challenge: websocket reconnect storm Task type: cross_stack_outage_fix Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: qy7sfdlr3v.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
Build an elite-grade solution in the domain of operating systems for scenario: job scheduler. Primary language: sql. Difficulty: medium. Constraints: provide rollout and rollback guidance, design for backward compatibility and migrations, include tests or verification strategy, document performance characteristics, inc...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of operating systems for scenario: document indexing. Primary language: python. Difficulty: medium. Constraints: make the interface contract explicit, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, include invariants and failure modes, ...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of networking for scenario: payment processing. Primary language: python. Difficulty: expert. Constraints: design for backward compatibility and migrations, include invariants and failure modes, avoid undefined behavior and data races, make the interface contract explicit, do...
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: System domain: team dashboard Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: S3-compatible upload inconsistency Task type:...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Bash Framework/tooling: GNU coreutils Domain: developer platform Logic challenge: path traversal on downloads Task type: algorithmic_correctness Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: 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: szk1b...
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: artifact registry Primary language: Bash Framework/tooling: curl Reported problem: timezone bug in reporting Task type: repo_issue_patch Di...
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: qmaerka6a9i.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: y0h75d6u6dl2.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
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: developer platform Logic challenge: unsafe deserialization Task type: concurrency_fix Difficulty: medium Retur...
WithinUsAI/GOD_Coder_Complete_DataSet
Write secure, defensive Python code for telemetry ingestion. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must be streaming-friendly, must handle Windows paths safely. Difficulty: expert. Handle empty inputs and malformed records gracefully. Deliverable: produ...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f41745`. ```python def f41745(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m34535 import f41745 def test_known(): assert f41745(3,4) == 25 def test_zero(): assert f41745(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Provision infrastructure for a document processing workload providing webhooks. Target platform: web (React + TypeScript). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must include tests, must be production-ready, must be performant under load. Difficulty: expert. Inc...
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: C# Framework/tooling: EF Core Domain: payments platform Logic challenge: optimistic locking conflict Task type: multi_service_security_patch Difficu...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement search + pagination for a content moderation product. Target platform: mobile (iOS Swift). Requirements: provide production-ready code, configuration, and tests. Constraints: must include documentation/comments, must avoid global state, must be observable (logs/metrics/traces), 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: Project stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: Python Dependency challenge: websocket reconnect storm Task type: migration_patch Di...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: network_protocol Scenario: edge sync Domain focus: runtime systems Primary language: python Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_mczvbakq Constraints: assume adversarial inputs; validate everything, include failure modes and recovery, include verification strategy, include ...
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
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: team dashboard Primary language: Python Framework/tooling: Celery Reported problem: unsafe deserialization Task type: bug_fix Difficulty: m...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: storage_engine Scenario: multi-tenant event ingestion Domain focus: consensus & replication Primary language: sql Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_jkyqgbgj Constraints: include security threat model (defensive only), avoid data races and undefined behavior, include failure mode...
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: model serving gateway Stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Cross-layer incident: multi-tenant access leak Task type:...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: Express Domain: payments platform Logic challenge: idempotent retry design Task type: transaction_integrity_fix Diffic...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: a3fry...
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: Express Domain: job scheduler Logic challenge: memory leak in AST cache Task type: security_logic_interaction Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of gpu compute for scenario: job scheduler. Primary language: python. Difficulty: medium. Constraints: include invariants and failure modes, document performance characteristics, include tests or verification strategy, make the interface contract explicit, provide rollout and...
WithinUsAI/Elite_GOD_Coder_100k
Implement rate limiting for a gaming product. Target platform: infra (Docker + Kubernetes). Requirements: provide production-ready code, configuration, and tests. Constraints: must be secure-by-default, must include clear error handling, must include documentation/comments, must include tests. Difficulty: expert. Assum...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: yiakjn3j8xy9.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: p_7y3...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for validation. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be easy to extend, must include tests, must be memory-efficient, must handle Windows paths safely. Difficulty: hard. Ensure the API is testable via dep...
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: rhzw3...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: robust_e2e_testing Scenario: time-series metrics store Domain focus: query planning Primary language: sql Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_xpnlmyub Constraints: include security threat model (defensive only), include test vectors and fuzz strategy, avoid data races and undefined...
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: Repository domain: feature flag service Primary language: Rust Framework/tooling: Axum Reported problem: unsafe deserialization Task type: repo_issue_patch Di...
WithinUsAI/GOD_Coder_Complete_DataSet
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: sxytd...
WithinUsAI/Royal_Ghost_Coder_501k
Implement caching for a healthtech product. Target platform: backend (Python FastAPI). Requirements: provide production-ready code, configuration, and tests. Constraints: must include tests, must be observable (logs/metrics/traces), must include clear error handling, must be secure-by-default. Difficulty: easy. Assume ...
WithinUsAI/GOD_Coder_100k
Task type: smt_constraint_model Scenario: feature-flag evaluation Domain focus: program synthesis (safe) Primary language: smtlib Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_tbtjaxcp Constraints: include performance model and limits, include test vectors and fuzz strategy, include deterministic repl...
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: repo automation Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: memory leak in AST cache Task type: full_stack_bug_f...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a concurrent Python solution for caching layer. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: stdlib-only, must be streaming-friendly, must include docstrings. Difficulty: hard. Guarantee deterministic output ordering. Deliverable: corrected cod...
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: wcekwgf.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f21350(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m03050.py` with types and O(n) average. ```python # m03050.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: 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: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Write a thorough test suite for a Python component used for CLI tooling. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be easy to extend, must be memory-efficient, must handle Windows paths safely. Difficulty: expert. Provide helpful exceptions with actionable messages. Del...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f55099`. ```python def f55099(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m22157 import f55099 def test_known(): assert f55099(3,4) == 25 def test_zero(): assert f55099(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: hni7e2.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f40491(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 `m77213.py` and `test_m77213.py`. *** Begin Patch *** Update File: m77213.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: Project domain: job scheduler Implementation stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Software delivery problem: rate-limit bypass Task type: t...
WithinUsAI/GOD_Coder_Complete_DataSet
Write a thorough test suite for a Python component used for file synchronization. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must handle Windows paths safely, must provide clear error messages, must be memory-efficient, must be easy to extend. Difficulty: expert. Handle empty ...
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 stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: Rust Dependency challenge: streaming timeout handling Task type: migration_patch D...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: lockfree_primitive Scenario: job scheduler Domain focus: cryptography engineering (defensive) Primary language: rust Difficulty: expert+ Scale/SLO: 10k RPS peak Component: component_fuegskay Constraints: include performance model and limits, include security threat model (defensive only), include backward co...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f20914(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 `m88702.py` and `test_m88702.py`. *** Begin Patch *** Update File: m88702.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f28394(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m18342.py` with types and O(n) average. ```python # m18342.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 gpu compute for scenario: job scheduler. Primary language: rust. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, design for backward compatibility and migrations, include tests or verification strate...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: SQL Framework/tooling: DuckDB Domain: notification service Logic challenge: broken pagination cursor Task type: security_logic_interaction Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor an existing codebase in fraud detection to support webhooks cleanly. Target platform: ML (scikit + batch). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must be production-ready, must be secure-by-default, must be easy to extend, must include documentation/co...
WithinUsAI/GOD_Coder_100k
Build a data pipeline for a social media product around role-based access control. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be production-ready, must be performant under load, must include documentation/comments, must avoid global state. ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of networking for scenario: time-series metrics. Primary language: typescript. Difficulty: medium. Constraints: make the interface contract explicit, avoid undefined behavior and data races, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance...
WithinUsAI/Elite_GOD_Coder_100k
Design a production system for education supporting file uploads. Target platform: backend (Node.js). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include type hints where applicable, must be production-ready, must be easy to extend, must include documentation/comment...
WithinUsAI/GOD_Coder_100k
Improve typing and robustness of a Python module used for parsing. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must provide clear error messages, stdlib-only, must avoid global state. Difficulty: medium. Ensure the API is testable via dependency injection....
WithinUsAI/python_GOD_coder_100k
Design CI/CD for a enterprise SaaS service delivering caching. Target platform: ML (PyTorch + serving). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must avoid global state, must be easy to extend, must include clear error handling, must be observable (logs/metrics/traces...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: goxeu8r6x3.py ``...
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: medium. Constraints: avoid undefined behavior and data races, provide rollout and rollback guidance, design for backward compatibility and migrations, document performance c...
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: YAML Framework/tooling: Terraform Domain: feature flag service Logic challenge: slow cold start Task type: performance_bottleneck_patch Difficulty: ...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Go Framework/tooling: sqlc Domain: team dashboard Logic challenge: idempotent retry design Task type: parser_validation_logic Difficulty: medium Re...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: kernel_syscall_design Scenario: multi-tenant event ingestion Domain focus: kernel primitives Primary language: rust Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_knpphszi Constraints: explicit contracts and invariants, include failure modes and recovery, assume adversarial inputs; v...
WithinUsAI/Omega_Genesis_Coder_100k