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: Project domain: document processing API Implementation stack: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Software delivery problem: unsafe deser...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of sre/observability for scenario: feature flagging. Primary language: rust. Difficulty: expert. Constraints: design for backward compatibility and migrations, provide rollout and rollback guidance, avoid undefined behavior and data races. Component: component_rlasbjb. Assume...
WithinUsAI/Elite_GOD_Coder_100k
Debug and fix a subtle production bug related to offline-first sync in a customer support service. Target platform: backend (Go). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be secure-by-default, must be performant under load, must include documentation/comments, must a...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Fix a bug and add tests. File: nzpmul375.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Project stack: FastAPI, PostgreSQL, Redis, Celery, pytest, Docker Language: JavaScript Dependency challenge: gRPC retry storm Task type: migration_patch Diffi...
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: Next.js, Node.js, Prisma, PostgreSQL, Playwright, Docker Language: Java Dependency challenge: partial checkpoint corruption Task type: containe...
WithinUsAI/GOD_Coder_Complete_DataSet
Create a comprehensive test plan and automated tests for rate limiting in a document processing product. Target platform: web (React + TypeScript). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be production-ready, must avoid global state, must be observable (log...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of high-performance services for scenario: rate limiting gateway. Primary language: rust. Difficulty: expert. Constraints: avoid undefined behavior and data races, design for backward compatibility and migrations, provide rollout and rollback guidance, include tests or verifi...
WithinUsAI/Elite_GOD_Coder_100k
Task type: mechanized_spec Scenario: time-series metrics store Domain focus: edge robotics (safe) Primary language: lean Difficulty: expert Scale/SLO: 99.99% availability Component: component_udlboyhm Constraints: include performance model and limits, assume adversarial inputs; validate everything, include test vectors...
WithinUsAI/Omega_Genesis_Coder_100k
Create a small, production-ready Python package for caching layer. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be memory-efficient, must include tests, must handle Windows paths safely. Difficulty: medium. Provide helpful exceptions with actionable message...
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: nule3...
WithinUsAI/Royal_Ghost_Coder_501k
Implement real-time notifications for a gaming product. Target platform: CI (GitHub Actions). Requirements: provide production-ready code, configuration, and tests. Constraints: must be performant under load, must include documentation/comments, must include tests. Difficulty: easy. Assume mobile clients are occasional...
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: zkw02...
WithinUsAI/Royal_Ghost_Coder_501k
Fix a subtle bug in a Python module used for time series. Requirements: explain root cause briefly, provide corrected code, and add regression tests. Constraints: must be memory-efficient, must provide clear error messages. Difficulty: medium. Include a small CLI example if relevant. Deliverable: corrected code and ve...
WithinUsAI/python_GOD_coder_100k
Task type: lockfree_primitive Scenario: time-series metrics store Domain focus: large-scale ML systems Primary language: cpp Difficulty: expert+ Scale/SLO: p99 < 150ms Component: component_bgrqswsh Constraints: include verification strategy, include performance model and limits, assume adversarial inputs; validate ever...
WithinUsAI/Omega_Genesis_Coder_100k
Write a thorough test suite for a Python component used for telemetry ingestion. Requirements: cover edge cases, invalid inputs, and behavior invariants. Constraints: must be memory-efficient, must include docstrings, must include tests. Difficulty: medium. Handle empty inputs and malformed records gracefully. Deliver...
WithinUsAI/python_GOD_coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: C# Framework/tooling: ASP.NET Core Domain: team dashboard Logic challenge: partial checkpoint corruption Task type: multi_service_security_patch 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: Project stack: Rust, Axum, SQLx, Redis, Tokio, Docker Language: SQL Dependency challenge: broken pagination cursor Task type: version_conflict_resolution Diff...
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: ASP.NET Core, SQL Server, EF Core, xUnit, Docker Language: JavaScript Dependency challenge: schema drift during deployment Task type: version_c...
WithinUsAI/GOD_Coder_Complete_DataSet
Task type: schema_evolution_contracts Scenario: real-time notification hub Domain focus: secure enclaves (defensive) Primary language: typescript Difficulty: hard Scale/SLO: p99 < 150ms Component: component_vvpcnjox Constraints: assume adversarial inputs; validate everything, avoid data races and undefined behavior, in...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f83951(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f83951(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Improve typing and robustness of a Python module used for rate limiting. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: must include docstrings, must include tests. Difficulty: medium. Ensure the API is testable via dependency injection. Deliverable: product...
WithinUsAI/python_GOD_coder_100k
Add a clear docstring and type hints to this function: ```python def f36436(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f36436(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Create a comprehensive test plan and automated tests for audit logs in a customer support product. Target platform: infra (Docker + Kubernetes). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must be performant under load, must be production-ready, must be observable (...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f51496(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m35928.py` with types and O(n) average. ```python # m35928.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: System domain: model serving gateway Stack: GitHub Actions, Docker Compose, Kubernetes, Terraform Cross-layer incident: idempotent retry design Task type: obs...
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: bh_sigdzf.py ```...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: ml_system_design Scenario: streaming ETL Domain focus: program synthesis (safe) Primary language: rust Difficulty: expert+ Scale/SLO: p99 < 50ms Component: component_kvshsmfz Constraints: include failure modes and recovery, include security threat model (defensive only), include performance model and limits,...
WithinUsAI/Omega_Genesis_Coder_100k
Design CI/CD for a fraud detection service delivering background jobs. Target platform: infra (Docker + Kubernetes). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must be performant under load, must be observable (logs/metrics/traces), must include clear error handling, mu...
WithinUsAI/GOD_Coder_100k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f40563(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 `m91509.py` and `test_m91509.py`. *** Begin Patch *** Update File: m91509.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Produce an offline-first self-evolving code assi...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f60886`. ```python def f60886(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m08698 import f60886 def test_known(): assert f60886(3,4) == 25 def test_zero(): assert f60886(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
Fix the bug and add pytest tests. ```python def f18138(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 `m59734.py` and `test_m59734.py`. *** Begin Patch *** Update File: m59734.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Add a clear docstring and type hints to this function: ```python def f50571(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f50571(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: runtime_gc Scenario: time-series metrics store Domain focus: consensus & replication Primary language: python Difficulty: expert Scale/SLO: p99 < 150ms Component: component_yszstciq Constraints: assume adversarial inputs; validate everything, include security threat model (defensive only), explicit contracts...
WithinUsAI/Omega_Genesis_Coder_100k
Add a clear docstring and type hints to this function: ```python def f07110(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f07110(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Implement a web feature for healthtech: caching. Target platform: web (React + TypeScript). Requirements: accessible UI, API integration, and tests. Constraints: must be production-ready, must be observable (logs/metrics/traces), must be easy to extend, must include type hints where applicable. Difficulty: hard. Assume...
WithinUsAI/GOD_Coder_100k
Optimize while preserving behavior and order. ```python def f00529(xs): out=[] for x in xs: if x not in out: out.append(x) return out ``` Return `m28647.py` with types and O(n) average. ```python # m28647.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: fgjfcf0rf8.py ``...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of high-performance services for scenario: feature flagging. Primary language: go. Difficulty: medium. Constraints: assume untrusted inputs; validate and sanitize, avoid undefined behavior and data races, design for backward compatibility and migrations, include tests or veri...
WithinUsAI/Elite_GOD_Coder_100k
Design and implement an algorithm for report generation. Requirements: define inputs/outputs, implement solution with complexity analysis, and include tests. Constraints: must handle Windows paths safely, stdlib-only, must include docstrings. Difficulty: medium. Include a small CLI example if relevant. Deliverable: AP...
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: Python Framework/tooling: SQLAlchemy Domain: repo automation Logic challenge: partial checkpoint corruption Task type: parser_validation_logic Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of high-performance services for scenario: feature flagging. Primary language: python. Difficulty: medium. Constraints: design for backward compatibility and migrations, include invariants and failure modes, document performance characteristics, include tests or verification ...
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: zuyer...
WithinUsAI/Royal_Ghost_Coder_501k
Create a small, production-ready Python package for configuration loading. Requirements: include module code, CLI entrypoint, logging, and a minimal pyproject.toml. Constraints: must be memory-efficient, must include tests, must handle Windows paths safely, must be streaming-friendly. Difficulty: medium. Include a smal...
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: YAML Framework/tooling: Kubernetes Domain: benchmark harness Logic challenge: mismatched API contract Task type: performance_bottleneck_patch 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: ox994...
WithinUsAI/Royal_Ghost_Coder_501k
Fix the bug and add pytest tests. ```python def f40279(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 `m62897.py` and `test_m62897.py`. *** Begin Patch *** Update File: m62897.py @@ d...
WithinUsAI/Royal_Ghost_Coder_501k
Provision infrastructure for a IoT telemetry workload providing background jobs. Target platform: mobile (Android Kotlin). Requirements: IaC (Terraform or Kubernetes YAML), networking, secrets, autoscaling. Constraints: must be performant under load, must be easy to extend, must include tests. Difficulty: easy. Assume ...
WithinUsAI/GOD_Coder_100k
Build an elite-grade solution in the domain of compilers for scenario: event ingestion. Primary language: sql. Difficulty: hard. Constraints: document performance characteristics, design for backward compatibility and migrations, include tests or verification strategy. Component: component_wnpwjls. Assume cold-start an...
WithinUsAI/Elite_GOD_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 be easy to extend, must include tests. Difficulty: hard. Handle empty inputs and malformed records gracefully. Deliverable: corrected code and ...
WithinUsAI/python_GOD_coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C33744: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m10288.py` and `test_m10288.py`. ```python # m10288.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: Repository domain: job scheduler Primary language: Go Framework/tooling: net/http Reported problem: transaction boundary bug Task type: repo_issue_patch Diffi...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of high-performance services for scenario: chat messaging. Primary language: python. Difficulty: hard. Constraints: avoid undefined behavior and data races, document performance characteristics, assume untrusted inputs; validate and sanitize. Component: component_xxoovwi. Ass...
WithinUsAI/Elite_GOD_Coder_100k
system: You are a production-grade software engineer. Return a correct, secure, complete, test-backed solution with concise reasoning and no placeholders. user: Language: Java Framework/tooling: Hibernate Domain: data pipeline Logic challenge: dead-letter queue replay Task type: concurrency_fix Difficulty: medium Ret...
WithinUsAI/GOD_Coder_Complete_DataSet
Design a production system for content moderation supporting caching. Target platform: backend (Go). Requirements: APIs, data model, scaling strategy, failure modes, and security. Constraints: must include clear error handling, must be observable (logs/metrics/traces), must include documentation/comments, must include ...
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: notification service Implementation stack: Airflow, dbt, DuckDB, MinIO, pytest Software delivery problem: migration ordering failure Task type...
WithinUsAI/GOD_Coder_Complete_DataSet
Improve typing and robustness of a Python module used for parsing. Requirements: provide type-safe APIs (generics/protocols where appropriate) and include tests. Constraints: stdlib-only, must handle Windows paths safely. Difficulty: medium. Guarantee deterministic output ordering. Deliverable: corrected code and veri...
WithinUsAI/python_GOD_coder_100k
Task type: formal_proof_sketch Scenario: feature-flag evaluation Domain focus: runtime systems Primary language: bash Difficulty: expert Scale/SLO: 100k RPS peak Component: component_rpmohemu Constraints: explicit contracts and invariants, include deterministic replay plan, avoid data races and undefined behavior, incl...
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: SQL Framework/tooling: PostgreSQL Domain: reporting engine Logic challenge: timezone bug in reporting Task type: security_logic_interaction Difficul...
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: schema drift during deployment Task type: container_run...
WithinUsAI/GOD_Coder_Complete_DataSet
Secure-by-default implementation for event-driven workflows in a e-commerce product. Target platform: mobile (Android Kotlin). Requirements: threat model, input validation, authz/authn guidance, safe storage, tests. Constraints: must be observable (logs/metrics/traces), must include documentation/comments, must include...
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: repo automation Implementation stack: Rust, Axum, SQLx, Redis, Tokio, Docker Software delivery problem: rate-limit bypass Task type: rollback_...
WithinUsAI/GOD_Coder_Complete_DataSet
Build an elite-grade solution in the domain of realtime systems for scenario: feature flagging. Primary language: python. Difficulty: expert. Constraints: document performance characteristics, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance, design for backward compatibility and mi...
WithinUsAI/Elite_GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C23957: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m55689.py` and `test_m55689.py`. ```python # m55689.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
You are Royal Ghost Coder, an expert offline software engineer and code-evolution agent. You produce production-quality code, minimal diffs, and tests. Safety: refuse or redirect requests that enable malware, exploitation, credential theft, or unauthorized access. Task: Refactor to modern typed Python with immutabilit...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of stream processing for scenario: edge sync. Primary language: bash. Difficulty: hard. Constraints: make the interface contract explicit, document performance characteristics, avoid undefined behavior and data races. Component: component_ncsqqif. Assume strict auditability a...
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: vc0h_...
WithinUsAI/Royal_Ghost_Coder_501k
Task type: static_analyzer Scenario: graph query service Domain focus: runtime systems Primary language: rust Difficulty: hard Scale/SLO: 10k RPS peak Component: component_uvaosowu Constraints: avoid data races and undefined behavior, include verification strategy, include backward compatibility and migration plan, inc...
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: auth service Stack: Rust, Axum, SQLx, Redis, Tokio, Docker Cross-layer incident: optimistic locking conflict Task type: cache_consistency_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: Language: Rust Framework/tooling: SQLx Domain: reporting engine Logic challenge: path traversal on downloads Task type: state_machine_patch Difficulty: medium...
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
Add a clear docstring and type hints to this function: ```python def f81479(s): return ''.join(x for x in s if x.isalnum()).lower() ``` ```python from __future__ import annotations def f81479(s: str) -> str: """Normalize a string: keep only alphanumerics and lowercase the result.""" return "".join(ch for c...
WithinUsAI/Royal_Ghost_Coder_501k
Design CI/CD for a education service delivering file uploads. Target platform: backend (Go). Requirements: pipelines, checks, artifact strategy, deployments, and rollbacks. Constraints: must include documentation/comments, must include tests, must be observable (logs/metrics/traces), must be production-ready, must be s...
WithinUsAI/GOD_Coder_100k
Add observability for background jobs in a document processing system. Target platform: infra (Terraform). Requirements: structured logs, metrics, tracing, dashboards, and alerting rules. Constraints: must be easy to extend, must include type hints where applicable, must be secure-by-default. Difficulty: medium. Assume...
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: zmqlduwv.py ```p...
WithinUsAI/Royal_Ghost_Coder_501k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C97337: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m45949.py` and `test_m45949.py`. ```python # m45949.py from __future__ import annotations from datacla...
WithinUsAI/Royal_Ghost_Coder_501k
Write pytest tests for `f60718`. ```python def f60718(a: int, b: int) -> int: return a*a + b*b ``` Include edge cases and a property-style check. ```python import random from m08674 import f60718 def test_known(): assert f60718(3,4) == 25 def test_zero(): assert f60718(0,0) == 0 def test_property_nonne...
WithinUsAI/Royal_Ghost_Coder_501k
Build an elite-grade solution in the domain of compilers for scenario: chat messaging. Primary language: bash. Difficulty: expert. Constraints: include tests or verification strategy, design for backward compatibility and migrations, assume untrusted inputs; validate and sanitize, provide rollout and rollback guidance....
WithinUsAI/Elite_GOD_Coder_100k
Task type: compiler_backend_ir Scenario: feature-flag evaluation Domain focus: data lineage & governance Primary language: cpp Difficulty: expert+ Scale/SLO: 99.99% availability Component: component_xtlmispx Constraints: include verification strategy, include failure modes and recovery, explicit contracts and invariant...
WithinUsAI/Omega_Genesis_Coder_100k
Implement a concurrent Python solution for parsing. Requirements: choose appropriate concurrency model, handle cancellation/timeouts, include tests. Constraints: must include type hints, must provide clear error messages, stdlib-only, must avoid global state. Difficulty: hard. Ensure the API is testable via dependency ...
WithinUsAI/python_GOD_coder_100k
Build an elite-grade solution in the domain of edge/IoT for scenario: edge sync. Primary language: go. Difficulty: expert. Constraints: document performance characteristics, design for backward compatibility and migrations, make the interface contract explicit, assume untrusted inputs; validate and sanitize, avoid unde...
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: pvwgp...
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: C++ Dependency challenge: idempotent retry design Task type: build_reproducibility_f...
WithinUsAI/GOD_Coder_Complete_DataSet
Debug and fix a subtle production bug related to idempotent payments in a logistics service. Target platform: data (SQL + Python). Requirements: identify root cause, provide patch, and add regression tests. Constraints: must be easy to extend, must include documentation/comments, must be performant under load, must inc...
WithinUsAI/GOD_Coder_100k
Task type: gpu_serving_pipeline Scenario: feature-flag evaluation Domain focus: model checking Primary language: python Difficulty: hard Scale/SLO: multi-region active-active Component: component_qrtqnfna Constraints: explicit contracts and invariants, include security threat model (defensive only), include performance...
WithinUsAI/Omega_Genesis_Coder_100k
Build a data pipeline for a developer tooling product around rate limiting. Target platform: data (SQL + Python). Requirements: schema, ingestion, validation, backfills, and tests. Constraints: must be production-ready, must include type hints where applicable, must include tests, must include documentation/comments, m...
WithinUsAI/GOD_Coder_100k
Implement an ML engineering workflow for gaming focusing on caching. Target platform: ML (training + serving). Requirements: data contract, training loop, evaluation, model registry, serving API, monitoring. Constraints: must be observable (logs/metrics/traces), must include clear error handling, must include documenta...
WithinUsAI/GOD_Coder_100k
Refactor an existing codebase in fraud detection to support offline-first sync cleanly. Target platform: backend (Go). Requirements: propose new modules/layers, dependency boundaries, and migration plan. Constraints: must include clear error handling, must be performant under load, must include documentation/comments, ...
WithinUsAI/GOD_Coder_100k
Refactor to typed, mostly-immutable Python and add minimal tests. ```python class C17326: def __init__(self, values): self.values=list(values) def mean(self): return sum(self.values)/len(self.values) ``` Return `m32102.py` and `test_m32102.py`. ```python # m32102.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: uxg2l...
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: Airflow, dbt, DuckDB, MinIO, pytest Language: Go Dependency challenge: streaming timeout handling Task type: lockfile_repair Difficulty: hard ...
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: testify Domain: team dashboard Logic challenge: slow cold start Task type: transaction_integrity_fix Difficulty: hard Return ...
WithinUsAI/GOD_Coder_Complete_DataSet
Optimize a Python workflow for data modeling. Requirements: provide an optimized implementation and a small benchmark harness. Constraints: must be easy to extend, must include docstrings. Difficulty: medium. Support both Windows and POSIX paths correctly. Deliverable: implementation + tests. Strategy: - Avoid repeate...
WithinUsAI/python_GOD_coder_100k
Create a comprehensive test plan and automated tests for real-time notifications in a IoT telemetry product. Target platform: backend (Python FastAPI). Requirements: unit/integration tests, edge cases, load tests strategy, and CI gates. Constraints: must include clear error handling, must be performant under load, must...
WithinUsAI/GOD_Coder_100k