text
stringlengths
355
3.69k
source
stringclasses
6 values
Task type: compiler_frontend Scenario: multi-tenant event ingestion Domain focus: edge robotics (safe) Primary language: typescript Difficulty: expert Scale/SLO: 50 TB/day ingestion Component: component_puvfbzvk Constraints: include backward compatibility and migration plan, include deterministic replay plan, include v...
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: Bash Framework/tooling: jq Domain: search service Logic challenge: rate-limit bypass Task type: edge_case_hardening Difficulty: hard Return a rigor...
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: nwkqv...
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 a concurrent Python solution for data modeling. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must include docstrings, stdlib-only. Difficulty: medium. Support both Windows and POSIX paths correctly. Deliverable: implementation + tests. ```pytho...
WithinUsAI/python_GOD_coder_100k
Write secure, defensive Python code for metrics aggregation. Requirements: input validation, safe file handling, prevent path traversal, include tests. Constraints: must provide clear error messages, must be easy to extend. Difficulty: medium. Include a small CLI example if relevant. Deliverable: implementation + test...
WithinUsAI/python_GOD_coder_100k
Implement a concurrent Python solution for data modeling. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must be memory-efficient, stdlib-only, must avoid global state. Difficulty: easy. Provide helpful exceptions with actionable messages. Deliverable: imp...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C# Framework/tooling: NUnit Domain: team dashboard Logic challenge: idempotent retry design Task type: concurrency_fix Difficulty: hard Return a ri...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: data pipeline Primary language: Bash Framework/tooling: jq Reported problem: slow cold start Task type: performance_patch Difficulty: mediu...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: developer platform Primary language: Rust Framework/tooling: Tokio Reported problem: monorepo toolchain skew Task type: feature_delivery 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: 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
Fix a subtle bug in a Python module used for rate limiting. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be memory-efficient, must be easy to extend, stdlib-only, must be streaming-friendly. Difficulty: hard. Avoid quadratic behavior on large inputs. Del...
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: v6luuzz7m9.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a web feature for enterprise SaaS: idempotent payments. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must be production-ready, must be easy to extend, must include documentation/comments, must be performant under load. Difficulty: expert. Ass...
WithinUsAI/GOD_Coder_100k
Design a small, production-grade Python API for CLI tooling. Requirements: define data models and interfaces, implement reference version, include tests. Constraints: must avoid global state, must be streaming-friendly, must include tests. Difficulty: hard. Avoid quadratic behavior on large inputs. Deliverable: correc...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of compilers for scenario: time-series metrics. Primary language: rust. Difficulty: hard. Constraints: make the interface contract explicit, design for backward compatibility and migrations, avoid undefined behavior and data races. Component: component_fhzpmux. Assume partial...
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: qjjpdyy.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f72606(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m24658.py` with types and O(n) average. ```python # m24658.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Repository domain: team dashboard Primary language: TypeScript Framework/tooling: Vitest Reported problem: build reproducibility failure Task type: feature_de...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: Rust Dependency challenge: N+1 query explosion Task type: version_conflict_resolut...
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
Task type: gpu_serving_pipeline Scenario: multi-tenant event ingestion Domain focus: GPU serving Primary language: rust Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_wxawzgks Constraints: include backward compatibility and migration plan, include deterministic replay plan, include performance ...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: analytics pipeline. Primary language: bash. Difficulty: medium. Constraints: include invariants and failure modes, document performance characteristics, assume untrusted inputs; validate and sanitize, make the interface contra...
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: SQLite Domain: notification service Logic challenge: multi-tenant access leak Task type: edge_case_hardening Difficulty: medi...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: mechanized_spec Scenario: time-series metrics store Domain focus: cryptography engineering (defensive) Primary language: lean Difficulty: expert Scale/SLO: multi-region active-active Component: component_vkgqwhhk Constraints: include performance model and limits, include verification strategy, assume adversa...
WithinUsAI/Omega_Genesis_Coder_100k
Add observability for A/B experimentation in a calendar/scheduling system. Target platform: mobile (Android Kotlin). Requirements: structured logs, metrics, tracing, dashboards, and alerting rules. Constraints: must include documentation/comments, must be secure-by-default, must be production-ready. Difficulty: easy. A...
WithinUsAI/GOD_Coder_100k
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 include type hints, must be streaming-friendly. Difficulty: medium. Avoid quadratic behavior on large inputs. Deliverable: implementation + tests...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Java Framework/tooling: Spring Boot Domain: team dashboard Logic challenge: timezone bug in reporting Task type: transaction_integrity_fix Difficult...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: secure_architecture Scenario: feature-flag evaluation Domain focus: observability platforms Primary language: sql Difficulty: hard Scale/SLO: 10k RPS peak Component: component_nuzgiflx Constraints: include backward compatibility and migration plan, assume adversarial inputs; validate everything, include secu...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f69603(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 `m24229.py` and `test_m24229.py`. *** Begin Patch *** Update File: m24229.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: query_optimizer Scenario: job scheduler Domain focus: data lineage & governance Primary language: go Difficulty: expert+ Scale/SLO: 1M msgs/min Component: component_ffitpcwn Constraints: explicit contracts and invariants, include performance model and limits, include failure modes and recovery, assume advers...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: whk4znv20xee.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: runtime_gc Scenario: graph query service Domain focus: fault injection & chaos engineering Primary language: bash Difficulty: expert Scale/SLO: 10k RPS peak Component: component_uuljhjqr Constraints: include test vectors and fuzz strategy, include performance model and limits, include failure modes and recov...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of high-performance services for scenario: event ingestion. Primary language: python. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, make the interface contract explicit, include tests or verification strategy, document performance characteri...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of sre/observability for scenario: document indexing. Primary language: sql. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, include tests or verification strategy, design for backward compatibility and...
WithinUsAI/Elite_GOD_Coder_100k
Task type: query_optimizer Scenario: time-series metrics store Domain focus: distributed storage Primary language: go Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_xpwgboae Constraints: include verification strategy, include performance model and limits, include test vectors and fuzz strategy,...
WithinUsAI/Omega_Genesis_Coder_100k
Write pytest tests for `f56752`. ```python def f56752(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m79536 import f56752 def test_known(): assert f56752(3,4) == 25 def test_zero(): assert f56752(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of sre/observability for scenario: job scheduler. Primary language: python. Difficulty: medium. Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, provide rollout and rollback guidance. C...
WithinUsAI/Elite_GOD_Coder_100k
Design a production system for enterprise SaaS supporting idempotent payments. Target platform: CI (GitHub Actions). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must be secure-by-default, must be performant under load, must be observable (logs/metrics/traces), must includ...
WithinUsAI/GOD_Coder_100k
Task type: static_analyzer Scenario: payment ledger Domain focus: model checking Primary language: bash Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_tialoawx Constraints: explicit contracts and invariants, include backward compatibility and migration plan, include deterministic replay plan, include p...
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: reporting engine Primary language: JavaScript Framework/tooling: Express Reported problem: slow cold start Task type: code_review_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: xku3khp0i9h.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: lockfree_primitive Scenario: graph query service Domain focus: observability platforms Primary language: rust Difficulty: expert+ Scale/SLO: 10k RPS peak Component: component_pnsxvhns Constraints: avoid data races and undefined behavior, include failure modes and recovery, include test vectors and fuzz strat...
WithinUsAI/Omega_Genesis_Coder_100k
Write pytest tests for `f11689`. ```python def f11689(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m44527 import f11689 def test_known(): assert f11689(3,4) == 25 def test_zero(): assert f11689(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
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: Bash Framework/tooling: curl Reported problem: broken pagination cursor Task type: security_patch D...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: distributed_algorithm Scenario: feature-flag evaluation Domain focus: GPU serving Primary language: typescript Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_qujkzjdo Constraints: include verification strategy, avoid data races and undefined behavior, include test vectors and fuzz strategy, i...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: distributed_algorithm Scenario: rate limit gateway Domain focus: GPU serving Primary language: rust Difficulty: hard Scale/SLO: p99 < 50ms Component: component_metaagpv Constraints: include security threat model (defensive only), avoid data races and undefined behavior, assume adversarial inputs; validate ev...
WithinUsAI/Omega_Genesis_Coder_100k
Fix a subtle bug in a Python module used for metrics aggregation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must be easy to extend. Difficulty: expert. Guarantee deterministic output ordering. Deliverable: production-ready referenc...
WithinUsAI/python_GOD_coder_100k
Improve typing and robustness of a Python module used for event dispatching. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must provide clear error messages, must be memory-efficient. Difficulty: hard. Support both Windows and POSIX paths correctly. Deliver...
WithinUsAI/python_GOD_coder_100k
Fix the bug and add pytest tests. ```python def f65686(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 `m95098.py` and `test_m95098.py`. *** Begin Patch *** Update File: m95098.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: mechanized_spec Scenario: time-series metrics store Domain focus: large-scale ML systems Primary language: lean Difficulty: expert Scale/SLO: 10k RPS peak Component: component_tusjziue Constraints: include failure modes and recovery, include performance model and limits, include verification strategy, includ...
WithinUsAI/Omega_Genesis_Coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: analytics pipeline. Primary language: python. Difficulty: medium. Constraints: include tests or verification strategy, document performance characteristics, make the interface contract explicit, avoid undefined behavior and data races. Component: c...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C43619: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m95663.py` and `test_m95663.py`. ```python # m95663.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C93564: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m76428.py` and `test_m76428.py`. ```python # m76428.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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: Rust Dependency challenge: migration ordering failure Task type: lockfile_repair Dif...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: kernel_syscall_design Scenario: payment ledger Domain focus: model checking Primary language: c Difficulty: expert+ Scale/SLO: 1M msgs/min Component: component_sxszcnrd Constraints: include backward compatibility and migration plan, include failure modes and recovery, include deterministic replay plan, inclu...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor a Python module used for validation into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must provide clear error messages, must be memory-efficient, must be easy to extend. Difficulty: easy. Handle empty inputs and malfor...
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: hyei4j.py ```pyt...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: chat messaging. Primary language: go. Difficulty: hard. Constraints: make the interface contract explicit, provide rollout and rollback guidance, include tests or verification strategy, include invariants and failure modes. Component: component_xq...
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: Repository domain: model serving gateway Primary language: C++ Framework/tooling: CMake Reported problem: websocket reconnect storm Task type: api_endpoint_wo...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of compilers for scenario: feature flagging. Primary language: go. Difficulty: hard. Constraints: include tests or verification strategy, design for backward compatibility and migrations, include invariants and failure modes. Component: component_ptinwbu. Assume strict audita...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: Rust, Axum, SQLx, Redis, Tokio, Docker Language: Python Dependency challenge: dead-letter queue replay Task type: build_reproducibility_fix Dif...
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: Vite Domain: data pipeline Logic challenge: migration ordering failure Task type: monorepo_toolchain_recovery Difficul...
WithinUsAI/GOD_Coder_Complete_DataSet
Implement a web feature for logistics: file uploads. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must be secure-by-default, must be easy to extend, must include type hints where applicable, must be performant under load. Difficulty: expert. Assume mob...
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: SQL Framework/tooling: DuckDB Domain: team dashboard Logic challenge: async cancellation bug Task type: concurrency_fix Difficulty: medium Return a...
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: gzhezw0xc8.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: c00of...
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 caching for a logistics product. Target platform: infra (Docker + Kubernetes). Requirements: provide production-ready code, configuration, and tests. Constraints: must be easy to extend, must be secure-by-default, must be observable (logs/metrics/traces), must include tests. Difficulty: easy. Assume GDPR-styl...
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: artifact registry Implementation stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Software delivery problem: transaction boundary bug...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize a Python workflow for report generation. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must handle Windows paths safely, must include type hints, must provide clear error messages. Difficulty: expert. Guarantee deterministic output ordering. Deliverable: product...
WithinUsAI/python_GOD_coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: JavaScript Framework/tooling: React Domain: document processing API Logic challenge: race condition on worker shutdown Task type: performance_bottle...
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
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
Provision infrastructure for a fintech workload providing offline-first sync. Target platform: backend (Python FastAPI). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must include tests, must be easy to extend, must be production-ready, must be performant under load. D...
WithinUsAI/GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: model serving gateway Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: multi-tenant access leak Task type: schema_con...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix a subtle bug in a Python module used for metrics aggregation. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must avoid global state, must provide clear error messages. Difficulty: hard. Guarantee deterministic output ordering. Deliverable: corrected code a...
WithinUsAI/python_GOD_coder_100k
Refactor an existing codebase in content moderation to support idempotent payments cleanly. Target platform: infra (Docker + Kubernetes). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include tests, must include documentation/comments, must include type hints whe...
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: Airflow, dbt, DuckDB, MinIO, pytest Language: TypeScript Dependency challenge: gRPC retry storm Task type: build_reproducibility_fix Difficulty...
WithinUsAI/GOD_Coder_Complete_DataSet
Improve typing and robustness of a Python module used for validation. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must provide clear error messages, must be memory-efficient, must be easy to extend. Difficulty: easy. Support both Windows and POSIX paths co...
WithinUsAI/python_GOD_coder_100k
Optimize while preserving behavior and order. ```python def f26799(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m75257.py` with types and O(n) average. ```python # m75257.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize a Python workflow for configuration loading. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: stdlib-only, must be easy to extend. Difficulty: easy. Include a small CLI example if relevant. Deliverable: corrected code and verification tests. Strategy: - Avoid repea...
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: Java Framework/tooling: Maven Domain: observability collector Logic challenge: monorepo toolchain skew Task type: cross_stack_outage_fix Difficulty:...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f73329(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 `m39047.py` and `test_m39047.py`. *** Begin Patch *** Update File: m39047.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: Java Framework/tooling: Hibernate Domain: benchmark harness Logic challenge: memory leak in AST cache Task type: cross_stack_outage_fix Difficulty: ...
WithinUsAI/GOD_Coder_Complete_DataSet
Fix the bug and add pytest tests. ```python def f02999(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 `m71857.py` and `test_m71857.py`. *** Begin Patch *** Update File: m71857.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f71523(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 `m38789.py` and `test_m38789.py`. *** Begin Patch *** Update File: m38789.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to offline-first sync in a social media service. Target platform: backend (Node.js). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be production-ready, must include clear error handling, must be secure-by-default. Difficulty: ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of ml systems for scenario: analytics pipeline. Primary language: typescript. Difficulty: expert. Constraints: make the interface contract explicit, avoid undefined behavior and data races, provide rollout and rollback guidance, include invariants and failure modes, document ...
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: Python Framework/tooling: FastAPI Domain: data pipeline Logic challenge: S3-compatible upload inconsistency Task type: performance_bottleneck_patch ...
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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Software delivery problem: dead-letter queue repla...
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: p3nme...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Bash Framework/tooling: sed Domain: benchmark harness Logic challenge: mismatched API contract Task type: multi_file_migration_repair Difficulty: ex...
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: r7olv...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f98256(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m42608.py` with types and O(n) average. ```python # m42608.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: Optimize while preserving behavior. File: sjyy4...
WithinUsAI/Royal_Ghost_Coder_501k
Improve typing and robustness of a Python module used for metrics aggregation. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must be easy to extend, must include docstrings, must be memory-efficient, must be streaming-friendly. Difficulty: easy. Provide help...
WithinUsAI/python_GOD_coder_100k