Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
19
40
domain
stringclasses
10 values
instruction
stringlengths
54
150
thought
stringlengths
1.91k
1.98k
response
stringlengths
2.13k
3.49k
category
stringclasses
2 values
fallacy
stringclasses
3 values
root
stringclasses
2 values
concurrency_01_cas_spinlock
concurrency
Implement a thread-safe Atomic SpinLock with compare-and-swap semantics and bounded spin timeout in Python.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a thread-safe Atomic SpinLock with compare-and-swap semantics and bounded spin timeout in Python." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Ro...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a thread-safe Atomic SpinLock with compare-and-swap semantics and bounded spin timeout in Python." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Ro...
null
null
null
concurrency_02_read_write_lock
concurrency
Implement an asymmetric Read-Write Lock favoring writers to prevent writer starvation.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an asymmetric Read-Write Lock favoring writers to prevent writer starvation." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل) ...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an asymmetric Read-Write Lock favoring writers to prevent writer starvation." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل) ...
null
null
null
concurrency_03_semaphore_barrier
concurrency
Implement a counting semaphore barrier that restricts concurrent worker allocations to a maximum threshold.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a counting semaphore barrier that restricts concurrent worker allocations to a maximum threshold." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Ro...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a counting semaphore barrier that restricts concurrent worker allocations to a maximum threshold." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Ro...
null
null
null
concurrency_04_fair_ticket_lock
concurrency
Implement a First-Come First-Served Ticket Lock guaranteeing strictly monotonic FIFO thread fairness.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a First-Come First-Served Ticket Lock guaranteeing strictly monotonic FIFO thread fairness." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a First-Come First-Served Ticket Lock guaranteeing strictly monotonic FIFO thread fairness." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق...
null
null
null
concurrency_05_countdown_latch
concurrency
Implement a thread synchronization CountDownLatch that blocks until N operations complete.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a thread synchronization CountDownLatch that blocks until N operations complete." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل)...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a thread synchronization CountDownLatch that blocks until N operations complete." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل)...
null
null
null
immutability_01_persistent_stack
immutability
Implement a Persistent Linked Stack in Python with O(1) push and pop producing immutable state snapshots.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Persistent Linked Stack in Python with O(1) push and pop producing immutable state snapshots." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Persistent Linked Stack in Python with O(1) push and pop producing immutable state snapshots." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root...
null
null
null
immutability_02_copy_on_write_vector
immutability
Implement a Copy-on-Write Vector in Python that isolates mutable modifications into separate immutable versions.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Copy-on-Write Vector in Python that isolates mutable modifications into separate immutable versions." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Prima...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Copy-on-Write Vector in Python that isolates mutable modifications into separate immutable versions." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Prima...
null
null
null
immutability_03_append_only_event_log
immutability
Design an append-only event log with cryptographic SHA-256 hash chaining verifying historical immutability.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Design an append-only event log with cryptographic SHA-256 hash chaining verifying historical immutability." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Ro...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Design an append-only event log with cryptographic SHA-256 hash chaining verifying historical immutability." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Ro...
null
null
null
immutability_04_frozen_snapshot_store
immutability
Implement an in-memory key-value snapshot store producing frozen, read-only views for concurrent readers.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an in-memory key-value snapshot store producing frozen, read-only views for concurrent readers." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an in-memory key-value snapshot store producing frozen, read-only views for concurrent readers." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root...
null
null
null
immutability_05_ring_buffer
immutability
Implement a circular ring buffer with monotonic sequence numbers and immutable element snapshots.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a circular ring buffer with monotonic sequence numbers and immutable element snapshots." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a circular ring buffer with monotonic sequence numbers and immutable element snapshots." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ...
null
null
null
networking_01_binary_packet_framer
networking
Implement a binary packet framer that parses length-prefixed stream frames preventing buffer overruns.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a binary packet framer that parses length-prefixed stream frames preventing buffer overruns." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a binary packet framer that parses length-prefixed stream frames preventing buffer overruns." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [...
null
null
null
networking_02_p2p_message_envelope
networking
Implement an authenticated P2P message envelope validator with sequence monotonicity and HMAC verification.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an authenticated P2P message envelope validator with sequence monotonicity and HMAC verification." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Ro...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an authenticated P2P message envelope validator with sequence monotonicity and HMAC verification." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Ro...
null
null
null
networking_03_backpressure_stream
networking
Implement a backpressure stream controller that pauses producers when consumers exceed high watermark.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a backpressure stream controller that pauses producers when consumers exceed high watermark." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a backpressure stream controller that pauses producers when consumers exceed high watermark." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [...
null
null
null
networking_04_socks5_address_parser
networking
Implement a SOCKS5 target address parser supporting IPv4, IPv6, and domain names without memory leaks.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a SOCKS5 target address parser supporting IPv4, IPv6, and domain names without memory leaks." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a SOCKS5 target address parser supporting IPv4, IPv6, and domain names without memory leaks." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [...
null
null
null
networking_05_socket_reconnector
networking
Implement a resilient socket reconnect loop with exponential backoff and maximum retry bounds.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a resilient socket reconnect loop with exponential backoff and maximum retry bounds." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ن-ق-ل] (...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a resilient socket reconnect loop with exponential backoff and maximum retry bounds." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ن-ق-ل] (...
null
null
null
types_01_result_monad
types_taxonomy
Implement an algebraic Result[T, E] monad with map and flat_map transformations.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an algebraic Result[T, E] monad with map and flat_map transformations." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) - Cl...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an algebraic Result[T, E] monad with map and flat_map transformations." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) - Cl...
null
null
null
types_02_option_monad
types_taxonomy
Implement a functional Option[T] sum type (Some and Nil) eliminating null reference exceptions.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a functional Option[T] sum type (Some and Nil) eliminating null reference exceptions." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [م-ي-ز] ...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a functional Option[T] sum type (Some and Nil) eliminating null reference exceptions." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [م-ي-ز] ...
null
null
null
types_03_tagged_union_event
types_taxonomy
Design a tagged union domain event dispatcher ensuring exhaustive event handling.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Design a tagged union domain event dispatcher ensuring exhaustive event handling." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ع-م-ل] (عمل) - C...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Design a tagged union domain event dispatcher ensuring exhaustive event handling." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ع-م-ل] (عمل) - C...
null
null
null
types_04_state_machine_variants
types_taxonomy
Implement an exhaustive Order status state machine (Draft, Paid, Shipped, Cancelled) preventing invalid transitions.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an exhaustive Order status state machine (Draft, Paid, Shipped, Cancelled) preventing invalid transitions." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • P...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an exhaustive Order status state machine (Draft, Paid, Shipped, Cancelled) preventing invalid transitions." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • P...
null
null
null
types_05_predicate_typeguard
types_taxonomy
Implement a structural type guard validator verifying JSON payloads against runtime schemas.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a structural type guard validator verifying JSON payloads against runtime schemas." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [م-ي-ز] (مي...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a structural type guard validator verifying JSON payloads against runtime schemas." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [م-ي-ز] (مي...
null
null
null
crypto_01_merkle_tree
cryptography_consensus
Implement a binary Merkle Tree in Python that computes cryptographic state root from leaves.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a binary Merkle Tree in Python that computes cryptographic state root from leaves." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حف...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a binary Merkle Tree in Python that computes cryptographic state root from leaves." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حف...
null
null
null
crypto_02_nonce_validator
cryptography_consensus
Implement a monotonic account nonce validator preventing transaction double-spend.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a monotonic account nonce validator preventing transaction double-spend." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ع-ق-د] (عقد) - ...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a monotonic account nonce validator preventing transaction double-spend." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ع-ق-د] (عقد) - ...
null
null
null
crypto_03_hmac_signer
cryptography_consensus
Implement a secure HMAC-SHA256 message signer and timing-attack resistant verifier.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a secure HMAC-SHA256 message signer and timing-attack resistant verifier." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) -...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a secure HMAC-SHA256 message signer and timing-attack resistant verifier." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) -...
null
null
null
crypto_04_block_chain
cryptography_consensus
Implement a proof-of-work block validator verifying SHA-256 difficulty targets.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a proof-of-work block validator verifying SHA-256 difficulty targets." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل) - Cla...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a proof-of-work block validator verifying SHA-256 difficulty targets." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل) - Cla...
null
null
null
crypto_05_key_expiry
cryptography_consensus
Implement an ephemeral session key manager that enforces key rotation upon expiration.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an ephemeral session key manager that enforces key rotation upon expiration." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) ...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an ephemeral session key manager that enforces key rotation upon expiration." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) ...
null
null
null
quota_01_token_bucket
rate_limiting
Implement a Token Bucket rate limiter in Python with atomic refill calculations.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Token Bucket rate limiter in Python with atomic refill calculations." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل) - Cl...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Token Bucket rate limiter in Python with atomic refill calculations." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل) - Cl...
null
null
null
quota_02_sliding_window
rate_limiting
Implement a Sliding Window Log rate limiter using timestamps.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Sliding Window Log rate limiter using timestamps." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-س-ب] (حسب) - Classical Significanc...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Sliding Window Log rate limiter using timestamps." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-س-ب] (حسب) - Classical Significanc...
null
null
null
quota_03_leaky_bucket
rate_limiting
Implement a Leaky Bucket traffic shaper enforcing continuous packet egress spacing.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Leaky Bucket traffic shaper enforcing continuous packet egress spacing." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ن-ق-ل] (نقل) -...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Leaky Bucket traffic shaper enforcing continuous packet egress spacing." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ن-ق-ل] (نقل) -...
null
null
null
quota_04_fixed_window
rate_limiting
Implement an in-memory Fixed Window counter rate limiter.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an in-memory Fixed Window counter rate limiter." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-س-ب] (حسب) - Classical Significance: ا...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an in-memory Fixed Window counter rate limiter." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-س-ب] (حسب) - Classical Significance: ا...
null
null
null
quota_05_tenant_limiter
rate_limiting
Implement a multi-tenant rate limiter coordinating quotas per client ID.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a multi-tenant rate limiter coordinating quotas per client ID." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-س-ب] (حسب) - Classical ...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a multi-tenant rate limiter coordinating quotas per client ID." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-س-ب] (حسب) - Classical ...
null
null
null
sched_01_binary_heap
ordering_scheduling
Implement a Binary Min-Heap Priority Queue with O(log N) push and pop.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Binary Min-Heap Priority Queue with O(log N) push and pop." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ر-ت-ب] (رتب) - Classical Si...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Binary Min-Heap Priority Queue with O(log N) push and pop." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ر-ت-ب] (رتب) - Classical Si...
null
null
null
sched_02_monotonic_timer
ordering_scheduling
Implement a monotonic deadline timer that executes earliest deadlines first.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a monotonic deadline timer that executes earliest deadlines first." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ع-م-ل] (عمل) - Classi...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a monotonic deadline timer that executes earliest deadlines first." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ع-م-ل] (عمل) - Classi...
null
null
null
sched_03_topological_dag
ordering_scheduling
Implement a Topological Sort algorithm for acyclic dependency resolution.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Topological Sort algorithm for acyclic dependency resolution." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ر-ت-ب] (رتب) - Classical...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Topological Sort algorithm for acyclic dependency resolution." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ر-ت-ب] (رتب) - Classical...
null
null
null
sched_04_round_robin
ordering_scheduling
Implement a deterministic Round-Robin worker dispatcher.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a deterministic Round-Robin worker dispatcher." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ع-م-ل] (عمل) - Classical Significance: إح...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a deterministic Round-Robin worker dispatcher." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ع-م-ل] (عمل) - Classical Significance: إح...
null
null
null
sched_05_consistent_hash_ring
ordering_scheduling
Implement a Consistent Hash Ring mapping keys to nodes.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Consistent Hash Ring mapping keys to nodes." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) - Classical Significance: الص...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a Consistent Hash Ring mapping keys to nodes." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) - Classical Significance: الص...
null
null
null
fault_01_circuit_breaker
fault_tolerance
Implement a 3-State Circuit Breaker preventing cascading microservice failures.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a 3-State Circuit Breaker preventing cascading microservice failures." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) - Cla...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement a 3-State Circuit Breaker preventing cascading microservice failures." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) - Cla...
null
null
null
fault_02_jitter_retry
fault_tolerance
Implement Exponential Backoff with full random jitter.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement Exponential Backoff with full random jitter." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) - Classical Significance: الصي...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement Exponential Backoff with full random jitter." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ح-ف-ظ] (حفظ) - Classical Significance: الصي...
null
null
null
fault_03_bulkhead_pool
fault_tolerance
Implement an isolated Bulkhead concurrency pool preventing service resource starvation.
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an isolated Bulkhead concurrency pool preventing service resource starvation." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل) ...
<ayn_mantiq> 🏛️ AYN-ENGINE EPISTEMIC CHAIN-OF-THOUGHT (MANṬIQ & ISHTIQĀQ) Target Architecture: PYTHON Problem Specification: "Implement an isolated Bulkhead concurrency pool preventing service resource starvation." 1. ISHTIQĀQ & MORPHOLOGICAL ROOTS (Kitāb al-ʿAyn & Lisān al-ʿArab): • Primary Root: [ق-ف-ل] (قفل) ...
null
null
null
End of preview. Expand in Data Studio

📜 Classical Arabic Logic & Code Slop Unlearning Dataset

Epistemic Alignment & Anti-Pattern Elimination for Sovereign Code Synthesis

Author: Enver AynEngine
Affiliation: Sovereign Epistemic AI Research / AynEngine Project (Switzerland)
Associated Paper: Hierarchical Symbolic-Neural Mixture of Experts (H-MoE)


🏛️ Dataset Overview

Modern large language models trained on massive internet web crawls frequently hallucinate architectural anti-patterns, referred to as code slop:

  • Amorphous Variables: Generic placeholders (temp, data, item, val, mgr).
  • Circular Dependencies (Dafʿ al-Dawr): Cyclic imports and deadlock-prone resource allocation.
  • Infinite Regress (Dafʿ al-Tasalsul): Unbounded loops and recursions lacking terminal conditions.
  • State Inconsistencies (ʿAdam al-Tanāquḍ): Ambiguous states and silent error swallowing (except: pass).
  • Syntactic Governance (Al-Kitāb of Sībawayh): Untyped interfaces and unbounded parameter arity.

This dataset provides paired triplets for supervised fine-tuning (SFT) and Direct Preference Optimization (DPO) / Knowledge Unlearning:

  • prompt: The functional programming challenge.
  • slop_code (Negative Example): Typical foundation model code with anti-patterns.
  • slop_analysis: Epistemic diagnosis grounded in Classical Arabic logic (Al-Ghazālī, Sībawayh, Ibn Manẓūr).
  • mantiq_pure_code (Positive Example): Verified, Grade A+ constitutive code adhering to the 5 Epistemic Invariants.

📊 Dataset Schema

{
  "prompt": "Implement a deterministic token-bucket rate limiter.",
  "slop_code": "class RateLimiter:
    def __init__(self):
        self.data = {}
    def check(self, item):
        pass",
  "slop_analysis": "Violates Al-Ḥadd bi al-Dhātiyyāt by using 'data' and 'item'. Violates Lisān al-ʿArab by silent pass.",
  "mantiq_pure_code": "class TokenBucketRateLimiter:
    def __init__(self, capacity_tokens: int, refill_rate_per_second: float) -> None: ...",
  "invariants_enforced": [
    "Al-Ḥadd bi al-Dhātiyyāt",
    "Dafʿ al-Dawr",
    "Lisān al-ʿArab",
    "Sībawayh Governance"
  ]
}

📖 Citation

@dataset{enver2026dataset,
  title={Classical Arabic Logic & Code Slop Unlearning Dataset},
  author={Enver AynEngine},
  year={2026},
  publisher={Hugging Face},
  url={https://huggingface.co/datasets/enver/classical-arabic-logic-slop-unlearning}
}
Downloads last month
17

Space using enver/classical-arabic-logic-slop-unlearning 1

Collection including enver/classical-arabic-logic-slop-unlearning