id stringlengths 9 9 | category stringlengths 9 30 | difficulty stringclasses 2
values | effort stringclasses 1
value | messages listlengths 2 4 |
|---|---|---|---|---|
tq-000001 | Python validation | medium | Max Overthinking | [
{
"role": "user",
"content": "Write a Python function that validates a nonempty list of positive integers."
},
{
"role": "assistant",
"content": "<|reason|>Draft: loop through the values and call isinstance and positivity checks. Concrete trace: [] fails the nonempty rule, [2,4] passes, and [2,0... |
tq-000002 | Python parsing | medium | Max Overthinking | [
{
"role": "user",
"content": "Parse comma-separated integers while allowing whitespace."
},
{
"role": "assistant",
"content": "<|reason|>Draft: split on commas, strip each field, and convert with int. Concrete trace: \" 3, 4 \" becomes [3,4], while \"3,,4\" contains an empty field. Plausible bug... |
tq-000003 | Python context managers | hard | Max Overthinking | [
{
"role": "user",
"content": "Write a context manager that temporarily changes the working directory."
},
{
"role": "assistant",
"content": "<|reason|>Draft: save os.getcwd, chdir to target, and restore in finally. Concrete trace: entering /tmp and raising inside the block must still restore the... |
tq-000004 | JavaScript arrays | medium | Max Overthinking | [
{
"role": "user",
"content": "Write JavaScript code that removes duplicate IDs while preserving first-seen order."
},
{
"role": "assistant",
"content": "<|reason|>Draft: construct a Set and spread it. Concrete trace: [3,1,3,2] becomes [3,1,2]. Plausible bug: sorting would preserve membership but... |
tq-000005 | TypeScript narrowing | medium | Max Overthinking | [
{
"role": "user",
"content": "Create a TypeScript type guard for objects containing a string name."
},
{
"role": "assistant",
"content": "<|reason|>Draft: check typeof value === object and value.name. Concrete trace: null must fail before property access; {name:'Ada'} passes and {name:3} fails. ... |
tq-000006 | SQL aggregation | medium | Max Overthinking | [
{
"role": "user",
"content": "Write SQL to find customers with at least three paid orders."
},
{
"role": "assistant",
"content": "<|reason|>Draft: filter status in WHERE, group by customer_id, and use HAVING COUNT(*) >= 3. Concrete trace: unpaid rows disappear before counting, so three total ord... |
tq-000007 | SQL latest row | hard | Max Overthinking | [
{
"role": "user",
"content": "Select the latest event per user in PostgreSQL."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use ROW_NUMBER partitioned by user and ordered descending by event time. Concrete trace: two events for user 4 rank 1 and 2. Plausible bug: ties can produce nonde... |
tq-000008 | algorithms binary search | medium | Max Overthinking | [
{
"role": "user",
"content": "Implement lower_bound in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: maintain [left,right) and move right on values >= target. Concrete trace: [1,3,3,7], target 3 returns index 1; target 8 returns 4. Plausible bug: using <= when moving right skip... |
tq-000009 | algorithms intervals | hard | Max Overthinking | [
{
"role": "user",
"content": "Merge overlapping inclusive integer intervals in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: sort by start, then extend the last interval when start <= end. Concrete trace: [1,3] and [3,5] merge because endpoints are inclusive. Plausible bug: mut... |
tq-000010 | APIs Flask JSON | medium | Max Overthinking | [
{
"role": "user",
"content": "Create a Flask endpoint that validates a JSON name and returns a greeting."
},
{
"role": "assistant",
"content": "<|reason|>Draft: read request.get_json and access name. Concrete trace: missing JSON must be a 400 rather than a server error. Plausible bug: blindly in... |
tq-000011 | Python files | medium | Max Overthinking | [
{
"role": "user",
"content": "Write Python code to read UTF-8 text safely."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use pathlib and read_text. Concrete trace: a missing path should raise FileNotFoundError. Plausible bug: silently replacing decode errors hides corruption. Reconside... |
tq-000012 | Python files | medium | Max Overthinking | [
{
"role": "user",
"content": "Write Python code to atomically save text."
},
{
"role": "assistant",
"content": "<|reason|>Draft: write a temporary sibling then replace the destination. Concrete trace: readers see either old or complete new content. Plausible bug: leaving a temporary file after f... |
tq-000013 | JavaScript promises | medium | Max Overthinking | [
{
"role": "user",
"content": "Write JavaScript to retry an async operation three times."
},
{
"role": "assistant",
"content": "<|reason|>Draft: loop attempts and await the operation. Concrete trace: success on attempt two returns immediately. Plausible bug: retrying after the final failure adds ... |
tq-000014 | TypeScript API models | medium | Max Overthinking | [
{
"role": "user",
"content": "Create a TypeScript parser for a successful API response."
},
{
"role": "assistant",
"content": "<|reason|>Draft: inspect unknown data and return its payload. Concrete trace: missing payload must not be accepted. Plausible bug: trusting a status string without check... |
tq-000015 | SQL joins | medium | Max Overthinking | [
{
"role": "user",
"content": "Write SQL listing users with zero orders."
},
{
"role": "assistant",
"content": "<|reason|>Draft: left join orders and count order IDs. Concrete trace: an unmatched user has one null-extended row, so COUNT(order_id) is zero. Plausible bug: COUNT(*) would incorrectly... |
tq-000016 | SQL transactions | hard | Max Overthinking | [
{
"role": "user",
"content": "Write PostgreSQL SQL to transfer money safely."
},
{
"role": "assistant",
"content": "<|reason|>Draft: debit and credit inside a transaction with balance checks. Concrete trace: insufficient funds abort before crediting. Plausible bug: separate balance reads permit ... |
tq-000017 | algorithms graphs | medium | Max Overthinking | [
{
"role": "user",
"content": "Implement breadth-first search in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: queue vertices and a visited set. Concrete trace: cycles terminate because a node enters the queue once. Plausible bug: marking visited on dequeue permits duplicate que... |
tq-000018 | algorithms heaps | medium | Max Overthinking | [
{
"role": "user",
"content": "Return the k smallest Python values."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use heapq.nsmallest. Concrete trace: k=2 over [5,1,3] returns [1,3]. Plausible bug: negative or noninteger k has unclear semantics. Reconsideration: validate k as a nonnegat... |
tq-000019 | concurrency threading | hard | Max Overthinking | [
{
"role": "user",
"content": "Create a thread-safe Python counter."
},
{
"role": "assistant",
"content": "<|reason|>Draft: guard increments with Lock. Concrete trace: two increments cannot interleave read and write. Plausible bug: exposing the mutable integer without the lock. Reconsideration: p... |
tq-000020 | concurrency asyncio | hard | Max Overthinking | [
{
"role": "user",
"content": "Limit concurrent asyncio jobs to two."
},
{
"role": "assistant",
"content": "<|reason|>Draft: wrap each job with a semaphore. Concrete trace: only two wrappers can enter simultaneously. Plausible bug: creating tasks before acquiring still schedules all but does not ... |
tq-000021 | APIs HTTP | medium | Max Overthinking | [
{
"role": "user",
"content": "Write Python code for a JSON HTTP request."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use urllib.request with JSON headers. Concrete trace: non-2xx responses should raise rather than look successful. Plausible bug: forgetting a timeout can hang forever.... |
tq-000022 | APIs pagination | medium | Max Overthinking | [
{
"role": "user",
"content": "Implement a JavaScript async paginator."
},
{
"role": "assistant",
"content": "<|reason|>Draft: repeatedly call fetchPage with a cursor. Concrete trace: a null next cursor ends iteration. Plausible bug: yielding the page object rather than its items makes callers fl... |
tq-000023 | security passwords | hard | Max Overthinking | [
{
"role": "user",
"content": "Hash passwords in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use hashlib with a random salt. Concrete trace: identical passwords receive different hashes. Plausible bug: plain SHA-256 is too fast for password guessing. Reconsideration: use scryp... |
tq-000024 | security SQL | medium | Max Overthinking | [
{
"role": "user",
"content": "Write Python SQLite code for a parameterized lookup."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use a question-mark placeholder. Concrete trace: an input containing quote characters remains data. Plausible bug: interpolating with f-strings enables injec... |
tq-000025 | tests pytest | medium | Max Overthinking | [
{
"role": "user",
"content": "Write pytest tests for a positive integer validator."
},
{
"role": "assistant",
"content": "<|reason|>Draft: test a valid list and invalid boundaries. Concrete trace: zero and bool expose positivity and Python subclass pitfalls. Plausible bug: only testing happy pat... |
tq-000026 | tests JavaScript | medium | Max Overthinking | [
{
"role": "user",
"content": "Write Jest tests for a uniqueIds function."
},
{
"role": "assistant",
"content": "<|reason|>Draft: assert order, duplicate removal, and null rejection. Concrete trace: [3,1,3] yields [3,1]. Plausible bug: an assertion using arrayContaining would ignore order. Recons... |
tq-000027 | Python dataclasses | medium | Max Overthinking | [
{
"role": "user",
"content": "Define an immutable Python user record."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use a frozen dataclass with typed fields. Concrete trace: assignment after construction should fail. Plausible bug: accepting blank email violates the record invariant. R... |
tq-000028 | Python generators | medium | Max Overthinking | [
{
"role": "user",
"content": "Write a Python generator that chunks an iterable."
},
{
"role": "assistant",
"content": "<|reason|>Draft: accumulate items until size then yield. Concrete trace: five items with size two yields 2,2,1. Plausible bug: yielding the same mutable buffer lets later append... |
tq-000029 | JavaScript parsing | medium | Max Overthinking | [
{
"role": "user",
"content": "Parse a URL query parameter as an integer."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use URLSearchParams and Number. Concrete trace: missing and malformed values return null. Plausible bug: parseInt('12x') accepts a prefix. Reconsideration: require a c... |
tq-000030 | TypeScript events | medium | Max Overthinking | [
{
"role": "user",
"content": "Create a typed event emitter in TypeScript."
},
{
"role": "assistant",
"content": "<|reason|>Draft: map event names to listener signatures. Concrete trace: emit('ready') has no payload while emit('data', 3) does. Plausible bug: listeners removed during dispatch can ... |
tq-000031 | algorithms sorting | medium | Max Overthinking | [
{
"role": "user",
"content": "Implement stable sort of records by score in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use sorted with a key. Concrete trace: equal scores retain input order. Plausible bug: sorting tuples by all fields changes tie behavior. Reconsideration: ke... |
tq-000032 | APIs Flask errors | medium | Max Overthinking | [
{
"role": "user",
"content": "Add a Flask JSON error handler."
},
{
"role": "assistant",
"content": "<|reason|>Draft: register handlers for 404 and 500. Concrete trace: clients always receive JSON. Plausible bug: exposing exception text leaks internals. Reconsideration: log details elsewhere and... |
tq-000033 | SQL window functions | hard | Max Overthinking | [
{
"role": "user",
"content": "Find each employee's second highest salary in SQL."
},
{
"role": "assistant",
"content": "<|reason|>Draft: rank salaries per employee with DENSE_RANK. Concrete trace: tied top salaries give the next distinct salary rank two. Plausible bug: ROW_NUMBER makes ties arbi... |
tq-000034 | concurrency locks | hard | Max Overthinking | [
{
"role": "user",
"content": "Write a Python lock-protected cache."
},
{
"role": "assistant",
"content": "<|reason|>Draft: guard dictionary access with RLock. Concrete trace: concurrent reads and writes cannot corrupt state. Plausible bug: returning the internal dictionary leaks mutation after u... |
tq-000035 | files CSV | medium | Max Overthinking | [
{
"role": "user",
"content": "Read a CSV of names in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use csv.DictReader with UTF-8. Concrete trace: quoted commas are parsed as one field. Plausible bug: manually splitting commas breaks quoted fields. Reconsideration: require a nam... |
tq-000036 | security paths | hard | Max Overthinking | [
{
"role": "user",
"content": "Safely join a user filename under a Python directory."
},
{
"role": "assistant",
"content": "<|reason|>Draft: resolve base and candidate, then check common path. Concrete trace: ../secret resolves outside and is rejected. Plausible bug: string prefix checks confuse ... |
tq-000037 | tests property | medium | Max Overthinking | [
{
"role": "user",
"content": "Write a Hypothesis test for reversing a list twice."
},
{
"role": "assistant",
"content": "<|reason|>Draft: generate arbitrary integer lists and compare to the original. Concrete trace: empty and duplicate lists are included. Plausible bug: asserting set equality mi... |
tq-000038 | Python logging | medium | Max Overthinking | [
{
"role": "user",
"content": "Configure structured JSON logging in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use a logging Formatter that serializes a dict. Concrete trace: message and level become JSON fields. Plausible bug: nonserializable extra values crash logging. Reco... |
tq-000039 | JavaScript objects | medium | Max Overthinking | [
{
"role": "user",
"content": "Deep-freeze a JavaScript object."
},
{
"role": "assistant",
"content": "<|reason|>Draft: recursively Object.freeze object properties. Concrete trace: nested assignment fails in strict mode. Plausible bug: cycles recurse forever. Reconsideration: track visited object... |
tq-000040 | TypeScript JSON | medium | Max Overthinking | [
{
"role": "user",
"content": "Write a TypeScript JSON fetch helper."
},
{
"role": "assistant",
"content": "<|reason|>Draft: fetch and call response.json. Concrete trace: HTTP 404 must reject before parsing as success. Plausible bug: fetch only rejects network errors. Reconsideration: check ok an... |
tq-000041 | algorithms dynamic programming | hard | Max Overthinking | [
{
"role": "user",
"content": "Compute Fibonacci numbers efficiently in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: iterate with two accumulators. Concrete trace: n=0 returns 0 and n=1 returns 1. Plausible bug: rejecting only negative values after starting the loop can produce... |
tq-000042 | APIs rate limiting | hard | Max Overthinking | [
{
"role": "user",
"content": "Implement a simple Python token bucket limiter."
},
{
"role": "assistant",
"content": "<|reason|>Draft: refill tokens based on elapsed monotonic time. Concrete trace: an empty bucket rejects until tokens accrue. Plausible bug: wall-clock adjustments make elapsed tim... |
tq-000043 | SQL recursive CTE | hard | Max Overthinking | [
{
"role": "user",
"content": "Write SQL to list an employee hierarchy."
},
{
"role": "assistant",
"content": "<|reason|>Draft: anchor top-level employees and recursively join reports. Concrete trace: each level gets depth one greater. Plausible bug: cycles recurse forever. Reconsideration: carry... |
tq-000044 | files JSON | medium | Max Overthinking | [
{
"role": "user",
"content": "Write Python code to load a JSON object from disk."
},
{
"role": "assistant",
"content": "<|reason|>Draft: open with UTF-8 and json.load. Concrete trace: a JSON array should be rejected when an object is required. Plausible bug: returning any decoded value weakens c... |
tq-000045 | tests integration | medium | Max Overthinking | [
{
"role": "user",
"content": "Write a pytest test for a Flask greeting endpoint."
},
{
"role": "assistant",
"content": "<|reason|>Draft: create a test client and post valid JSON. Concrete trace: response JSON contains the greeting. Plausible bug: asserting only status misses malformed output. Re... |
tq-000046 | Python decorators | medium | Max Overthinking | [
{
"role": "user",
"content": "Write a timing decorator in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: record perf_counter before and after calling the function. Concrete trace: exceptions still produce a duration log. Plausible bug: losing the wrapped function's metadata. Rec... |
tq-000047 | JavaScript validation | medium | Max Overthinking | [
{
"role": "user",
"content": "Validate a JavaScript email-like string."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use a modest anchored regular expression. Concrete trace: a@b.com passes and missing-at inputs fail. Plausible bug: an unanchored pattern accepts surrounding junk. Recon... |
tq-000048 | TypeScript reducers | medium | Max Overthinking | [
{
"role": "user",
"content": "Create a TypeScript reducer for a counter."
},
{
"role": "assistant",
"content": "<|reason|>Draft: handle increment and decrement actions immutably. Concrete trace: state 2 plus 3 returns 5. Plausible bug: mutating the numeric primitive is impossible, but an unknown... |
tq-000049 | SQL constraints | medium | Max Overthinking | [
{
"role": "user",
"content": "Write SQL to safely insert a unique username."
},
{
"role": "assistant",
"content": "<|reason|>Draft: rely on a UNIQUE constraint and ON CONFLICT DO NOTHING. Concrete trace: duplicate insertion affects zero rows. Plausible bug: prechecking with SELECT creates a race... |
tq-000050 | security sessions | hard | Max Overthinking | [
{
"role": "user",
"content": "Generate a secure random session token in Python."
},
{
"role": "assistant",
"content": "<|reason|>Draft: use secrets.token_urlsafe. Concrete trace: each call yields unpredictable URL-safe text. Plausible bug: random module is not cryptographically secure. Reconside... |
tq-000101 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement and debug a PyTorch CNN for 28 by 28 grayscale classification. Include a small training and validation loop, explicit tensor contracts, and invariants that catch an incorrect flatten size."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will use ... |
tq-000102 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Write a TensorFlow/Keras CNN for binary image classification with a clean train/validation split, correct label shape, and a test for logits versus sigmoid loss."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will use a Keras functional CNN that emits one... |
tq-000103 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Design a PyTorch residual CNN that accepts more than one image resolution without a fragile flattened dimension. Include shape tracing and a classification test."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will use residual blocks followed by adaptive ... |
tq-000104 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Build a TensorFlow/Keras CNN with augmentation and validation for a small image dataset. Design it so random augmentation is not applied during validation, and include leakage checks."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will put RandomFlip, Ran... |
tq-000105 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement a PyTorch variable-length RNN classifier using pack_padded_sequence. Include sorting or unsorting logic, a shape trace, and a validation test for padded batches."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will embed token IDs, pack the nonpa... |
tq-000106 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Write a TensorFlow/Keras bidirectional LSTM classifier for padded token sequences. Use an embedding mask, keep the output shape correct, and test that padded suffixes do not affect the pooled representation."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I ... |
tq-000107 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement a PyTorch GRU for multivariate time-series regression with many-to-one output. Include window shapes, target alignment, teacher-free validation, and a test that catches accidental many-to-many logits."
},
{
"role": "assistant",
"content": "<|reason|>Draft:... |
tq-000108 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Design a TensorFlow/Keras GRU classifier for variable-length events. Use padded batches and an explicit attention mask, then test output and label shapes."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will embed integer event IDs with mask_zero=True, pas... |
tq-000109 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement a PyTorch Transformer encoder classifier with padding masks for token IDs. Include the mask polarity, shape trace, and a test that padded suffixes cannot change the pooled representation."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will use b... |
tq-000110 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Build a TensorFlow/Keras Transformer text classifier with a causal attention mask for a prefix-prediction setting. Show token and mask shapes and test that future tokens cannot influence an earlier position."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I ... |
tq-000111 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement a small PyTorch text dataset with a hand-written tokenizer, vocabulary, padding collate function, and a classifier. Include checks for token IDs, batch shapes, and unknown words."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will normalize whit... |
tq-000112 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Write a TensorFlow/Keras text classifier using TextVectorization. Design the split so vocabulary adaptation sees training text only, and include dataset shape and out-of-vocabulary checks."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will split raw stri... |
tq-000113 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement a PyTorch masked-language-modeling batch with random token masking, attention padding masks, and labels that ignore unselected positions. Include a shape and loss invariant."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will reserve PAD, MASK, ... |
tq-000114 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Write a TensorFlow/Keras encoder-decoder LSTM for token sequence reconstruction with teacher forcing. Include shifted decoder inputs and targets, padding loss masking, and shape tests."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will use a start token ... |
tq-000115 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement a PyTorch mixed-precision training step for a CNN using autocast and GradScaler. Include dtype and shape traces, gradient unscaling before clipping, and a finite-loss invariant."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will keep parameters... |
tq-000116 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Write a TensorFlow/Keras mixed-precision CNN training example. Configure the policy correctly, preserve float32 logits for the loss boundary, and include dtype and shape assertions."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will set a global mixed-fl... |
tq-000117 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement PyTorch checkpointing for a CNN that resumes model, optimizer, epoch, and random number generator state. Include a deterministic continuation test and shape invariants."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will checkpoint model state, ... |
tq-000118 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Write a TensorFlow/Keras checkpointing example that saves the best validation loss, restores the best weights, and verifies that validation uses the restored state rather than the last epoch."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will use ModelCh... |
tq-000119 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Design a PyTorch DistributedDataParallel training skeleton for a CNN. Include rank-aware device setup, DistributedSampler usage, validation aggregation, and reproducible per-rank seeding without fake launch claims."
},
{
"role": "assistant",
"content": "<|reason|>Dr... |
tq-000120 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Implement a TensorFlow/Keras MirroredStrategy CNN training design with correct global batch reasoning, validation, and reproducible dataset options. Include distribution-safe shape checks."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will create the str... |
tq-000121 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Repair a PyTorch CNN whose linear head fails because inputs can be 30 by 30 or 32 by 32. Add a debugging tensor-shape trace and a robust invariant without hiding channel-order errors."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will inspect the tensor ... |
tq-000122 | AI-Training-Code | null | Max Overthinking | [
{
"role": "user",
"content": "Build a Keras CNN debugging example for a channel-order and label-shape bug. Use explicit Input shape, sparse labels, and tests that expose a rank mismatch before fitting."
},
{
"role": "assistant",
"content": "<|reason|>Draft: I will define the Keras input as chann... |
End of preview. Expand in Data Studio
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
WE ARE ON PHASE 8 AND ORION IS STILL KINDA DUMB πππ
- Downloads last month
- 40