Skip to content

Instantly share code, notes, and snippets.

View mm-parthy's full-sized avatar

Parthy mm-parthy

View GitHub Profile
@mm-parthy
mm-parthy / models.md
Created July 22, 2025 14:20
Udpated Models Example#

Available Models as of July 22, 2025

Main Models

Provider Model Name SWE Score Input Cost Output Cost
anthropic claude-sonnet-4-20250514 0.727 3 15
anthropic claude-opus-4-20250514 0.725 15 75
anthropic claude-3-7-sonnet-20250219 0.623 3 15
anthropic claude-3-5-sonnet-20241022 0.49 3 15
@mm-parthy
mm-parthy / update_subtask_bug_analysis.md
Created July 18, 2025 10:28
Task Master update_subtask command bug analysis and fix

Task Master update_subtask Command Bug Analysis

🐛 Bug Description

The update_subtask command is failing with the error:

Error: "Cannot read properties of undefined (reading 'replace')"

This appears to be a bug in the update_subtask functionality. All other subtask operations work correctly.

Boundary-First Tag Resolution

TLDR: "Any function that re-detects the tag invites race conditions. Resolve it in the CLI/MCP layer, thread { projectRoot, tag } everywhere else, and keep IO dumb."

"Boundary resolves, context carries, IO obeys."

1 Current Coverage —

1.1 CLI Commands (scripts/modules/commands.js)

@mm-parthy
mm-parthy / bind-backup.sh
Created September 14, 2021 13:54 — forked from upsuper/bind-backup.sh
Script to automatically bind and unbind external USB drive on Synology NAS
#!/bin/bash
SERIAL="00000000"
echo "Looking for device with serial $SERIAL..."
for d in /sys/bus/usb/devices/*-*; do
if [[ -f "$d/serial" ]]; then
serial=$(<"$d/serial")
if [[ "$serial" = "$SERIAL" ]]; then
device="$(basename $d)"
@mm-parthy
mm-parthy / machine.js
Created August 6, 2020 11:54
Generated by XState Viz: https://xstate.js.org/viz
const feedbackMachine = Machine({
id: 'feedback',
initial: 'question',
states: {
question: {
on: {
CLICK_GOOD: 'thanks',
CLICK_BAD: 'form',
CLOSE: 'closed',
ESC: 'closed'