text
stringlengths
355
3.69k
source
stringclasses
6 values
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: ASP.NET Core Domain: search service Logic challenge: path traversal on downloads Task type: edge_case_hardening Difficulty: ha...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C67151: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m43627.py` and `test_m43627.py`. ```python # m43627.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: v2cjcaq13j63.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: Bash Framework/tooling: sed Domain: reporting engine Logic challenge: N+1 query explosion Task type: monorepo_toolchain_recovery Difficulty: expert ...
WithinUsAI/GOD_Coder_Complete_DataSet
Add a clear docstring and type hints to this function: ```python def f80373(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f80373(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
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 include docstrings, must include tests, stdlib-only. Difficulty: expert. Ensure the API is testable via dependency injection. Deli...
WithinUsAI/python_GOD_coder_100k
Task type: storage_engine Scenario: document indexing pipeline Domain focus: distributed storage Primary language: go Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_rvjyjzov Constraints: include test vectors and fuzz strategy, include performance model and limits, include backward compatibility...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C52718: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m73286.py` and `test_m73286.py`. ```python # m73286.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: YAML Framework/tooling: GitHub Actions Domain: document processing API Logic challenge: streaming timeout handling Task type: multi_file_migration_r...
WithinUsAI/GOD_Coder_Complete_DataSet
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: System domain: team dashboard Stack: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Cross-layer incident: dead-letter queue replay Task type: full_stack_bug...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: storage_engine Scenario: graph query service Domain focus: program synthesis (safe) Primary language: sql Difficulty: hard Scale/SLO: 99.99% availability Component: component_zetwqpio Constraints: include failure modes and recovery, include test vectors and fuzz strategy, include verification strategy, inclu...
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: search service Primary language: TypeScript Framework/tooling: Node.js Reported problem: partial checkpoint corruption Task type: test_repa...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a small, production-ready Python package for log processing. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must avoid global state, must include docstrings, must include type hints. Difficulty: easy. Include a small CLI example if relevant. Deliverable: c...
WithinUsAI/python_GOD_coder_100k
Task type: runtime_gc Scenario: time-series metrics store Domain focus: cryptography engineering (defensive) Primary language: python Difficulty: expert Scale/SLO: p99 < 50ms Component: component_tmrcmtfn Constraints: include security threat model (defensive only), include deterministic replay plan, include backward co...
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: payments platform Stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Cross-layer incident: broken pagination cursor Task typ...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: distributed_algorithm Scenario: edge sync Domain focus: formal verification Primary language: sql Difficulty: expert Scale/SLO: 1M msgs/min Component: component_gicwmmbb Constraints: include test vectors and fuzz strategy, include security threat model (defensive only), avoid data races and undefined behavio...
WithinUsAI/Omega_Genesis_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a mobile feature for enterprise SaaS: offline-first sync. Target platform: mobile. Requirements: offline-safe behavior, UI state handling, and tests. Constraints: must include type hints where applicable, must include clear error handling, must be observable (logs/metrics/traces), must include tests, must be ...
WithinUsAI/GOD_Coder_100k
Refactor a Python module used for time series into a clean, extensible design. Requirements: outline the new architecture briefly, then provide the refactored code and tests. Constraints: must include docstrings, must be memory-efficient, must include type hints. Difficulty: hard. Support both Windows and POSIX paths c...
WithinUsAI/python_GOD_coder_100k
Design CI/CD for a developer tooling service delivering role-based access control. Target platform: backend (Python FastAPI). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be easy to extend, must be production-ready, must include tests, must be secure-by-default. Diff...
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: qexmzapg9.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of networking for scenario: job scheduler. Primary language: sql. Difficulty: expert. Constraints: assume untrusted inputs; validate and sanitize, include tests or verification strategy, provide rollout and rollback guidance. Component: component_gjcnjwp. Assume 50k RPS and p...
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: g1drleg.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: tla_state_machine Scenario: time-series metrics store Domain focus: real-time scheduling Primary language: tla+ Difficulty: expert Scale/SLO: multi-region active-active Component: component_iczexsgx Constraints: include failure modes and recovery, include security threat model (defensive only), avoid data ra...
WithinUsAI/Omega_Genesis_Coder_100k
Secure-by-default implementation for file uploads in a enterprise SaaS product. Target platform: backend (Python FastAPI). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must include clear error handling, must include tests, must include documentation/comments. Dif...
WithinUsAI/GOD_Coder_100k
Fix the bug and add pytest tests. ```python def f87455(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 `m41065.py` and `test_m41065.py`. *** Begin Patch *** Update File: m41065.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f88851(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 `m12693.py` and `test_m12693.py`. *** Begin Patch *** Update File: m12693.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f90483(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f90483(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to offline-first sync in a developer tooling service. Target platform: CI (GitHub Actions). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be secure-by-default, must avoid global state, must include clear error handling, must i...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: syne_...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: sre_incident_sim Scenario: real-time notification hub Domain focus: formal verification Primary language: rust Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_xjriglet Constraints: include security threat model (defensive only), include backward compatibility and migration plan, avoid data ...
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: cqrjlb.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: gm56xys5d.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 domain: document processing API Implementation stack: Spring Boot, PostgreSQL, JUnit, Gradle, Docker, GitHub Actions Software delivery problem: timezo...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: robust_e2e_testing Scenario: identity and access Domain focus: cryptography engineering (defensive) Primary language: go Difficulty: hard Scale/SLO: 100k RPS peak Component: component_ykucbllc Constraints: assume adversarial inputs; validate everything, include performance model and limits, include verificat...
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
Improve typing and robustness of a Python module used for time series. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must be memory-efficient, stdlib-only, must include tests. Difficulty: expert. Ensure the API is testable via dependency injection. Delivera...
WithinUsAI/python_GOD_coder_100k
Write pytest tests for `f55892`. ```python def f55892(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m36556 import f55892 def test_known(): assert f55892(3,4) == 25 def test_zero(): assert f55892(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of gpu compute for scenario: edge sync. Primary language: rust. Difficulty: expert. Constraints: include tests or verification strategy, avoid undefined behavior and data races, make the interface contract explicit, provide rollout and rollback guidance. Component: component_...
WithinUsAI/Elite_GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: fjvcs...
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: notification service Stack: Airflow, dbt, DuckDB, MinIO, pytest Cross-layer incident: monorepo toolchain skew Task type: deploy_runtime_patch D...
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: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Language: Bash Dependency challenge: timezone bug in reporting Task type: migration_patch Difficu...
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: Fix a bug and add tests. File: qzzo7yx.py ```py...
WithinUsAI/Royal_Ghost_Coder_501k
Optimize while preserving behavior and order. ```python def f72518(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m96074.py` with types and O(n) average. ```python # m96074.py from __future__ import annotations from typing import Iterable, List, Set, TypeVar T=TypeVar("T") d...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f84484(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f84484(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Design and implement an algorithm for parsing. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must be easy to extend, must be memory-efficient, must handle Windows paths safely, must provide clear error messages. Difficulty: expert. Avoid quadratic beha...
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
Write pytest tests for `f65146`. ```python def f65146(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m37878 import f65146 def test_known(): assert f65146(3,4) == 25 def test_zero(): assert f65146(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Debug and fix a subtle production bug related to real-time notifications in a social media service. Target platform: backend (Python FastAPI). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be observable (logs/metrics/traces), must be production-ready, must avoid global st...
WithinUsAI/GOD_Coder_100k
Task type: network_protocol Scenario: feature-flag evaluation Domain focus: program synthesis (safe) Primary language: go Difficulty: expert+ Scale/SLO: 50 TB/day ingestion Component: component_graevtyj Constraints: include verification strategy, explicit contracts and invariants, include failure modes and recovery, in...
WithinUsAI/Omega_Genesis_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 be easy to extend, must handle Windows paths safely. Difficulty: easy. Guarantee deterministic output ordering. Deliverable: API + reference impl...
WithinUsAI/python_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 include tests, must include docstrings, must be easy to extend. Difficulty: medium. Avoid quadratic behavior on large inputs. Deliverable: API + ref...
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: Boost Domain: data pipeline Logic challenge: S3-compatible upload inconsistency Task type: multi_file_migration_repair Diffic...
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: Python Framework/tooling: SQLAlchemy Domain: feature flag service Logic challenge: memory leak in AST cache Task type: monorepo_toolchain_recovery D...
WithinUsAI/GOD_Coder_Complete_DataSet
Refactor an existing codebase in social media to support search + pagination cleanly. Target platform: infra (Docker + Kubernetes). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include type hints where applicable, must be production-ready, must include clear err...
WithinUsAI/GOD_Coder_100k
Implement multi-tenant isolation for a social media product. Target platform: infra (Docker + Kubernetes). Requirements: provide production-ready code, configuration, and tests. Constraints: must be easy to extend, must include documentation/comments, must be production-ready, must include clear error handling, must be...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of security engineering (defensive) for scenario: feature flagging. Primary language: go. Difficulty: expert. Constraints: make the interface contract explicit, document performance characteristics, include invariants and failure modes, include tests or verification strategy....
WithinUsAI/Elite_GOD_Coder_100k
Build a data pipeline for a customer support product around event-driven workflows. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be easy to extend, must include tests, must be observable (logs/metrics/traces), must be performant under load. D...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f72838(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m81834.py` with types and O(n) average. ```python # m81834.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: Language: Java Framework/tooling: Maven Domain: benchmark harness Logic challenge: async cancellation bug Task type: state_machine_patch Difficulty: hard Ret...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize a Python workflow for rate limiting. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must be memory-efficient, must handle Windows paths safely, must include docstrings, must be streaming-friendly. Difficulty: expert. Handle empty inputs and malformed records grace...
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: observability collector Stack: Rust, Axum, SQLx, Redis, Tokio, Docker Cross-layer incident: partial checkpoint corruption Task type: deploy_run...
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 include tests, must handle Windows paths safely, must provide clear error messages, stdlib-only. Difficulty: expert. Include a small CLI example if...
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
Build an elite-grade solution in the domain of edge/IoT for scenario: event ingestion. Primary language: go. Difficulty: medium. Constraints: include invariants and failure modes, assume untrusted inputs; validate and sanitize, make the interface contract explicit, include tests or verification strategy, avoid undefine...
WithinUsAI/Elite_GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Optimize while preserving behavior. File: sil_q...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C11930: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m08610.py` and `test_m08610.py`. ```python # m08610.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: Optimize while preserving behavior. File: pke5a...
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: document processing API Stack: Go, Gin, PostgreSQL, gRPC, Prometheus, Docker Cross-layer incident: slow cold start Task type: auth_session_repa...
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: Fix a bug and add tests. File: ee68zp.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: Repository domain: data pipeline Primary language: SQL Framework/tooling: MySQL Reported problem: optimistic locking conflict 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: Optimize while preserving behavior. File: f3o9g...
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
Implement event-driven workflows for a social media product. Target platform: infra (Terraform). Requirements: provide production-ready code, configuration, and tests. Constraints: must include clear error handling, must avoid global state, must be performant under load, must be easy to extend. Difficulty: medium. Incl...
WithinUsAI/GOD_Coder_100k
Task type: compiler_backend_ir Scenario: time-series metrics store Domain focus: network protocols Primary language: cpp Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_ipqufujm Constraints: include deterministic replay plan, include verification strategy, explicit contracts and invariants, avoi...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f43397(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f43397(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 gpu compute for scenario: edge sync. Primary language: sql. Difficulty: hard. Constraints: include tests or verification strategy, document performance characteristics, include invariants and failure modes, assume untrusted inputs; validate and sanitize, provide rollout an...
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: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: Bash Dependency challenge: broken pagination cursor Task type: version_conflict_re...
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: job scheduler Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: broken pagination curs...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: static_analyzer Scenario: identity and access Domain focus: compiler toolchains Primary language: typescript Difficulty: expert+ Scale/SLO: 100k RPS peak Component: component_gelgwjho Constraints: include test vectors and fuzz strategy, include verification strategy, include performance model and limits, avo...
WithinUsAI/Omega_Genesis_Coder_100k
Fix the bug and add pytest tests. ```python def f62817(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 `m51831.py` and `test_m51831.py`. *** Begin Patch *** Update File: m51831.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: Rust Framework/tooling: Serde Domain: job scheduler Logic challenge: streaming timeout handling Task type: edge_case_hardening Difficulty: hard Ret...
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: a_4eo...
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: data pipeline Primary language: Bash Framework/tooling: GNU coreutils Reported problem: schema drift during deployment Task type: security_...
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: jmbzu46lchdn.py ...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f92631`. ```python def f92631(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m13233 import f92631 def test_known(): assert f92631(3,4) == 25 def test_zero(): assert f92631(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of ml systems for scenario: analytics pipeline. Primary language: sql. Difficulty: expert. Constraints: include tests or verification strategy, assume untrusted inputs; validate and sanitize, document performance characteristics. Component: component_tfrgcql. Assume crash-onl...
WithinUsAI/Elite_GOD_Coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: chat messaging. Primary language: python. Difficulty: expert. Constraints: document performance characteristics, design for backward compatibility and migrations, include invariants and failure modes, include tests or verification strategy. Component...
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: search service Primary language: JavaScript Framework/tooling: Node.js Reported problem: unsafe deserialization Task type: feature_delivery...
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: Fix a bug and add tests. File: c8syphkx0mn.py `...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: supply_chain_security Scenario: job scheduler Domain focus: program synthesis (safe) Primary language: go Difficulty: hard Scale/SLO: multi-region active-active Component: component_vwxzblyv Constraints: include deterministic replay plan, include backward compatibility and migration plan, include security th...
WithinUsAI/Omega_Genesis_Coder_100k
Task type: sre_incident_sim Scenario: identity and access Domain focus: fault injection & chaos engineering Primary language: sql Difficulty: expert Scale/SLO: p99 < 50ms Component: component_qsvaewke Constraints: include deterministic replay plan, assume adversarial inputs; validate everything, include verification st...
WithinUsAI/Omega_Genesis_Coder_100k
Perform a code review for a developer tooling PR implementing audit logs. Target platform: web (React + TypeScript). Requirements: list critical issues, improvements, and provide an improved patch excerpt. Constraints: must include clear error handling, must include type hints where applicable, must be production-ready...
WithinUsAI/GOD_Coder_100k
Task type: smt_constraint_model Scenario: streaming ETL Domain focus: large-scale ML systems Primary language: python Difficulty: expert+ Scale/SLO: 1M msgs/min Component: component_yqizjsnn Constraints: include performance model and limits, explicit contracts and invariants, avoid data races and undefined behavior, in...
WithinUsAI/Omega_Genesis_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C17815: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m16755.py` and `test_m16755.py`. ```python # m16755.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: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k