From 24de19c8bb99bc971b7482a9d5fbe1c57f3c9b98 Mon Sep 17 00:00:00 2001 From: addisonhoward Date: Thu, 16 Jul 2026 18:34:30 +0000 Subject: [PATCH 1/3] Fix doubled word "the the" in search_api_service SDK docstrings Corrected a typo in the `user_locations` documentation where "the the" appeared instead of "the". Co-authored-by: kaggle-agent --- .claude/settings.local.json | 15 ++++++++ .kagent-context/session-info.json | 39 ++++++++++++++++++++ kagglesdk/search/types/search_api_service.py | 4 +- 3 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 .claude/settings.local.json create mode 100644 .kagent-context/session-info.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..6da8f93 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,15 @@ +{ + "hooks": { + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "/git/.home/.agent-bin/block-git-commands.sh" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/.kagent-context/session-info.json b/.kagent-context/session-info.json new file mode 100644 index 0000000..116f36f --- /dev/null +++ b/.kagent-context/session-info.json @@ -0,0 +1,39 @@ +{ + "task_id": "addisonhoward-20260716182752-c4749de5", + "agent_type": "claude", + "session_id": "2c1df717-c472-445f-9dd3-90a87d787c5d", + "updated_at": "2026-07-16T18:34:30Z", + "resume_command": "claude --resume 2c1df717-c472-445f-9dd3-90a87d787c5d", + "usage": { + "total_cost_usd": 1.22438675, + "input_tokens": 3404, + "output_tokens": 1008, + "cache_read_input_tokens": 204342, + "cache_creation_input_tokens": 173687, + "duration_ms": 22098, + "duration_api_ms": 22196, + "num_turns": 7, + "model_usage": { + "claude-haiku-4-5@20251001": { + "inputTokens": 1257, + "outputTokens": 26, + "cacheReadInputTokens": 0, + "cacheCreationInputTokens": 0, + "webSearchRequests": 0, + "costUSD": 0.001387, + "contextWindow": 200000, + "maxOutputTokens": 32000 + }, + "claude-opus-4-8@default": { + "inputTokens": 2147, + "outputTokens": 982, + "cacheReadInputTokens": 204342, + "cacheCreationInputTokens": 173687, + "webSearchRequests": 0, + "costUSD": 1.22299975, + "contextWindow": 200000, + "maxOutputTokens": 64000 + } + } + } +} \ No newline at end of file diff --git a/kagglesdk/search/types/search_api_service.py b/kagglesdk/search/types/search_api_service.py index 06c3c30..c9e0dbd 100644 --- a/kagglesdk/search/types/search_api_service.py +++ b/kagglesdk/search/types/search_api_service.py @@ -1174,7 +1174,7 @@ class ApiSearchUsersFilters(KaggleObject): Attributes: user_locations (str) - Filter to users that have one of the the specified locations. Expects the + Filter to users that have one of the specified locations. Expects the format: 'city, region, country' for each. tier (UserAchievementTier) Filter to users that have the specified performance tier. @@ -1203,7 +1203,7 @@ def __init__(self): @property def user_locations(self) -> Optional[List[str]]: r""" - Filter to users that have one of the the specified locations. Expects the + Filter to users that have one of the specified locations. Expects the format: 'city, region, country' for each. """ return self._user_locations From f5fddcdeb408b13836933c533c8328a231a0e5e0 Mon Sep 17 00:00:00 2001 From: addisonhoward Date: Thu, 16 Jul 2026 19:15:45 +0000 Subject: [PATCH 2/3] Remove unrelated config files from typo-fix PR Reverted the accidental .claude/settings.local.json and .kagent-context/session-info.json changes so this PR only contains the docstring typo fix, per reviewer feedback. Co-authored-by: kaggle-agent --- .claude/settings.local.json | 15 ------------ .kagent-context/session-info.json | 38 ++++++++++++------------------- 2 files changed, 14 insertions(+), 39 deletions(-) delete mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json deleted file mode 100644 index 6da8f93..0000000 --- a/.claude/settings.local.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "hooks": { - "PreToolUse": [ - { - "matcher": "Bash", - "hooks": [ - { - "type": "command", - "command": "/git/.home/.agent-bin/block-git-commands.sh" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/.kagent-context/session-info.json b/.kagent-context/session-info.json index 116f36f..5e99b65 100644 --- a/.kagent-context/session-info.json +++ b/.kagent-context/session-info.json @@ -2,35 +2,25 @@ "task_id": "addisonhoward-20260716182752-c4749de5", "agent_type": "claude", "session_id": "2c1df717-c472-445f-9dd3-90a87d787c5d", - "updated_at": "2026-07-16T18:34:30Z", + "updated_at": "2026-07-16T19:15:45Z", "resume_command": "claude --resume 2c1df717-c472-445f-9dd3-90a87d787c5d", "usage": { - "total_cost_usd": 1.22438675, - "input_tokens": 3404, - "output_tokens": 1008, - "cache_read_input_tokens": 204342, - "cache_creation_input_tokens": 173687, - "duration_ms": 22098, - "duration_api_ms": 22196, - "num_turns": 7, + "total_cost_usd": 1.7722790000000002, + "input_tokens": 3542, + "output_tokens": 1939, + "cache_read_input_tokens": 455959, + "cache_creation_input_tokens": 237386, + "duration_ms": 42818, + "duration_api_ms": 42042, + "num_turns": 12, "model_usage": { - "claude-haiku-4-5@20251001": { - "inputTokens": 1257, - "outputTokens": 26, - "cacheReadInputTokens": 0, - "cacheCreationInputTokens": 0, - "webSearchRequests": 0, - "costUSD": 0.001387, - "contextWindow": 200000, - "maxOutputTokens": 32000 - }, "claude-opus-4-8@default": { - "inputTokens": 2147, - "outputTokens": 982, - "cacheReadInputTokens": 204342, - "cacheCreationInputTokens": 173687, + "inputTokens": 138, + "outputTokens": 931, + "cacheReadInputTokens": 251617, + "cacheCreationInputTokens": 63699, "webSearchRequests": 0, - "costUSD": 1.22299975, + "costUSD": 0.5478922500000001, "contextWindow": 200000, "maxOutputTokens": 64000 } From 6f654392299635e6983b612d59e45935831c7292 Mon Sep 17 00:00:00 2001 From: addisonhoward Date: Fri, 17 Jul 2026 16:19:22 +0000 Subject: [PATCH 3/3] Untrack harness-generated context files via .gitignore Removed .kagent-context/session-info.json and added .kagent-context/ and .claude/ to .gitignore. These files are regenerated by the agent harness each turn and kept reappearing in the PR after manual removal; ignoring them keeps the branch limited to the actual fix. Co-authored-by: kaggle-agent --- .gitignore | 2 ++ .kagent-context/session-info.json | 29 ----------------------------- 2 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 .kagent-context/session-info.json diff --git a/.gitignore b/.gitignore index 51eeed7..8a48689 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ __pycache__/ dist/ .idea +.kagent-context/ +.claude/ diff --git a/.kagent-context/session-info.json b/.kagent-context/session-info.json deleted file mode 100644 index 5e99b65..0000000 --- a/.kagent-context/session-info.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "task_id": "addisonhoward-20260716182752-c4749de5", - "agent_type": "claude", - "session_id": "2c1df717-c472-445f-9dd3-90a87d787c5d", - "updated_at": "2026-07-16T19:15:45Z", - "resume_command": "claude --resume 2c1df717-c472-445f-9dd3-90a87d787c5d", - "usage": { - "total_cost_usd": 1.7722790000000002, - "input_tokens": 3542, - "output_tokens": 1939, - "cache_read_input_tokens": 455959, - "cache_creation_input_tokens": 237386, - "duration_ms": 42818, - "duration_api_ms": 42042, - "num_turns": 12, - "model_usage": { - "claude-opus-4-8@default": { - "inputTokens": 138, - "outputTokens": 931, - "cacheReadInputTokens": 251617, - "cacheCreationInputTokens": 63699, - "webSearchRequests": 0, - "costUSD": 0.5478922500000001, - "contextWindow": 200000, - "maxOutputTokens": 64000 - } - } - } -} \ No newline at end of file