repo stringlengths 8 51 | unit stringlengths 0 34 | subject stringlengths 8 200 | granularity stringclasses 2
values | spec_source stringclasses 2
values | spec stringlengths 20 2.13k | source_before stringlengths 78 58.2k | source_after stringlengths 123 58.4k | test_file stringlengths 7 75 | fail_to_pass listlengths 1 36 | committed_at stringdate 2010-06-13 00:00:00 2026-08-17 00:00:00 | parent_at stringdate 2010-06-12 00:00:00 2026-08-17 00:00:00 | license stringclasses 6
values | license_file stringclasses 8
values | also_in stringclasses 6
values | commit stringlengths 40 40 | parent stringlengths 40 40 | commit_url stringlengths 75 118 | repo_url stringlengths 27 70 | module stringlengths 2 75 | units_changed listlengths 1 6 | diff_lines int64 1 25 | n_tests int64 1 36 | fingerprint stringlengths 16 16 | id stringlengths 25 119 | language stringclasses 1
value | validated_at stringdate 2026-08-17 00:00:00 2026-08-18 00:00:00 | validator stringclasses 1
value | schema_version int64 1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sbdchd/flake8-pie | fix(rule): false positive for prefer dataclass (#44) | file | commit | fix(rule): false positive for prefer dataclass (#44) | from __future__ import annotations
import ast
from functools import partial
from typing import Sequence
from flake8_pie.base import Error
def _is_dataclass_like_stmt(stmt: ast.stmt) -> bool:
return isinstance(stmt, ast.AnnAssign) or (
isinstance(stmt, ast.FunctionDef) and stmt.name == "__init__"
)
... | from __future__ import annotations
import ast
from functools import partial
from typing import Sequence
from flake8_pie.base import Error
def _has_dataclass_like_body(body: Sequence[ast.stmt]) -> bool:
"""
Has at least one dataclass like assignment stmt and doesn't have any
methods besides __init__.
... | flake8_pie/tests/test_pie793_prefer_dataclass.py | [
"flake8_pie/tests/test_pie793_prefer_dataclass.py::test_prefer_dataclass[\\nclass"
] | 2021-04-15 | 2021-04-12 | BSD-2-Clause | LICENSE | c84f9e6e4224f6ae943a40934be738f436f75a42 | 349e0a33b3b68d4be19eda8159e032b137c31223 | https://github.com/sbdchd/flake8-pie/commit/c84f9e6e4224f6ae943a40934be738f436f75a42 | https://github.com/sbdchd/flake8-pie | flake8_pie.pie793_prefer_dataclass | [
"pie793_prefer_dataclass"
] | 20 | 1 | 6d9e44d5c158ad71 | sbdchd/flake8-pie@c84f9e6e4#flake8_pie/pie793_prefer_dataclass.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
GODGOD126/codex-history-sync-tool | fix: support modern Codex state database path | file | commit | fix: support modern Codex state database path | from __future__ import annotations
import argparse
import json
import re
import sqlite3
import time
from collections import OrderedDict
from collections.abc import Iterator
from contextlib import contextmanager
from dataclasses import dataclass
from datetime import datetime, timezone
from pathlib import Path
SESSION_... | from __future__ import annotations
import argparse
import json
import re
import sqlite3
import time
from collections import OrderedDict
from collections.abc import Iterator
from contextlib import contextmanager
from dataclasses import dataclass
from datetime import datetime, timezone
from pathlib import Path
SESSION_... | tests/test_sync_backend.py | [
"tests/test_sync_backend.py::SyncBackendTests::test_resolve_paths_prefers_modern_sqlite_state_directory",
"tests/test_sync_backend.py::SyncBackendTests::test_session_file_without_model_is_current_when_provider_matches"
] | 2026-06-14 | 2026-04-27 | MIT | LICENSE | 0925066f2e3169031fe5ed520050184fcca093db | de2ba346eb56f7e56e34bab358fee5a8ae4dbc98 | https://github.com/GODGOD126/codex-history-sync-tool/commit/0925066f2e3169031fe5ed520050184fcca093db | https://github.com/GODGOD126/codex-history-sync-tool | sync_backend | [
"get_status",
"resolve_paths",
"sync_session_records",
"to_json"
] | 16 | 2 | a596badc8f7b2677 | GODGOD126/codex-history-sync-tool@0925066f2#sync_backend.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
easylink-ai-open/agent-runtime | Fix Anthropic data URL image serialization | file | commit | Fix Anthropic data URL image serialization | """Anthropic messages-API wire converter.
Pure functions mapping the neutral model <-> Anthropic dict shapes.
Key shape differences handled here:
- system prompt is a top-level param, not a message
- assistant tool calls are tool_use content blocks (input is an object)
- tool results are tool_result content blocks in... | """Anthropic messages-API wire converter.
Pure functions mapping the neutral model <-> Anthropic dict shapes.
Key shape differences handled here:
- system prompt is a top-level param, not a message
- assistant tool calls are tool_use content blocks (input is an object)
- tool results are tool_result content blocks in... | tests/test_multimodal.py | [
"tests/test_multimodal.py::test_anthropic_base64_data_url_image"
] | 2026-07-23 | 2026-07-13 | Apache-2.0 | LICENSE | a9447bb5d9f3ab3b258fd399e9a1619c97e621fd | 41a1538ea531aa8d4d6c1a294b508bdc7bf879c0 | https://github.com/easylink-ai-open/agent-runtime/commit/a9447bb5d9f3ab3b258fd399e9a1619c97e621fd | https://github.com/easylink-ai-open/agent-runtime | agent_runtime.llm.anthropic | [
"_image_source"
] | 14 | 1 | 69e42bbdb80c1424 | easylink-ai-open/agent-runtime@a9447bb5d#src/agent_runtime/llm/anthropic.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
gaogaotiantian/watchpoints | Fix comparing with None bug | file | commit | Fix comparing with None bug | # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/gaogaotiantian/watchpoints/blob/master/NOTICE.txt
from .ast_monkey import ast_parse_node
import copy
class WatchElement:
def __init__(self, frame, node, alias=None, default_alias=None, printer=None,... | # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/gaogaotiantian/watchpoints/blob/master/NOTICE.txt
from .ast_monkey import ast_parse_node
import copy
class WatchElement:
def __init__(self, frame, node, alias=None, default_alias=None, printer=None,... | tests/test_watch_element.py | [
"tests/test_watch_element.py::TestWatchElement::test_changed"
] | 2020-12-07 | 2020-12-07 | Apache-2.0 | LICENSE | e75bd1b11e84d9c11b7c26350ae616426b6360a1 | 961533916e94dc232d1833a3ba66610b99afba43 | https://github.com/gaogaotiantian/watchpoints/commit/e75bd1b11e84d9c11b7c26350ae616426b6360a1 | https://github.com/gaogaotiantian/watchpoints | watchpoints.watch_element | [
"WatchElement"
] | 10 | 1 | 58463fef154744c0 | gaogaotiantian/watchpoints@e75bd1b11#src/watchpoints/watch_element.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
channable/opnieuw | Raise a ``UserWarning`` when ``max_calls_total < 2`` | file | commit | Raise a ``UserWarning`` when ``max_calls_total < 2`` | # Opnieuw: Retries for humans
# Copyright 2019 Channable
#
# Licensed under the 3-clause BSD license, see the LICENSE file in the repository root.
# pylint: disable=raising-bad-type
from __future__ import annotations
import asyncio
import functools
import logging
import random
import sys
import time
from collections... | # Opnieuw: Retries for humans
# Copyright 2019 Channable
#
# Licensed under the 3-clause BSD license, see the LICENSE file in the repository root.
# pylint: disable=raising-bad-type
from __future__ import annotations
import asyncio
import functools
import logging
import random
import sys
import time
import warnings
... | tests/test_opnieuw.py | [
"tests/test_opnieuw.py::TestWarningOnOneRetry::test_raise_warning_for_retry_once"
] | 2023-11-14 | 2023-11-13 | BSD-3-Clause | LICENSE | b973768ac3683872c03f342ee0f60ba03169e5fd | 2db14169bf87deab56ff767e955383b20412f7d7 | https://github.com/channable/opnieuw/commit/b973768ac3683872c03f342ee0f60ba03169e5fd | https://github.com/channable/opnieuw | opnieuw.retries | [
"retry",
"retry_async"
] | 21 | 1 | 140c1f61c8935945 | channable/opnieuw@b973768ac#opnieuw/retries.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
chakki-works/sumeval | fix stemming import #4 | file | commit | fix stemming import #4 | import os
from pathlib import Path
class BaseLang():
_PARSER = None
def __init__(self, lang):
self.lang = lang
self._stopwords = []
self._stemming = {}
def load_parser(self):
if self._PARSER is None:
import spacy
self._PARSER = spacy.load(self.lang... | import os
from pathlib import Path
class BaseLang():
_PARSER = None
def __init__(self, lang):
self.lang = lang
self._stopwords = []
self._stemming = {}
def load_parser(self):
if self._PARSER is None:
import spacy
self._PARSER = spacy.load(self.lang... | tests/test_lang_en.py | [
"tests/test_lang_en.py::TestLangEN::test_stemming"
] | 2018-01-20 | 2018-01-20 | Apache-2.0 | LICENSE | aaed5286359c4f26b24cc3b0bc6c5c0e2e80dc61 | d37e4bdc68702856483ac5f0f96407117ba64742 | https://github.com/chakki-works/sumeval/commit/aaed5286359c4f26b24cc3b0bc6c5c0e2e80dc61 | https://github.com/chakki-works/sumeval | sumeval.metrics.lang.base_lang | [
"BaseLang"
] | 4 | 1 | faff935d5fb9c2e7 | chakki-works/sumeval@aaed52863#sumeval/metrics/lang/base_lang.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
patrick-kidger/tinyio | Yielding already-started (but not yet completed, and not yet seen by the loop) generators will now correctly raise an error. | file | commit | Yielding already-started (but not yet completed, and not yet seen by the loop) generators will now correctly raise an error. | import collections as co
import contextlib
import dataclasses
import enum
import graphlib
import heapq
import inspect
import threading
import time
import traceback
import types
import warnings
import weakref
from collections.abc import Callable, Generator
from typing import Any, TypeAlias, TypeVar
from ._utils import ... | import collections as co
import contextlib
import dataclasses
import enum
import graphlib
import heapq
import inspect
import threading
import time
import traceback
import types
import warnings
import weakref
from collections.abc import Callable, Generator
from typing import Any, TypeAlias, TypeVar
from ._utils import ... | tests/test_core.py | [
"tests/test_core.py::test_yield_finished_coroutine[bare]",
"tests/test_core.py::test_yield_finished_coroutine[list]",
"tests/test_core.py::test_yield_finished_coroutine[set]",
"tests/test_core.py::test_yield_started_generator[bare]",
"tests/test_core.py::test_yield_started_generator[list]",
"tests/test_co... | 2026-03-14 | 2026-03-14 | Apache-2.0 | LICENSE | 199c5a01c132ef0adb72b5698ce9fe8d12cd9d44 | e43ae61239c188dc7063c38b7131e21be6dd1d21 | https://github.com/patrick-kidger/tinyio/commit/199c5a01c132ef0adb72b5698ce9fe8d12cd9d44 | https://github.com/patrick-kidger/tinyio | tinyio._core | [
"Loop"
] | 12 | 6 | 196539643abedf5d | patrick-kidger/tinyio@199c5a01c#tinyio/_core.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
renatopp/liac-arff | FIX #61, remove trailing comment lines | file | commit | FIX #61, remove trailing comment lines | # -*- coding: utf-8 -*-
# =============================================================================
# Federal University of Rio Grande do Sul (UFRGS)
# Connectionist Artificial Intelligence Laboratory (LIAC)
# Renato de Pontes Pereira - rppereira@inf.ufrgs.br
# ======================================================... | # -*- coding: utf-8 -*-
# =============================================================================
# Federal University of Rio Grande do Sul (UFRGS)
# Connectionist Artificial Intelligence Laboratory (LIAC)
# Renato de Pontes Pereira - rppereira@inf.ufrgs.br
# ======================================================... | tests/test_dump.py | [
"tests/test_dump.py::TestDump::test_simple"
] | 2018-03-14 | 2018-03-14 | MIT | LICENSE | c143c479f84476d686350bce793204f23753704f | a34d1f94b4212145ee030811f74d92b17b8893cf | https://github.com/renatopp/liac-arff/commit/c143c479f84476d686350bce793204f23753704f | https://github.com/renatopp/liac-arff | arff | [
"ArffEncoder"
] | 6 | 1 | 3da7245cf7992121 | renatopp/liac-arff@c143c479f#arff.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
renatopp/liac-arff | Conversor | FIX do not interpret '?' as null | function | docstring | Conversor is a helper used for converting ARFF types to Python types. | class Conversor(object):
'''Conversor is a helper used for converting ARFF types to Python types.'''
def __init__(self, type_, values=None):
'''Contructor.'''
self.values = values
if type_ == 'NUMERIC' or type_ == 'REAL':
self._conversor = self._float
elif type_ ==... | class Conversor(object):
'''Conversor is a helper used for converting ARFF types to Python types.'''
def __init__(self, type_, values=None):
'''Contructor.'''
self.values = values
if type_ == 'NUMERIC' or type_ == 'REAL':
self._conversor = self._float
elif type_ ==... | tests/test_loads.py | [
"tests/test_loads.py::TestLoads::test_quoted_null"
] | 2017-02-01 | 2017-02-01 | MIT | LICENSE | 9106518722294d84582ca14d4ef7fe30f1058e12 | 94ef6563d8c10502f4dd62794ac920a0322d7a51 | https://github.com/renatopp/liac-arff/commit/9106518722294d84582ca14d4ef7fe30f1058e12 | https://github.com/renatopp/liac-arff | arff | [
"Conversor"
] | 4 | 1 | 4e57cf76d16d38f3 | renatopp/liac-arff@910651872#Conversor | python | 2026-08-18 | goldset/0.1 | 1 | |
slomkowski/nginx-config-formatter | Fix error which split line when it contained backslash. Fixes #5 | file | commit | Fix error which split line when it contained backslash. Fixes #5 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""This Python script formats nginx configuration files in consistent way.
Originally published under https://github.com/1connect/nginx-config-formatter
"""
import argparse
import codecs
import re
__author__ = "Michał Słomkowski"
__license__ = "Apache 2.0"
__version__... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""This Python script formats nginx configuration files in consistent way.
Originally published under https://github.com/1connect/nginx-config-formatter
"""
import argparse
import codecs
import re
__author__ = "Michał Słomkowski"
__license__ = "Apache 2.0"
__version__... | test_nginxfmt.py | [
"test_nginxfmt.py::TestFormatter::test_backslash",
"test_nginxfmt.py::TestFormatter::test_clean_lines"
] | 2017-07-26 | 2017-07-20 | Apache-2.0 | LICENSE | f5a26225bd7ad5ea97fc6f681cc66fef2f43d5b6 | 4488f2ee63fa73a20a3499f145277dec8cb2f0c2 | https://github.com/slomkowski/nginx-config-formatter/commit/f5a26225bd7ad5ea97fc6f681cc66fef2f43d5b6 | https://github.com/slomkowski/nginx-config-formatter | nginxfmt | [
"clean_lines",
"format_config_contents"
] | 9 | 2 | f6cae73c854eb0d6 | slomkowski/nginx-config-formatter@f5a26225b#nginxfmt.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
slomkowski/nginx-config-formatter | Fix error with brackets in comments. | file | commit | Fix error with brackets in comments. | #!/usr/bin/env python3
"""add module description
"""
import argparse
import re
__author__ = "Michał Słomkowski"
__license__ = "Apache 2.0"
INDENTATION = ' ' * 4
def strip_line(single_line):
"""Strips the line and replaces neighbouring whitespaces with single space (except when within quotation marks)."""
... | #!/usr/bin/env python3
"""add module description
"""
import argparse
import re
__author__ = "Michał Słomkowski"
__license__ = "Apache 2.0"
INDENTATION = ' ' * 4
def strip_line(single_line):
"""Strips the line and replaces neighbouring whitespaces with single space (except when within quotation marks)."""
... | test_nginxfmt.py | [
"test_nginxfmt.py::TestFormatter::test_clear_lines",
"test_nginxfmt.py::TestFormatter::test_perform_indentation"
] | 2016-06-16 | 2016-06-16 | Apache-2.0 | LICENSE | 0c28d599c0d7bd7be1312f746e42acf7313a5d6d | 73f01a74ec370ba78db50c065938f1ced9dcbd28 | https://github.com/slomkowski/nginx-config-formatter/commit/0c28d599c0d7bd7be1312f746e42acf7313a5d6d | https://github.com/slomkowski/nginx-config-formatter | nginxfmt | [
"clean_lines",
"perform_indentation"
] | 9 | 2 | b0bbb7f356e6fc94 | slomkowski/nginx-config-formatter@0c28d599c#nginxfmt.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ilevkivskyi/com2ann | Fix keyword-only arguments (#23) | file | commit | Fix keyword-only arguments (#23) | """Helper module to translate type comments to type annotations.
The key idea of this module is to perform the translation while preserving
the original formatting as much as possible. We try to be not opinionated
about code formatting and therefore work at the source code and tokenizer level
instead of modifying AST ... | """Helper module to translate type comments to type annotations.
The key idea of this module is to perform the translation while preserving
the original formatting as much as possible. We try to be not opinionated
about code formatting and therefore work at the source code and tokenizer level
instead of modifying AST ... | src/test_com2ann.py | [
"src/test_com2ann.py::FunctionTestCase::test_keyword_only_args"
] | 2019-06-12 | 2019-06-12 | MIT | LICENSE | 176c43e00cf36cdeec0b428c18e4bd8801b2a60d | 7b537d51f1adab0ab09eb8766a25c4c5e3819f4e | https://github.com/ilevkivskyi/com2ann/commit/176c43e00cf36cdeec0b428c18e4bd8801b2a60d | https://github.com/ilevkivskyi/com2ann | com2ann | [
"TypeCommentCollector"
] | 20 | 1 | ea1db7948eaa9b80 | ilevkivskyi/com2ann@176c43e00#src/com2ann.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ilevkivskyi/com2ann | Fix signature wrapping when return type contains commas (#21) | file | commit | Fix signature wrapping when return type contains commas (#21) | """Helper module to translate type comments to type annotations.
The key idea of this module is to perform the translation while preserving
the original formatting as much as possible. We try to be not opinionated
about code formatting and therefore work at the source code and tokenizer level
instead of modifying AST ... | """Helper module to translate type comments to type annotations.
The key idea of this module is to perform the translation while preserving
the original formatting as much as possible. We try to be not opinionated
about code formatting and therefore work at the source code and tokenizer level
instead of modifying AST ... | src/test_com2ann.py | [
"src/test_com2ann.py::FunctionTestCase::test_wrap_lines"
] | 2019-06-12 | 2019-06-11 | MIT | LICENSE | 46505e6bbb7faa55af5aafecdedeeadd3965f4c5 | bb8a37fa473060623ff4589b3cf3f4ebf4f1eb09 | https://github.com/ilevkivskyi/com2ann/commit/46505e6bbb7faa55af5aafecdedeeadd3965f4c5 | https://github.com/ilevkivskyi/com2ann | com2ann | [
"wrap_function_header"
] | 5 | 1 | f3a14109e961132c | ilevkivskyi/com2ann@46505e6bb#src/com2ann.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ilevkivskyi/com2ann | Fix crash when type comment appears on continuation line (#17) | file | commit | Fix crash when type comment appears on continuation line (#17) | """Helper module to translate type comments to type annotations.
The key idea of this module is to perform the translation while preserving
the original formatting as much as possible. We try to be not opinionated
about code formatting and therefore work at the source code and tokenizer level
instead of modifying AST ... | """Helper module to translate type comments to type annotations.
The key idea of this module is to perform the translation while preserving
the original formatting as much as possible. We try to be not opinionated
about code formatting and therefore work at the source code and tokenizer level
instead of modifying AST ... | src/test_com2ann.py | [
"src/test_com2ann.py::AssignTestCase::test_comment_on_separate_line",
"src/test_com2ann.py::AssignTestCase::test_continuation_using_parens"
] | 2019-06-11 | 2019-06-11 | MIT | LICENSE | 18f47677f65423c757d78daf0b2955a1d6e184f9 | 9becb404cbfef645ea249b62863ef95c44a45349 | https://github.com/ilevkivskyi/com2ann/commit/18f47677f65423c757d78daf0b2955a1d6e184f9 | https://github.com/ilevkivskyi/com2ann | com2ann | [
"process_assign"
] | 14 | 2 | 6894e6bdc3b1023c | ilevkivskyi/com2ann@18f47677f#src/com2ann.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
akaihola/pgtricks | Warn instead of crash on unidentified SQL | file | commit | Warn instead of crash on unidentified SQL | #!/usr/bin/env python3
"""Split the output of ``pg_dump -s`` into a directory of SQL scripts
Each script is named after the object whose SQL statements it contains.
The ``search_path`` setting is initialized in each script according to the
value which was active in the original dump at that point.
Usage::
pg_d... | #!/usr/bin/env python3
"""Split the output of ``pg_dump -s`` into a directory of SQL scripts
Each script is named after the object whose SQL statements it contains.
The ``search_path`` setting is initialized in each script according to the
value which was active in the original dump at that point.
Usage::
pg_d... | pgtricks/tests/test_pg_split_schema_dump.py | [
"pgtricks/tests/test_pg_split_schema_dump.py::test_split_sql_file_unrecognized_content"
] | 2020-06-24 | 2020-06-23 | BSD-3-Clause | LICENSE | 7b69b11605ffc220877180656e2498fd3a8b3c6b | e7b9a5f6cdcc3fa874b215c77f3e87d4aee19d46 | https://github.com/akaihola/pgtricks/commit/7b69b11605ffc220877180656e2498fd3a8b3c6b | https://github.com/akaihola/pgtricks | pgtricks.pg_split_schema_dump | [
"split_sql_file"
] | 9 | 1 | 83ec2ebf482c4740 | akaihola/pgtricks@7b69b1160#pgtricks/pg_split_schema_dump.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
tusharsadhwani/zxpy | create_shell_process | Make zxpy raise on error | function | docstring | Creates a shell process, returning its stdout to read data from. | def create_shell_process(command: str) -> IO[bytes]:
"""Creates a shell process, returning its stdout to read data from."""
process = subprocess.Popen(
command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True
)
assert process.stdout is not None
return process.stdout | def create_shell_process(command: str) -> IO[bytes]:
"""Creates a shell process, returning its stdout to read data from."""
process = subprocess.Popen(
command,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
shell=True,
)
process.wait()
if process.returncode != 0:
... | tests/zxpy_test.py | [
"tests/zxpy_test.py::test_raise"
] | 2021-09-28 | 2021-09-28 | MIT | LICENSE | 975e9b0ed374f12729ea3104b0013911d968c9e1 | 0c067d3acdd9fd2adf0ad1b4bed1fbff641fe2b8 | https://github.com/tusharsadhwani/zxpy/commit/975e9b0ed374f12729ea3104b0013911d968c9e1 | https://github.com/tusharsadhwani/zxpy | zx | [
"create_shell_process"
] | 9 | 1 | 9e2a04b7e545ac1c | tusharsadhwani/zxpy@975e9b0ed#create_shell_process | python | 2026-08-18 | goldset/0.1 | 1 | |
MarcoGorelli/auto-walrus | Fix incorrect rewrite with --unsafe on nested functions | file | commit | Fix incorrect rewrite with --unsafe on nested functions | from __future__ import annotations
import argparse
import ast
import dataclasses
import os
import pathlib
import re
import sys
from typing import Any
from typing import Iterable
from typing import Sequence
from typing import Tuple
if sys.version_info >= (3, 11): # pragma: no cover
import tomllib
else: # pragma:... | from __future__ import annotations
import argparse
import ast
import dataclasses
import os
import pathlib
import re
import sys
from typing import Any
from typing import Iterable
from typing import Sequence
from typing import Tuple
if sys.version_info >= (3, 11): # pragma: no cover
import tomllib
else: # pragma:... | tests/main_test.py | [
"tests/main_test.py::test_rewrite_unsafe[def"
] | 2026-02-02 | 2026-02-02 | MIT | LICENSE | c9fe6730361e83d8d754b1261e5bb9aa66189e66 | d1f1f71b6e68e70cd0edaa073814bf5186e540f8 | https://github.com/MarcoGorelli/auto-walrus/commit/c9fe6730361e83d8d754b1261e5bb9aa66189e66 | https://github.com/MarcoGorelli/auto-walrus | auto_walrus | [
"auto_walrus"
] | 6 | 1 | e7d54aa2d9beaa4e | MarcoGorelli/auto-walrus@c9fe67303#auto_walrus.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
MarcoGorelli/auto-walrus | Require paths (would crash with `commonpath() arg is an empty sequence` otherwise) | file | commit | Require paths (would crash with `commonpath() arg is an empty sequence` otherwise) | from __future__ import annotations
import argparse
import ast
import os
import pathlib
import re
import sys
from typing import Any
from typing import Iterable
from typing import Sequence
from typing import Tuple
if sys.version_info >= (3, 11): # pragma: no cover
import tomllib
else: # pragma: no cover
impor... | from __future__ import annotations
import argparse
import ast
import os
import pathlib
import re
import sys
from typing import Any
from typing import Iterable
from typing import Sequence
from typing import Tuple
if sys.version_info >= (3, 11): # pragma: no cover
import tomllib
else: # pragma: no cover
impor... | tests/main_test.py | [
"tests/main_test.py::test_complains_when_no_paths"
] | 2026-02-02 | 2026-02-01 | MIT | LICENSE | f391a92391dcda2a482a9d57cdeb3a48a8c675f8 | 2eec88b31691527ef1d7f0e9400e1484fa8932b8 | https://github.com/MarcoGorelli/auto-walrus/commit/f391a92391dcda2a482a9d57cdeb3a48a8c675f8 | https://github.com/MarcoGorelli/auto-walrus | auto_walrus | [
"main"
] | 2 | 1 | 9d57af79b80007d2 | MarcoGorelli/auto-walrus@f391a9239#auto_walrus.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
seratch/ChatGPT-in-Slack | Fix bug with markdown translation within multiline code blocks and add unit tests | file | commit | Fix bug with markdown translation within multiline code blocks and add unit tests | import re
# Conversion from Slack mrkdwn to OpenAI markdown
# See also: https://api.slack.com/reference/surfaces/formatting#basics
def slack_to_markdown(content: str) -> str:
# Split the input string into parts based on code blocks and inline code
parts = re.split(r"(```.+?```|`[^`\n]+?`)", content)
# Ap... | import re
# Conversion from Slack mrkdwn to OpenAI markdown
# See also: https://api.slack.com/reference/surfaces/formatting#basics
def slack_to_markdown(content: str) -> str:
# Split the input string into parts based on code blocks and inline code
parts = re.split(r"(?s)(```.+?```|`[^`\n]+?`)", content)
... | tests/markdown_test.py | [
"tests/markdown_test.py::test_markdown_to_slack",
"tests/markdown_test.py::test_slack_to_markdown"
] | 2023-05-07 | 2023-05-07 | MIT | LICENSE | e783f676ffe7842919ab68d84569818b65aec8a2 | bc6cc37603c882e4b6a07c05339ba00c09edc03c | https://github.com/seratch/ChatGPT-in-Slack/commit/e783f676ffe7842919ab68d84569818b65aec8a2 | https://github.com/seratch/ChatGPT-in-Slack | app.markdown | [
"markdown_to_slack",
"slack_to_markdown"
] | 4 | 2 | 6d52002e7b3221c9 | seratch/ChatGPT-in-Slack@e783f676f#app/markdown.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
karlicoss/orgparse | fix regression in orgparse.load method for file-like objects | file | commit | fix regression in orgparse.load method for file-like objects | # Import README.rst using cog
# [[[cog
# from cog import out
# out('"""\n{0}\n"""'.format(open('../README.rst').read()))
# ]]]
"""
===========================================================
orgparse - Python module for reading Emacs org-mode files
===========================================================
* `Docu... | # Import README.rst using cog
# [[[cog
# from cog import out
# out('"""\n{0}\n"""'.format(open('../README.rst').read()))
# ]]]
"""
===========================================================
orgparse - Python module for reading Emacs org-mode files
===========================================================
* `Docu... | orgparse/tests/test_misc.py | [
"orgparse/tests/test_misc.py::test_load_filelike"
] | 2021-01-08 | 2020-12-06 | BSD-2-Clause | LICENSE | 45b366eb5c23e4149d8bc7a319f10dc74888fe51 | ce8f6ccf60d6dca60c5f03890d730676a5d1ac21 | https://github.com/karlicoss/orgparse/commit/45b366eb5c23e4149d8bc7a319f10dc74888fe51 | https://github.com/karlicoss/orgparse | orgparse.__init__ | [
"load",
"loadi",
"loads"
] | 20 | 1 | f2842bf7cfd15c22 | karlicoss/orgparse@45b366eb5#orgparse/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
karlicoss/orgparse | fix for parsing empty heading | file | commit | fix for parsing empty heading | import re
import itertools
from typing import List, Iterable, Iterator, Optional, Union, Tuple, cast, Dict
try:
from collections.abc import Sequence
except ImportError:
from collections import Sequence
from .date import OrgDate, OrgDateClock, OrgDateRepeatedTask, parse_sdc
from .inline import to_plain_text
fro... | import re
import itertools
from typing import List, Iterable, Iterator, Optional, Union, Tuple, cast, Dict, Set
try:
from collections.abc import Sequence
except ImportError:
from collections import Sequence
from .date import OrgDate, OrgDateClock, OrgDateRepeatedTask, parse_sdc
from .inline import to_plain_tex... | orgparse/tests/test_misc.py | [
"orgparse/tests/test_misc.py::test_empty_heading"
] | 2020-11-01 | 2020-11-01 | BSD-2-Clause | LICENSE | 362f0865b2a281ad3afc761835bf966ef69ba29a | 18a836b34e9304c9dff7ddf6c7e3c9311d74748b | https://github.com/karlicoss/orgparse/commit/362f0865b2a281ad3afc761835bf966ef69ba29a | https://github.com/karlicoss/orgparse | orgparse.node | [
"OrgBaseNode",
"OrgNode",
"parse_heading_todos"
] | 23 | 1 | 06fd2c9127c491b9 | karlicoss/orgparse@362f0865b#orgparse/node.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
rsennrich/subword-nmt | fix regression from 7bb1c: don't duplicate empty line | file | commit | fix regression from 7bb1c: don't duplicate empty line | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Rico Sennrich
"""Use operations learned with learn_bpe.py to encode a new text.
The text will not be smaller, but use only a fixed vocabulary, with rare words
encoded as variable-length sequences of subword units.
Reference:
Rico Sennrich, Barry Haddow and Alexa... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Rico Sennrich
"""Use operations learned with learn_bpe.py to encode a new text.
The text will not be smaller, but use only a fixed vocabulary, with rare words
encoded as variable-length sequences of subword units.
Reference:
Rico Sennrich, Barry Haddow and Alexa... | test/test_bpe.py | [
"test/test_bpe.py::TestBPESegmentMethod::test_empty_line"
] | 2018-05-01 | 2018-05-01 | MIT | LICENSE | f4f95998c087ea5f3d267a9969e28ee65f183d3e | 662efd1b9d34ae6d3bfdfd5e6dffe2c72f2e7285 | https://github.com/rsennrich/subword-nmt/commit/f4f95998c087ea5f3d267a9969e28ee65f183d3e | https://github.com/rsennrich/subword-nmt | apply_bpe | [
"BPE"
] | 6 | 1 | d934e51bed0f9be0 | rsennrich/subword-nmt@f4f95998c#apply_bpe.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
arsenetar/send2trash | fix: Correct is_parent() path handling | file | commit | fix: Correct is_parent() path handling | # Copyright 2017 Virgil Dupras
# This software is licensed under the "BSD" License as described in the "LICENSE" file,
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/bsd_license
# This is a reimplementation of plat_other.py with reference to the
# fre... | # Copyright 2017 Virgil Dupras
# This software is licensed under the "BSD" License as described in the "LICENSE" file,
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/bsd_license
# This is a reimplementation of plat_other.py with reference to the
# fre... | tests/test_plat_other.py | [
"tests/test_plat_other.py::test_is_parent_substring_path_bug_e2e"
] | 2026-06-16 | 2026-01-27 | BSD-3-Clause | LICENSE | 522bafebc8075644d1ce66d03047aafb994ad615 | ad0f2af98418a5a577c05b8486949a1c05bf19e2 | https://github.com/arsenetar/send2trash/commit/522bafebc8075644d1ce66d03047aafb994ad615 | https://github.com/arsenetar/send2trash | send2trash.plat_other | [
"is_parent"
] | 3 | 1 | 0f915e8aab1a6ae8 | arsenetar/send2trash@522bafebc#send2trash/plat_other.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ionelmc/python-tblib | Prevent as_traceback mutating the object (turns out exec will add builtins to the globals). Add some tests that illustrate the bug. | file | commit | Prevent as_traceback mutating the object (turns out exec will add builtins to the globals). Add some tests that illustrate the bug. | import re
import sys
from types import CodeType
from types import TracebackType
try:
from __pypy__ import tproxy
except ImportError:
tproxy = None
try:
from .cpython import tb_set_next
except ImportError:
tb_set_next = None
if not tb_set_next and not tproxy:
raise ImportError("Cannot use tblib. Ru... | import re
import sys
from types import CodeType
from types import TracebackType
try:
from __pypy__ import tproxy
except ImportError:
tproxy = None
try:
from .cpython import tb_set_next
except ImportError:
tb_set_next = None
if not tb_set_next and not tproxy:
raise ImportError("Cannot use tblib. Ru... | tests/test_tblib.py | [
"tests/test_tblib.py::test_parse_traceback"
] | 2020-03-08 | 2020-03-08 | BSD-2-Clause | LICENSE | f9c2a0df17656d9b891041d8eebd708f35a7e944 | 84af30f33664c2962512c58ea72314d7e667a99b | https://github.com/ionelmc/python-tblib/commit/f9c2a0df17656d9b891041d8eebd708f35a7e944 | https://github.com/ionelmc/python-tblib | tblib.__init__ | [
"Traceback"
] | 2 | 1 | 1308a309ebda8299 | ionelmc/python-tblib@f9c2a0df1#src/tblib/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
benmoran56/esper | FIX: removing last component deletes entity as well (#83) | file | commit | FIX: removing last component deletes entity as well (#83) | import time as _time
from types import MethodType as _MethodType
from typing import Iterable as _Iterable
from typing import List as _List
from typing import Optional as _Optional
from typing import Tuple as _Tuple
from typing import Type as _Type
from typing import TypeVar as _TypeVar
from typing import Any as _Any
... | import inspect as _inspect
import time as _time
from types import MethodType as _MethodType
from typing import cast as _cast
from typing import Iterable as _Iterable
from typing import List as _List
from typing import Optional as _Optional
from typing import Tuple as _Tuple
from typing import Type as _Type
from typin... | tests/test_world.py | [
"tests/test_world.py::TestRemoveComponent::test_remove_component_returns_removed_instance",
"tests/test_world.py::TestRemoveComponent::test_remove_last_component_leaves_empty_entity"
] | 2023-05-10 | 2023-05-09 | MIT | LICENSE | 226d876e087406775650e363ed68872cb82999dc | 730b92940a5572aabb2948a01738072d5ea97792 | https://github.com/benmoran56/esper/commit/226d876e087406775650e363ed68872cb82999dc | https://github.com/benmoran56/esper | esper.__init__ | [
"World"
] | 13 | 2 | 2503a099d31533ee | benmoran56/esper@226d876e0#esper/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
benmoran56/esper | FIX: create_entity() do not create entity without components injected (#81) | file | commit | FIX: create_entity() do not create entity without components injected (#81) | import time as _time
from types import MethodType as _MethodType
from typing import Iterable as _Iterable
from typing import List as _List
from typing import Optional as _Optional
from typing import Tuple as _Tuple
from typing import Type as _Type
from typing import TypeVar as _TypeVar
from typing import Any as _Any
... | import time as _time
from types import MethodType as _MethodType
from typing import Iterable as _Iterable
from typing import List as _List
from typing import Optional as _Optional
from typing import Tuple as _Tuple
from typing import Type as _Type
from typing import TypeVar as _TypeVar
from typing import Any as _Any
... | tests/test_world.py | [
"tests/test_world.py::TestEntityExists::test_empty_entity",
"tests/test_world.py::test_adding_component_to_not_existing_entity_raises_error"
] | 2023-04-28 | 2023-04-06 | MIT | LICENSE | b9aee53bada68d6da73fbca3a6c5114f98620278 | c413eccd6eae12556d0fbad48298f259b6c7ea7b | https://github.com/benmoran56/esper/commit/b9aee53bada68d6da73fbca3a6c5114f98620278 | https://github.com/benmoran56/esper | esper.__init__ | [
"World"
] | 9 | 2 | 4d71fe61429b2341 | benmoran56/esper@b9aee53ba#esper/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
benmoran56/esper | Fix World.clear_database() not accounting for lazily deleted entities. | file | commit | Fix World.clear_database() not accounting for lazily deleted entities. | import time as _time
from functools import lru_cache as _lru_cache
class Processor:
"""Base class for all Processors to inherit from.
Processor instances must contain a `process` method. Other than that,
you are free to add any additional methods that are necessary. The process
method will be called... | import time as _time
from functools import lru_cache as _lru_cache
class Processor:
"""Base class for all Processors to inherit from.
Processor instances must contain a `process` method. Other than that,
you are free to add any additional methods that are necessary. The process
method will be called... | tests/test_world.py | [
"tests/test_world.py::test_clear_database"
] | 2018-01-06 | 2017-10-22 | MIT | LICENSE | 05dee82b004f7c64cbb013fdc86dc306e94d7b9c | 32b47987d0a1ed37fa753ac9f1f1b618580655ab | https://github.com/benmoran56/esper/commit/05dee82b004f7c64cbb013fdc86dc306e94d7b9c | https://github.com/benmoran56/esper | esper | [
"World"
] | 1 | 1 | b72f1b9eaf8151f7 | benmoran56/esper@05dee82b0#esper.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix(unparse): serialize None text/attrs as empty values (fixes #401) | file | commit | fix(unparse): serialize None text/attrs as empty values (fixes #401) | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator, escape
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
from inspect import isgenerator
class ParsingInterrupted(Exception):
pass
class ... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator, escape
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
from inspect import isgenerator
class ParsingInterrupted(Exception):
pass
class ... | tests/test_dicttoxml.py | [
"tests/test_dicttoxml.py::test_none_attribute_serializes_as_empty_string",
"tests/test_dicttoxml.py::test_none_text_with_short_empty_elements_and_attributes"
] | 2026-02-15 | 2025-10-27 | MIT | LICENSE | aa165113bef2b3a1a822209863343b9dc9ffe43a | f7d76c96fc0141238947abcc5fa925d3ffd9eb78 | https://github.com/martinblech/xmltodict/commit/aa165113bef2b3a1a822209863343b9dc9ffe43a | https://github.com/martinblech/xmltodict | xmltodict | [
"_emit"
] | 11 | 2 | ea9a70046e200315 | martinblech/xmltodict@aa165113b#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix: allow DOCTYPE with disable_entities=True (default) | file | commit | fix: allow DOCTYPE with disable_entities=True (default) | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator, escape
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
from inspect import isgenerator
class ParsingInterrupted(Exception):
pass
class ... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator, escape
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
from inspect import isgenerator
class ParsingInterrupted(Exception):
pass
class ... | tests/test_xmltodict.py | [
"tests/test_xmltodict.py::test_disable_entities_true_allows_doctype_without_entities",
"tests/test_xmltodict.py::test_external_entity",
"tests/test_xmltodict.py::test_external_entity_with_custom_expat"
] | 2025-09-17 | 2025-09-16 | MIT | LICENSE | 25b61a41f580cfc211df07c5fbbf603bd8eb5a5f | a2a9ab7e0692a62f64d97ff12553d0d53368c854 | https://github.com/martinblech/xmltodict/commit/25b61a41f580cfc211df07c5fbbf603bd8eb5a5f | https://github.com/martinblech/xmltodict | xmltodict | [
"parse"
] | 17 | 3 | e941e5834237e664 | martinblech/xmltodict@25b61a41f#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix: fail closed when entities disabled | file | commit | fix: fail closed when entities disabled | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator, escape
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
from inspect import isgenerator
class ParsingInterrupted(Exception):
pass
class ... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator, escape
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
from inspect import isgenerator
class ParsingInterrupted(Exception):
pass
class ... | tests/test_xmltodict.py | [
"tests/test_xmltodict.py::test_disable_entities_true_rejects_external_dtd",
"tests/test_xmltodict.py::test_disable_entities_true_rejects_xmlbomb"
] | 2025-09-16 | 2025-09-16 | MIT | LICENSE | c986d2d37a93d45fcc059b09063d9d9c45a655ec | 3d4d2d3a4cd0f68d1211dba549010261fa87b969 | https://github.com/martinblech/xmltodict/commit/c986d2d37a93d45fcc059b09063d9d9c45a655ec | https://github.com/martinblech/xmltodict | xmltodict | [
"parse"
] | 21 | 2 | 489c3fa51e2bf8c7 | martinblech/xmltodict@c986d2d37#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix: validate XML comments | file | commit | fix: validate XML comments | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator, escape
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
from inspect import isgenerator
class ParsingInterrupted(Exception):
pass
class ... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator, escape
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
from inspect import isgenerator
class ParsingInterrupted(Exception):
pass
class ... | tests/test_dicttoxml.py | [
"tests/test_dicttoxml.py::test_unparse_rejects_comment_ending_with_hyphen",
"tests/test_dicttoxml.py::test_unparse_rejects_comment_with_double_hyphen"
] | 2025-09-16 | 2025-09-16 | MIT | LICENSE | 3d4d2d3a4cd0f68d1211dba549010261fa87b969 | b4a5f2a3f04aff68384486e957632c8438396fd6 | https://github.com/martinblech/xmltodict/commit/3d4d2d3a4cd0f68d1211dba549010261fa87b969 | https://github.com/martinblech/xmltodict | xmltodict | [
"_XMLGenerator",
"_emit"
] | 18 | 2 | c87f2ba243b5d4ec | martinblech/xmltodict@3d4d2d3a4#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix(unparse): handle non-string `#text` with attributes; unify value conversion | file | commit | fix(unparse): handle non-string `#text` with attributes; unify value conversion | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
_dict = dict
import platform
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 7):... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
_dict = dict
import platform
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 7):... | tests/test_dicttoxml.py | [
"tests/test_dicttoxml.py::DictToXMLTestCase::test_non_string_text_with_attributes"
] | 2025-09-12 | 2025-09-12 | MIT | LICENSE | 927a025ae8a62cbb542d5caff38b29161a2096fa | ab4c86fed24dc8ef0e932a524edfb01c6453ecf6 | https://github.com/martinblech/xmltodict/commit/927a025ae8a62cbb542d5caff38b29161a2096fa | https://github.com/martinblech/xmltodict | xmltodict | [
"_emit"
] | 18 | 1 | 7f4a10241a28ca3a | martinblech/xmltodict@927a025ae#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix(unparse): skip empty lists to keep pretty/compact outputs consistent | file | commit | fix(unparse): skip empty lists to keep pretty/compact outputs consistent | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
_dict = dict
import platform
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 7):... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
_dict = dict
import platform
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 7):... | tests/test_dicttoxml.py | [
"tests/test_dicttoxml.py::DictToXMLTestCase::test_pretty_print_and_short_empty_elements_consistency"
] | 2025-09-12 | 2025-09-12 | MIT | LICENSE | ab4c86fed24dc8ef0e932a524edfb01c6453ecf6 | 220240c5eb2d12b75adf26cc84ec9c803ce8bb2b | https://github.com/martinblech/xmltodict/commit/ab4c86fed24dc8ef0e932a524edfb01c6453ecf6 | https://github.com/martinblech/xmltodict | xmltodict | [
"_emit"
] | 2 | 1 | b2bba672d32d1304 | martinblech/xmltodict@ab4c86fed#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix(streaming): avoid parent accumulation at item_depth; add regression tests | file | commit | fix(streaming): avoid parent accumulation at item_depth; add regression tests | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
_dict = dict
import platform
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 7):... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
_dict = dict
import platform
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 7):... | tests/test_xmltodict.py | [
"tests/test_xmltodict.py::XMLToDictTestCase::test_streaming_memory_usage"
] | 2025-09-12 | 2025-09-12 | MIT | LICENSE | 220240c5eb2d12b75adf26cc84ec9c803ce8bb2b | 8a2c93e350b44c98b41f1b5ffc4d0838812b0838 | https://github.com/martinblech/xmltodict/commit/220240c5eb2d12b75adf26cc84ec9c803ce8bb2b | https://github.com/martinblech/xmltodict | xmltodict | [
"_DictSAXHandler"
] | 14 | 1 | 33d4ace280ceefe3 | martinblech/xmltodict@220240c5e#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix(namespaces): attach `@xmlns` to declaring element when process_namespaces=True | file | commit | fix(namespaces): attach `@xmlns` to declaring element when process_namespaces=True | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
_dict = dict
import platform
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 7):... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
from io import StringIO
_dict = dict
import platform
if tuple(map(int, platform.python_version_tuple()[:2])) < (3, 7):... | tests/test_xmltodict.py | [
"tests/test_xmltodict.py::XMLToDictTestCase::test_namespace_on_root_without_other_attrs"
] | 2025-09-12 | 2025-09-08 | MIT | LICENSE | f0322e578184421693434902547f330f4f0a44c3 | 75a17701db20d5d3ec2ea1f6c901cf2211011eb5 | https://github.com/martinblech/xmltodict/commit/f0322e578184421693434902547f330f4f0a44c3 | https://github.com/martinblech/xmltodict | xmltodict | [
"_DictSAXHandler"
] | 4 | 1 | 728a0b23b6be471c | martinblech/xmltodict@f0322e578#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix: preserve namespace declaration when parsing | file | commit | fix: preserve namespace declaration when parsing | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
try:
import defusedexpat as expat
except ImportError:
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
try: # pragma no cover
from cStringIO import StringI... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
try:
import defusedexpat as expat
except ImportError:
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
try: # pragma no cover
from cStringIO import StringI... | tests/test_xmltodict.py | [
"tests/test_xmltodict.py::XMLToDictTestCase::test_namespace_collapse",
"tests/test_xmltodict.py::XMLToDictTestCase::test_namespace_support"
] | 2016-06-05 | 2016-04-05 | MIT | LICENSE | 61047021cf767b28471ebd210f3f3ce043e3d5ed | 05c171a9ce2406dd914364cdf7a497f4eeb62239 | https://github.com/martinblech/xmltodict/commit/61047021cf767b28471ebd210f3f3ce043e3d5ed | https://github.com/martinblech/xmltodict | xmltodict | [
"_DictSAXHandler",
"parse"
] | 8 | 2 | 24e5cf3109636495 | martinblech/xmltodict@61047021c#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | Fix multiroot check for list values | file | commit | Fix multiroot check for list values | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
try: # pragma no cover
from cStringIO import StringIO
except ImportError: # pragma no cover
try:
from... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
try: # pragma no cover
from cStringIO import StringIO
except ImportError: # pragma no cover
try:
from... | tests/test_dicttoxml.py | [
"tests/test_dicttoxml.py::DictToXMLTestCase::test_multiple_roots_nofulldoc"
] | 2015-02-04 | 2015-01-18 | MIT | LICENSE | 263e6bfd2dd5ec2bb231cb91a24d7a67cea59fca | 8bbcd5bfc6640d44e62a11cc4c9d41a5a4e67d94 | https://github.com/martinblech/xmltodict/commit/263e6bfd2dd5ec2bb231cb91a24d7a67cea59fca | https://github.com/martinblech/xmltodict | xmltodict | [
"_emit",
"unparse"
] | 8 | 1 | 5c03b04850ab2605 | martinblech/xmltodict@263e6bfd2#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
martinblech/xmltodict | fix #12: postprocess cdata items too | file | commit | fix #12: postprocess cdata items too | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
try: # pragma no cover
from cStringIO import StringIO
except ImportError: # pragma no cover
try:
from S... | #!/usr/bin/env python
"Makes working with XML feel like you are working with JSON"
from xml.parsers import expat
from xml.sax.saxutils import XMLGenerator
from xml.sax.xmlreader import AttributesImpl
try: # pragma no cover
from cStringIO import StringIO
except ImportError: # pragma no cover
try:
from S... | tests/test_xmltodict.py | [
"tests/test_xmltodict.py::XMLToDictTestCase::test_postprocess_whitespace"
] | 2013-01-11 | 2013-01-08 | MIT | LICENSE | b4ce7e7e6421e76a341b41fa647733369b3dd68e | 39c6f9604f12b9e3321153fca6fd8d47a45899c8 | https://github.com/martinblech/xmltodict/commit/b4ce7e7e6421e76a341b41fa647733369b3dd68e | https://github.com/martinblech/xmltodict | xmltodict | [
"_DictSAXHandler"
] | 21 | 1 | 5257606666bbe47f | martinblech/xmltodict@b4ce7e7e6#xmltodict.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ayghri/i-have-adhd | fix(evals): reject unmetered runners before the first paid call | file | commit | fix(evals): reject unmetered runners before the first paid call | #!/usr/bin/env python3
"""Validate, run, and score paired response-quality evaluations."""
from __future__ import annotations
import argparse
import json
import shlex
import subprocess
import sys
import time
from collections import Counter, defaultdict
from pathlib import Path
from typing import Any
ROOT = Path(__f... | #!/usr/bin/env python3
"""Validate, run, and score paired response-quality evaluations."""
from __future__ import annotations
import argparse
import json
import shlex
import subprocess
import sys
import time
from collections import Counter, defaultdict
from pathlib import Path
from typing import Any
ROOT = Path(__f... | tests/test_run_evals.py | [
"tests/test_run_evals.py::EvaluationHarnessTest::test_unmetered_runner_is_rejected_before_any_call"
] | 2026-07-21 | 2026-07-21 | MIT | LICENSE | 19b0c314037f29f8d415db9710f25884fcbca3b5 | d82d286c7c9dd4dc5735175b32e494f179fe44ac | https://github.com/ayghri/i-have-adhd/commit/19b0c314037f29f8d415db9710f25884fcbca3b5 | https://github.com/ayghri/i-have-adhd | scripts.run_evals | [
"run_evaluations"
] | 5 | 1 | 1809095b10108371 | ayghri/i-have-adhd@19b0c3140#scripts/run_evals.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
omnilib/aiosqlite | fix: close connection thread properly if BaseException raised in connect step (#317) | file | commit | fix: close connection thread properly if BaseException raised in connect step (#317) | # Copyright 2022 Amethyst Reese
# Licensed under the MIT license
"""
Core implementation of aiosqlite proxies
"""
import asyncio
import logging
import sqlite3
from functools import partial
from pathlib import Path
from queue import Empty, Queue, SimpleQueue
from threading import Thread
from typing import (
Any,
... | # Copyright 2022 Amethyst Reese
# Licensed under the MIT license
"""
Core implementation of aiosqlite proxies
"""
import asyncio
import logging
import sqlite3
from functools import partial
from pathlib import Path
from queue import Empty, Queue, SimpleQueue
from threading import Thread
from typing import (
Any,
... | aiosqlite/tests/smoke.py | [
"aiosqlite/tests/smoke.py::SmokeTest::test_connect_base_exception"
] | 2025-02-02 | 2025-02-02 | MIT | LICENSE | 883695fc6d59c5fbdfd8f97a329f98356c39a2cd | 5391d28ac99cf7bde07ebd923f747d2142726206 | https://github.com/omnilib/aiosqlite/commit/883695fc6d59c5fbdfd8f97a329f98356c39a2cd | https://github.com/omnilib/aiosqlite | aiosqlite.core | [
"Connection"
] | 2 | 1 | 81b5a1a5364d6bec | omnilib/aiosqlite@883695fc6#aiosqlite/core.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
nikitastupin/clairvoyance | Fix wrong handling of unknown type. Add tests | file | commit | Fix wrong handling of unknown type. Add tests | import json
import logging
from typing import List
from typing import Dict
from typing import Any
from typing import Set
class Schema:
def __init__(
self,
queryType: str = None,
mutationType: str = None,
subscriptionType: str = None,
schema: Dict[str, Any] = None,
):
... | import json
import logging
from typing import List
from typing import Dict
from typing import Any
from typing import Set
class Schema:
def __init__(
self,
queryType: str = None,
mutationType: str = None,
subscriptionType: str = None,
schema: Dict[str, Any] = None,
):
... | tests/graphql_test.py | [
"tests/graphql_test.py::TestSchema::test_raise_exception_on_unknown_operation_type"
] | 2020-10-23 | 2020-10-23 | Apache-2.0 | LICENSE | e9ac36e88ce3824a3947a09c33da3734b54ff68a | 87b2d9d89ca1f83b7356e1b9008ebe0cde6974c7 | https://github.com/nikitastupin/clairvoyance/commit/e9ac36e88ce3824a3947a09c33da3734b54ff68a | https://github.com/nikitastupin/clairvoyance | clairvoyance.graphql | [
"Schema"
] | 2 | 1 | 2f1d93b7d29c7e4a | nikitastupin/clairvoyance@e9ac36e88#clairvoyance/graphql.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
nedbat/cog | feat: --check-fail-msg | file | commit | feat: --check-fail-msg | """Cog content generation tool."""
import copy
import difflib
import getopt
import glob
import io
import linecache
import os
import re
import shlex
import sys
import traceback
import types
from .whiteutils import common_prefix, reindent_block, white_prefix
from .utils import NumberedFileReader, Redirectable, change_d... | """Cog content generation tool."""
import copy
import difflib
import getopt
import glob
import io
import linecache
import os
import re
import shlex
import sys
import traceback
import types
from .whiteutils import common_prefix, reindent_block, white_prefix
from .utils import NumberedFileReader, Redirectable, change_d... | cogapp/test_cogapp.py | [
"cogapp/test_cogapp.py::CheckTests::test_check_bad_with_message"
] | 2025-09-21 | 2025-09-19 | MIT | LICENSE.txt | ee6d1ea00cf7e454a1e50e8d6685c20de4224c8b | a53a8e4bf47759d1bd4e3c11124ecdfdb80b72bc | https://github.com/nedbat/cog/commit/ee6d1ea00cf7e454a1e50e8d6685c20de4224c8b | https://github.com/nedbat/cog | cogapp.cogapp | [
"Cog",
"CogOptions"
] | 12 | 1 | 1866dd512dfe7001 | nedbat/cog@ee6d1ea00#cogapp/cogapp.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
nedbat/cog | fix: cog restores the current directory | file | commit | fix: cog restores the current directory | """Cog content generation tool."""
import copy
import getopt
import glob
import io
import linecache
import os
import re
import shlex
import sys
import traceback
import types
from .whiteutils import common_prefix, reindent_block, white_prefix
from .utils import NumberedFileReader, Redirectable, change_dir, md5
__vers... | """Cog content generation tool."""
import copy
import getopt
import glob
import io
import linecache
import os
import re
import shlex
import sys
import traceback
import types
from .whiteutils import common_prefix, reindent_block, white_prefix
from .utils import NumberedFileReader, Redirectable, change_dir, md5
__vers... | cogapp/test_cogapp.py | [
"cogapp/test_cogapp.py::TestFileHandling::test_change_dir"
] | 2025-06-02 | 2025-06-02 | MIT | LICENSE.txt | 6dbbc3ee131dd6c2daa977ee751f0798e30054b0 | 10de5fb7147f5666cae4909dd7f89537380ca78b | https://github.com/nedbat/cog/commit/6dbbc3ee131dd6c2daa977ee751f0798e30054b0 | https://github.com/nedbat/cog | cogapp.cogapp | [
"Cog"
] | 3 | 1 | a0097efbb99b63bd | nedbat/cog@6dbbc3ee1#cogapp/cogapp.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
undera/pylgbst | Added test and fix for device matching (#46) | file | commit | Added test and fix for device matching (#46) | """
This package holds communication aspects
"""
import binascii
import json
import logging
import socket
import traceback
from abc import abstractmethod
from binascii import unhexlify
from threading import Thread
from pylgbst.messages import MsgHubAction
from pylgbst.utilities import str2hex
log = logging.getLogger(... | """
This package holds communication aspects
"""
import binascii
import json
import logging
import socket
import traceback
from abc import abstractmethod
from binascii import unhexlify
from threading import Thread
from pylgbst.messages import MsgHubAction
from pylgbst.utilities import str2hex
log = logging.getLogger(... | tests/test_comms.py | [
"tests/test_comms.py::ConnectionTestCase::test_is_device_matched"
] | 2020-01-29 | 2020-01-28 | MIT | LICENSE | dff312534fe277590fd1e82538559897c6252fc7 | 9e4fab4aaef1a9c02d7577896113af9579699aa3 | https://github.com/undera/pylgbst/commit/dff312534fe277590fd1e82538559897c6252fc7 | https://github.com/undera/pylgbst | pylgbst.comms.__init__ | [
"Connection"
] | 13 | 1 | eb219324488ed071 | undera/pylgbst@dff312534#pylgbst/comms/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mgedmin/findimports | Fix incorrect transitive closure computation when cycles exist | file | commit | Fix incorrect transitive closure computation when cycles exist | #!/usr/bin/env python3
"""
FindImports is a script that processes Python module dependencies. Currently
it can be used for finding unused imports and graphing module dependencies
(with graphviz).
Syntax: findimports.py [action] [options] [filename|dirname ...]
positional arguments:
filename|dirname The files ... | #!/usr/bin/env python3
"""
FindImports is a script that processes Python module dependencies. Currently
it can be used for finding unused imports and graphing module dependencies
(with graphviz).
Syntax: findimports.py [action] [options] [filename|dirname ...]
positional arguments:
filename|dirname The files ... | tests.py | [
"tests.py::test_transitive_closure_handles_loops"
] | 2025-12-08 | 2025-12-08 | MIT | LICENSE | efab46e801e56742ad571eca34791511c0b8e1ee | fa9f9f5bb20a746d5c9a846dc891491345d3d850 | https://github.com/mgedmin/findimports/commit/efab46e801e56742ad571eca34791511c0b8e1ee | https://github.com/mgedmin/findimports | findimports | [
"ModuleGraph"
] | 24 | 1 | be32c6e6e82d4dd8 | mgedmin/findimports@efab46e80#findimports.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
jackwener/xhs-cli | fix flaky user profile extraction in integration smoke | file | commit | fix flaky user profile extraction in integration smoke | """Xiaohongshu browser-based client using camoufox.
All operations navigate to pages and extract data from window.__INITIAL_STATE__,
exactly like a real user browsing. This avoids API-level risk control (300011).
"""
from __future__ import annotations
import logging
import random
import time
from .exceptions import... | """Xiaohongshu browser-based client using camoufox.
All operations navigate to pages and extract data from window.__INITIAL_STATE__,
exactly like a real user browsing. This avoids API-level risk control (300011).
"""
from __future__ import annotations
import logging
import random
import time
from .exceptions import... | tests/test_client.py | [
"tests/test_client.py::TestGetUserInfoFallback::test_returns_minimal_fallback_when_state_missing"
] | 2026-03-05 | 2026-03-05 | Apache-2.0 | LICENSE | 55a21ee49cf1a82b6bbcd7f453b9ed8be64236a2 | 1592c7f13d5b6b4d653300b051e9590ae929e796 | https://github.com/jackwener/xhs-cli/commit/55a21ee49cf1a82b6bbcd7f453b9ed8be64236a2 | https://github.com/jackwener/xhs-cli | xhs_cli.client | [
"XhsClient"
] | 14 | 1 | 5d796fc56fc5252a | jackwener/xhs-cli@55a21ee49#xhs_cli/client.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
jiujiu532/grok2api | fix: 调整 statsig 动态前缀为 x1 | file | commit | fix: 调整 statsig 动态前缀为 x1 | """HTTP/WebSocket header builders for reverse-proxy requests.
All values are sanitized to ASCII-safe Latin-1 before use.
"""
import base64
import random
import re
import string
import uuid
from typing import Optional
from urllib.parse import urlparse
from app.platform.logging.logger import logger
from app.platform.... | """HTTP/WebSocket header builders for reverse-proxy requests.
All values are sanitized to ASCII-safe Latin-1 before use.
"""
import base64
import random
import re
import string
import uuid
from typing import Optional
from urllib.parse import urlparse
from app.platform.logging.logger import logger
from app.platform.... | tests/test_statsig_id.py | [
"tests/test_statsig_id.py::StatsigIdTests::test_dynamic_statsig_uses_x1_prefix"
] | 2026-06-03 | 2026-05-29 | MIT | LICENSE | 4ac369f40d6c707f7afb7254d9ccc518f236953c | 1eed9e366df543b47f1efc13bf592127fc8e838b | https://github.com/jiujiu532/grok2api/commit/4ac369f40d6c707f7afb7254d9ccc518f236953c | https://github.com/jiujiu532/grok2api | app.dataplane.proxy.adapters.headers | [
"_statsig_id"
] | 4 | 1 | 12fd53eef46146d2 | jiujiu532/grok2api@4ac369f40#app/dataplane/proxy/adapters/headers.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
r1chardj0n3s/parse | Fix handling of unused alignment (#132) | file | commit | Fix handling of unused alignment (#132) | r'''Parse strings using a specification based on the Python format() syntax.
``parse()`` is the opposite of ``format()``
The module is set up to only export ``parse()``, ``search()``, ``findall()``,
and ``with_pattern()`` when ``import \*`` is used:
>>> from parse import *
From there it's a simple thing to parse... | r'''Parse strings using a specification based on the Python format() syntax.
``parse()`` is the opposite of ``format()``
The module is set up to only export ``parse()``, ``search()``, ``findall()``,
and ``with_pattern()`` when ``import \*`` is used:
>>> from parse import *
From there it's a simple thing to parse... | test_parse.py | [
"test_parse.py::TestBugs::test_unused_centered_alignment_bug",
"test_parse.py::TestBugs::test_unused_left_alignment_bug"
] | 2021-06-04 | 2021-06-04 | MIT | LICENSE | 421c19919fbca4c61ec20c2f8292d19d93eecbc8 | 9a4a5558fe314effb47d17bc64ada56221ec9a66 | https://github.com/r1chardj0n3s/parse/commit/421c19919fbca4c61ec20c2f8292d19d93eecbc8 | https://github.com/r1chardj0n3s/parse | parse | [
"Parser"
] | 4 | 2 | d9db63b1830dd380 | r1chardj0n3s/parse@421c19919#parse.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
r1chardj0n3s/parse | Handle fortran formatted float number, Bug fix & test case. | file | commit | Handle fortran formatted float number, Bug fix & test case. | r'''Parse strings using a specification based on the Python format() syntax.
``parse()`` is the opposite of ``format()``
The module is set up to only export ``parse()``, ``search()``, ``findall()``,
and ``with_pattern()`` when ``import \*`` is used:
>>> from parse import *
From there it's a simple thing to parse... | r'''Parse strings using a specification based on the Python format() syntax.
``parse()`` is the opposite of ``format()``
The module is set up to only export ``parse()``, ``search()``, ``findall()``,
and ``with_pattern()`` when ``import \*`` is used:
>>> from parse import *
From there it's a simple thing to parse... | test_parse.py | [
"test_parse.py::TestParse::test_numbers",
"test_parse.py::TestParse::test_precision"
] | 2019-12-23 | 2019-12-23 | MIT | LICENSE | 38d21c01587b8bada0d4d55a70e504fa76a27257 | 295b47d7077c7a5597ac5e1ecfcddc13e7c9b27a | https://github.com/r1chardj0n3s/parse/commit/38d21c01587b8bada0d4d55a70e504fa76a27257 | https://github.com/r1chardj0n3s/parse | parse | [
"Parser"
] | 4 | 2 | 71e73461b8fe1020 | r1chardj0n3s/parse@38d21c015#parse.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
r1chardj0n3s/parse | date_convert | fix bug in PM time overflow closes issue #16 | function | docstring | Convert the incoming string containing some date / time info into a
datetime instance. | def date_convert(string, match, ymd=None, mdy=None, dmy=None,
d_m_y=None, hms=None, am=None, tz=None):
'''Convert the incoming string containing some date / time info into a
datetime instance.
'''
groups = match.groups()
time_only = False
if ymd is not None:
y, m, d = re.split('[... | def date_convert(string, match, ymd=None, mdy=None, dmy=None,
d_m_y=None, hms=None, am=None, tz=None):
'''Convert the incoming string containing some date / time info into a
datetime instance.
'''
groups = match.groups()
time_only = False
if ymd is not None:
y, m, d = re.split('[... | test_parse.py | [
"test_parse.py::TestBugs::test_pm_overflow_issue16"
] | 2013-10-15 | 2013-10-15 | MIT | LICENSE | 4cf2b44bcb22c1d6a4d693694f7d5ecff5ff84d7 | 95856f4e1e8bb36fc2858c4d2e81a369ff925f21 | https://github.com/r1chardj0n3s/parse/commit/4cf2b44bcb22c1d6a4d693694f7d5ecff5ff84d7 | https://github.com/r1chardj0n3s/parse | parse | [
"date_convert"
] | 7 | 1 | fef85f3fd93337bb | r1chardj0n3s/parse@4cf2b44bc#date_convert | python | 2026-08-18 | goldset/0.1 | 1 | |
r1chardj0n3s/parse | fix type conversion error with dotted names | file | commit | fix type conversion error with dotted names | r'''Parse strings using a specification based on the Python format() syntax.
``parse()`` is the opposite of ``format()``
The module is set up to only export ``parse()``, ``search()`` and
``findall()`` when ``import *`` is used:
>>> from parse import *
From there it's a simple thing to parse a string:
>>> parse(... | r'''Parse strings using a specification based on the Python format() syntax.
``parse()`` is the opposite of ``format()``
The module is set up to only export ``parse()``, ``search()`` and
``findall()`` when ``import *`` is used:
>>> from parse import *
From there it's a simple thing to parse a string:
>>> parse(... | test_parse.py | [
"test_parse.py::TestBugs::test_dotted_type_conversion_pull_8"
] | 2012-09-29 | 2012-09-28 | MIT | LICENSE | 3f0bf88f80f8d0bdb4dccc4415d223916aeba5a4 | 3891beae6c912a0ad1c398ecb49859eb5adacf37 | https://github.com/r1chardj0n3s/parse/commit/3f0bf88f80f8d0bdb4dccc4415d223916aeba5a4 | https://github.com/r1chardj0n3s/parse | parse | [
"Parser"
] | 7 | 1 | 03d66971edbcd205 | r1chardj0n3s/parse@3f0bf88f8#parse.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
benroeder/conductor | Fix duplicate wait() method bug and achieve 100% coverage | file | commit | Fix duplicate wait() method bug and achieve 100% coverage | # Copyright (c) 2014, Neville-Neil Consulting
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# Redistributions of source code must retain the above copyright notice,
# this list of conditions... | # Copyright (c) 2014, Neville-Neil Consulting
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# Redistributions of source code must retain the above copyright notice,
# this list of conditions... | tests/test_step.py | [
"tests/test_step.py::TestStepPlaceholderMethods::test_wait_ready_method_exists"
] | 2025-06-04 | 2025-06-04 | BSD-3-Clause | LICENSE | 7d4bffbcada09f77619aeb95ec1d87ee0a0523a2 | ca22d7f3991034420ba68a300c983d38d27e888d | https://github.com/benroeder/conductor/commit/7d4bffbcada09f77619aeb95ec1d87ee0a0523a2 | https://github.com/benroeder/conductor | conductor.step | [
"Step"
] | 2 | 1 | 0c84e45ae788c375 | benroeder/conductor@7d4bffbca#conductor/step.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
yuma-m/pychord | Fix inversion qualities | file | commit | Fix inversion qualities | import copy
from collections import OrderedDict
from typing import Tuple, List
from .constants.qualities import DEFAULT_QUALITIES
from .utils import note_to_val, val_to_note
class Quality:
""" Chord quality """
def __init__(self, name: str, components: Tuple[int, ...]):
""" Constructor of chord qual... | import copy
import math
from collections import OrderedDict
from typing import Tuple, List
from .constants.qualities import DEFAULT_QUALITIES
from .utils import note_to_val, val_to_note
class Quality:
""" Chord quality """
def __init__(self, name: str, components: Tuple[int, ...]):
""" Constructor o... | test/test_component.py | [
"test/test_component.py::TestChordComponentWithPitch::test_fifth_order_inversion",
"test/test_component.py::TestChordComponentWithPitch::test_first_order_inversion",
"test/test_component.py::TestChordComponentWithPitch::test_fourth_order_inversion",
"test/test_component.py::TestChordComponentWithPitch::test_s... | 2022-06-13 | 2022-06-13 | MIT | LICENSE | ffe4f09f3bebc80adbf8b7e239c5ce8d0f2b7be9 | b5b6b33d7a68924cf981ede3e3be98deb8d5d269 | https://github.com/yuma-m/pychord/commit/ffe4f09f3bebc80adbf8b7e239c5ce8d0f2b7be9 | https://github.com/yuma-m/pychord | pychord.quality | [
"QualityManager"
] | 6 | 5 | a6f88b01ec387b90 | yuma-m/pychord@ffe4f09f3#pychord/quality.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
joeynyc/hermes-hud | fix: read current Hermes session model column | file | commit | fix: read current Hermes session model column | """Collect session data from Hermes state.db."""
from __future__ import annotations
import json
import os
import sqlite3
from datetime import datetime
from pathlib import Path
from ..models import DailyStats, SessionInfo, SessionsState
from .utils import default_hermes_dir, safe_get
def _extract_tool_usage(db_path... | """Collect session data from Hermes state.db."""
from __future__ import annotations
import json
import os
import sqlite3
from datetime import datetime
from pathlib import Path
from ..models import DailyStats, SessionInfo, SessionsState
from .utils import default_hermes_dir, safe_get
def _extract_tool_usage(db_path... | tests/test_collectors.py | [
"tests/test_collectors.py::TestSessionsCollector::test_session_model_uses_schema_column"
] | 2026-05-08 | 2026-04-17 | MIT | LICENSE | 9352d04cc79fbad229ef52600450fe0cb2a308f6 | 541bfe7cb7dcbe1a355eaeafd136ad35d27e0f1d | https://github.com/joeynyc/hermes-hud/commit/9352d04cc79fbad229ef52600450fe0cb2a308f6 | https://github.com/joeynyc/hermes-hud | hermes_hud.collectors.sessions | [
"collect_sessions"
] | 6 | 1 | dee728eb7540c326 | joeynyc/hermes-hud@9352d04cc#hermes_hud/collectors/sessions.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
conorluddy/ios-simulator-skill | fix: handle zero-duration clusters in diff_sessions() | file | commit | fix: handle zero-duration clusters in diff_sessions() | #!/usr/bin/env python3
"""HangBuster filter pipeline — pure functions, no I/O.
Stages: parse → normalise → threshold → bucket → cluster → aggregate → rank → format.
Each function is independently testable; the worker and the `--stop` path both
compose them. Scoped to hang detection for now (AHA — promote to a generic... | #!/usr/bin/env python3
"""HangBuster filter pipeline — pure functions, no I/O.
Stages: parse → normalise → threshold → bucket → cluster → aggregate → rank → format.
Each function is independently testable; the worker and the `--stop` path both
compose them. Scoped to hang detection for now (AHA — promote to a generic... | tests/test_diff.py | [
"tests/test_diff.py::test_diff_zero_to_nonzero_is_drift_with_inf_delta",
"tests/test_diff.py::test_diff_zero_to_zero_counts_as_stable",
"tests/test_diff.py::test_format_diff_renders_inf_delta_as_new"
] | 2026-05-23 | 2026-05-23 | MIT | LICENSE.md | 1f98d4c51cfeb2e2bd2a3d645438b2a73be5e5c2 | 03e092d54357333b64a12c5f25590a8c9e4b9e74 | https://github.com/conorluddy/ios-simulator-skill/commit/1f98d4c51cfeb2e2bd2a3d645438b2a73be5e5c2 | https://github.com/conorluddy/ios-simulator-skill | ios-simulator-skill.skills.ios-simulator-skill.scripts.common.hang_pipeline | [
"diff_sessions",
"format_diff"
] | 19 | 3 | 1df67d1039b17285 | conorluddy/ios-simulator-skill@1f98d4c51#ios-simulator-skill/skills/ios-simulator-skill/scripts/common/hang_pipeline.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mcncarl/agent-memory-vault | Fix derived-index recovery interpreter | file | commit | Fix derived-index recovery interpreter | #!/usr/bin/env python3
from __future__ import annotations
import argparse
import datetime as dt
import hashlib
import json
import os
import re
import socket
import sqlite3
import subprocess
from pathlib import Path
from typing import Any
from urllib.parse import urlparse
from agent_memory_env import env_value, load_c... | #!/usr/bin/env python3
from __future__ import annotations
import argparse
import datetime as dt
import hashlib
import json
import os
import re
import socket
import sqlite3
import subprocess
from pathlib import Path
from typing import Any
from urllib.parse import urlparse
from agent_memory_env import env_value, load_c... | tests/test_durability_guards.py | [
"tests/test_durability_guards.py::DurabilityGuardTests::test_derived_repair_uses_configured_semantic_python"
] | 2026-07-12 | 2026-07-12 | MIT | LICENSE | b650e292cc3ca5e6213f64f5f95f84ea3f04ee47 | bec5c2951a3be0ca08e24cf9a56cdf03871964f1 | https://github.com/mcncarl/agent-memory-vault/commit/b650e292cc3ca5e6213f64f5f95f84ea3f04ee47 | https://github.com/mcncarl/agent-memory-vault | scripts.agent_memory_doctor | [
"repair_derived"
] | 8 | 1 | 303cb74cd224fe45 | mcncarl/agent-memory-vault@b650e292c#scripts/agent_memory_doctor.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mcncarl/agent-memory-vault | fix: exclude frontmatter boilerplate from reconcile | file | commit | fix: exclude frontmatter boilerplate from reconcile | #!/usr/bin/env python3
from __future__ import annotations
import argparse
import contextlib
import datetime as dt
import fcntl
import hashlib
import json
import os
import re
import sqlite3
import subprocess
import sys
import time
import uuid
from dataclasses import dataclass
from pathlib import Path
from typing import... | #!/usr/bin/env python3
from __future__ import annotations
import argparse
import contextlib
import datetime as dt
import fcntl
import hashlib
import json
import os
import re
import sqlite3
import subprocess
import sys
import time
import uuid
from dataclasses import dataclass
from pathlib import Path
from typing import... | tests/test_closeout_git_history.py | [
"tests/test_closeout_git_history.py::CloseoutReconcileStatusTests::test_frontmatter_boilerplate_is_not_used_as_fallback_summary",
"tests/test_closeout_git_history.py::CloseoutReconcileStatusTests::test_postwrite_ignores_navigation_and_template_candidates"
] | 2026-07-12 | 2026-07-11 | MIT | LICENSE | 3cc6b43fefb75a91a76409a8a6b35271a217fba6 | 3fcc34358b45a2a791679428e8520c99837497ce | https://github.com/mcncarl/agent-memory-vault/commit/3cc6b43fefb75a91a76409a8a6b35271a217fba6 | https://github.com/mcncarl/agent-memory-vault | scripts.agent_memory_closeout | [
"postwrite_reconcile",
"summary_from_text"
] | 15 | 2 | 69b051c3b50c82fd | mcncarl/agent-memory-vault@3cc6b43fe#scripts/agent_memory_closeout.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
mcncarl/agent-memory-vault | fix: exclude archived history from reconcile blocking | file | commit | fix: exclude archived history from reconcile blocking | #!/usr/bin/env python3
from __future__ import annotations
import argparse
import contextlib
import datetime as dt
import fcntl
import hashlib
import json
import os
import re
import sqlite3
import subprocess
import sys
import time
import uuid
from dataclasses import dataclass
from pathlib import Path
from typing import... | #!/usr/bin/env python3
from __future__ import annotations
import argparse
import contextlib
import datetime as dt
import fcntl
import hashlib
import json
import os
import re
import sqlite3
import subprocess
import sys
import time
import uuid
from dataclasses import dataclass
from pathlib import Path
from typing import... | tests/test_closeout_git_history.py | [
"tests/test_closeout_git_history.py::CloseoutReconcileStatusTests::test_archived_history_does_not_block_active_fact_reconcile"
] | 2026-07-11 | 2026-07-11 | MIT | LICENSE | 62d14ca2e53c7466da574e642e6a0fb2518568aa | ac6d9d62d2ced7e9c680ad7e0b5f63249dd622be | https://github.com/mcncarl/agent-memory-vault/commit/62d14ca2e53c7466da574e642e6a0fb2518568aa | https://github.com/mcncarl/agent-memory-vault | scripts.agent_memory_closeout | [
"postwrite_reconcile"
] | 15 | 1 | 70b6a71a795de2c3 | mcncarl/agent-memory-vault@62d14ca2e#scripts/agent_memory_closeout.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
erpalma/throttled | daemon: fix MSR field encoding edge cases | file | commit | daemon: fix MSR field encoding edge cases | #!/usr/bin/env python3
import argparse
import asyncio
import configparser
import glob
import gzip
import os
import re
import struct
import subprocess
import sys
from collections import defaultdict
from datetime import datetime
from errno import EACCES, EIO, EPERM
from platform import uname
from subprocess import check_... | #!/usr/bin/env python3
import argparse
import asyncio
import configparser
import glob
import gzip
import os
import re
import struct
import subprocess
import sys
from collections import defaultdict
from datetime import datetime
from errno import EACCES, EIO, EPERM
from platform import uname
from subprocess import check_... | tests/test_msr_encoding.py | [
"tests/test_msr_encoding.py::MsrEncodingTests::test_icc_max_encoder_rejects_values_that_overflow_ten_bits",
"tests/test_msr_encoding.py::MsrEncodingTests::test_trip_offset_is_clamped_to_the_six_bit_msr_field",
"tests/test_msr_encoding.py::MsrEncodingTests::test_undervolt_decode_handles_the_sign_boundary"
] | 2026-07-23 | 2026-06-07 | MIT | LICENSE | 72b148e2b86e104b9b3a04684deb8b2f355beed3 | c8ec0470697b81426a6e96f15e0c55d5757afcc8 | https://github.com/erpalma/throttled/commit/72b148e2b86e104b9b3a04684deb8b2f355beed3 | https://github.com/erpalma/throttled | throttled | [
"calc_icc_max_msr",
"calc_reg_values",
"calc_undervolt_mv"
] | 14 | 3 | 78ab6ed41ab2bba9 | erpalma/throttled@72b148e2b#throttled.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
nossa-y/activity-frames | _pages_for_segment | fix(frames): fix page count misattribution on revisit-then-dwell (#31) (#33) | function | docstring | Aggregate URL views in a segment into typed page references. | def _pages_for_segment(seg: Segment) -> list[PageView]:
"""Aggregate consecutive URL views into typed page references."""
views: list[PageView] = []
index: dict[tuple[str, str | None], PageView] = {} # O(1) duplicate lookup
last_key: tuple[str, str | None] | None = None
for f in seg.frames:
... | def _pages_for_segment(seg: Segment) -> list[PageView]:
"""Aggregate URL views in a segment into typed page references."""
views: list[PageView] = []
index: dict[tuple[str, str | None], PageView] = {} # O(1) duplicate lookup
for f in seg.frames:
if not f.url:
continue
ref = ... | tests/test_frames_emit.py | [
"tests/test_frames_emit.py::test_pages_for_segment_revisit_then_dwell"
] | 2026-08-01 | 2026-08-01 | MIT | LICENSE | 465d8d9b01ac2664a544cef3fa64717d57582653 | f8ef36c9c2f387a9b7bed1cb1b95b55cc773473f | https://github.com/nossa-y/activity-frames/commit/465d8d9b01ac2664a544cef3fa64717d57582653 | https://github.com/nossa-y/activity-frames | activity_frames.frames | [
"_pages_for_segment"
] | 9 | 1 | c0e4cbcd39c64f0e | nossa-y/activity-frames@465d8d9b0#_pages_for_segment | python | 2026-08-18 | goldset/0.1 | 1 | |
trezor/python-mnemonic | Detect language unambiguously, or raise explanatory exception | file | commit | Detect language unambiguously, or raise explanatory exception | #
# Copyright (c) 2013 Pavol Rusnak
# Copyright (c) 2017 mruddy
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, ... | #
# Copyright (c) 2013 Pavol Rusnak
# Copyright (c) 2017 mruddy
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, ... | tests/test_mnemonic.py | [
"tests/test_mnemonic.py::MnemonicTest::test_detection"
] | 2022-04-28 | 2021-11-24 | MIT | LICENSE | 9e311a66539b7406da3352ced89247ad6fc2dd00 | 6b7ebdb3624bbcae1a7b3c5485427a5587795120 | https://github.com/trezor/python-mnemonic/commit/9e311a66539b7406da3352ced89247ad6fc2dd00 | https://github.com/trezor/python-mnemonic | mnemonic.mnemonic | [
"Mnemonic"
] | 18 | 1 | 239cec513816c673 | trezor/python-mnemonic@9e311a665#src/mnemonic/mnemonic.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
wan9yu/argus-redact | generate_candidates | fix: zh person regex no longer over-matches common 3-char co-occurrences (closes #12) | function | docstring | Find all surname + 1-2 CJK sequences, filtered by negative dict.
For 3-char single-surname matches, emits both 3-char and 2-char variants
so that the scoring/resolution phase can pick the best one. | def generate_candidates(text: str) -> list[NameCandidate]:
"""Find all surname + 1-2 CJK sequences, filtered by negative dict.
For 3-char single-surname matches, emits both 3-char and 2-char variants
so that the scoring/resolution phase can pick the best one.
"""
if not text:
return []
... | def generate_candidates(text: str) -> list[NameCandidate]:
"""Find all surname + 1-2 CJK sequences, filtered by negative dict.
For 3-char single-surname matches, emits both 3-char and 2-char variants
so that the scoring/resolution phase can pick the best one.
"""
if not text:
return []
... | tests/detection/lang/test_zh_fast_no_overmatch.py | [
"tests/detection/lang/test_zh_fast_no_overmatch.py::TestIssue12VerbatimRepro::test_issue_12_repro_no_self_reference_or_overmatch"
] | 2026-04-27 | 2026-04-27 | Apache-2.0 | LICENSE | 2c00e1f0a587d077884e13199737afe337ac458b | aad566e81ea310354f02184237b8a7fcebaa379b | https://github.com/wan9yu/argus-redact/commit/2c00e1f0a587d077884e13199737afe337ac458b | https://github.com/wan9yu/argus-redact | argus_redact.lang.zh.person | [
"generate_candidates"
] | 5 | 1 | 99848a07ced6fb0f | wan9yu/argus-redact@2c00e1f0a#generate_candidates | python | 2026-08-18 | goldset/0.1 | 1 | |
shivprime94/file-itr | fix(itr-engine): count VDA toward basic-exemption residual for 111A/112/112A (#26) | file | commit | fix(itr-engine): count VDA toward basic-exemption residual for 111A/112/112A (#26) | from __future__ import annotations
from dataclasses import dataclass
from datetime import date
from decimal import Decimal
from engine.buckets import Bucket
from engine.model import AgeBand, Regime, Taxpayer
from engine.rulebase import RuleTable
from engine.scope import OutOfScopeError
_CG_SPECIAL = (Bucket.STCG_111A,... | from __future__ import annotations
from dataclasses import dataclass
from datetime import date
from decimal import Decimal
from engine.buckets import Bucket
from engine.model import AgeBand, Regime, Taxpayer
from engine.rulebase import RuleTable
from engine.scope import OutOfScopeError
_CG_SPECIAL = (Bucket.STCG_111A,... | skills/itr-india/engine/tests/test_rates.py | [
"skills/itr-india/engine/tests/test_rates.py::test_basic_exemption_residual_reduced_by_vda"
] | 2026-08-01 | 2026-08-01 | MIT | LICENSE | e34e2c23a71e9a6bc86dc00f2b7cb74c2dae0ad4 | e6604879d78049efe91f4b0af41457d9d5aa60bc | https://github.com/shivprime94/file-itr/commit/e34e2c23a71e9a6bc86dc00f2b7cb74c2dae0ad4 | https://github.com/shivprime94/file-itr | skills.itr-india.engine.rates | [
"compute_tax"
] | 12 | 1 | 1d2de134228865af | shivprime94/file-itr@e34e2c23a#skills/itr-india/engine/rates.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
shivprime94/file-itr | fix(itr-engine): validate_rule rejects swapped effective_to/effective_from | file | commit | fix(itr-engine): validate_rule rejects swapped effective_to/effective_from | from __future__ import annotations
from dataclasses import dataclass
from datetime import date
from typing import Any, Optional
@dataclass(frozen=True)
class Rule:
key: str
value: Any
authority: str
source_primary: str
source_secondary: str
effective_from: date
effective_to: Optional[date]... | from __future__ import annotations
from dataclasses import dataclass
from datetime import date
from typing import Any, Optional
@dataclass(frozen=True)
class Rule:
key: str
value: Any
authority: str
source_primary: str
source_secondary: str
effective_from: date
effective_to: Optional[date]... | skills/itr-india/engine/tests/test_rulebase.py | [
"skills/itr-india/engine/tests/test_rulebase.py::test_swapped_effective_window_fails"
] | 2026-07-29 | 2026-07-29 | MIT | LICENSE | af9da664e19b1a6bc9a71d462a566f7f185bffb7 | 2199e31cd2b55df5cee6de265014991b1ac695ba | https://github.com/shivprime94/file-itr/commit/af9da664e19b1a6bc9a71d462a566f7f185bffb7 | https://github.com/shivprime94/file-itr | skills.itr-india.engine.rulebase | [
"validate_rule"
] | 4 | 1 | 5fcdb013eaf20aab | shivprime94/file-itr@af9da664e#skills/itr-india/engine/rulebase.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
brean/python-pathfinding | Fixed world.cleanup() bug and extended test_connect_grids to test it. | file | commit | Fixed world.cleanup() bug and extended test_connect_grids to test it. | from typing import Dict, List
from .diagonal_movement import DiagonalMovement
from .grid import Grid
from .node import Node
# a world connects grids but can have multiple grids.
class World:
def __init__(self, grids: Dict[int, Grid]):
self.grids = grids
self.dirty = False
def cleanup(self):
... | from typing import Dict, List
from .diagonal_movement import DiagonalMovement
from .grid import Grid
from .node import Node
# a world connects grids but can have multiple grids.
class World:
def __init__(self, grids: Dict[int, Grid]):
self.grids = grids
self.dirty = False
def cleanup(self):
... | test/test_connect_grids.py | [
"test/test_connect_grids.py::test_connect"
] | 2026-01-05 | 2025-11-02 | MIT | LICENSE | deda5d4e69a4a321c479461eeaceaeaae47fb220 | 8cdd475dd3a1532132a1338543aa85fd61e0fdec | https://github.com/brean/python-pathfinding/commit/deda5d4e69a4a321c479461eeaceaeaae47fb220 | https://github.com/brean/python-pathfinding | pathfinding.core.world | [
"World"
] | 2 | 1 | ef8289b71c6cbf6a | brean/python-pathfinding@deda5d4e6#pathfinding/core/world.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Mic92/nix-fast-build | Fix --retries to re-run failed builds | file | commit | Fix --retries to re-run failed builds | import asyncio
import contextlib
import logging
import os
import shlex
from asyncio import Queue
from asyncio.subprocess import Process
from collections.abc import AsyncIterator, Callable, Coroutine
from contextlib import AsyncExitStack, asynccontextmanager
from dataclasses import dataclass
from pathlib import Path
fro... | import asyncio
import contextlib
import logging
import os
import shlex
from asyncio import Queue
from asyncio.subprocess import Process
from collections.abc import AsyncIterator, Callable, Coroutine
from contextlib import AsyncExitStack, asynccontextmanager
from dataclasses import dataclass
from pathlib import Path
fro... | tests/test_retry.py | [
"tests/test_retry.py::test_retry_reruns_build"
] | 2026-06-10 | 2026-06-10 | MIT | LICENSE.md | 70013796ecdb5679c8bcd525a98a9372cfcde1e3 | 0a9328843837300949f05ff8d7c937053e1d9dc9 | https://github.com/Mic92/nix-fast-build/commit/70013796ecdb5679c8bcd525a98a9372cfcde1e3 | https://github.com/Mic92/nix-fast-build | nix_fast_build.build | [
"Build"
] | 18 | 1 | 24aed55e59f4c6ad | Mic92/nix-fast-build@70013796e#nix_fast_build/build.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Cheerwhy/hermes-lark-streaming | fix: align card session ID with streaming callbacks for Feishu quote (#25) | file | commit | fix: align card session ID with streaming callbacks for Feishu quote (#25) | """AST Patcher — 在 Hermes gateway/run.py 中注入 Hook 调用."""
from __future__ import annotations
import ast
import logging
import shutil
from pathlib import Path
_logger = logging.getLogger("hermes_lark_streaming")
PREFIX = "HERMES_LARK"
_HOOK_NAMES = [
"START",
"COMPLETE",
"TOOL",
"ANSWER",
"THINK... | """AST Patcher — 在 Hermes gateway/run.py 中注入 Hook 调用."""
from __future__ import annotations
import ast
import logging
import shutil
from pathlib import Path
_logger = logging.getLogger("hermes_lark_streaming")
PREFIX = "HERMES_LARK"
_HOOK_NAMES = [
"START",
"COMPLETE",
"TOOL",
"ANSWER",
"THINK... | tests/test_patcher.py | [
"tests/test_patcher.py::TestApplyRemove::test_apply_uses_current_turn_message_id_for_card_session"
] | 2026-05-22 | 2026-05-22 | MIT | LICENSE | 667943fdd6843d78b51de327f074a83180d43927 | 502c80de150d0787233995bcfeeae86438f17bbb | https://github.com/Cheerwhy/hermes-lark-streaming/commit/667943fdd6843d78b51de327f074a83180d43927 | https://github.com/Cheerwhy/hermes-lark-streaming | hermes_lark_streaming.patcher | [
"_complete_hook",
"_start_hook"
] | 6 | 1 | 21cf7c69fc96cd15 | Cheerwhy/hermes-lark-streaming@667943fdd#hermes_lark_streaming/patcher.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
nateherkai/token-dashboard | fix(server): respond to HEAD by delegating to GET | file | commit | fix(server): respond to HEAD by delegating to GET | """HTTP server: static frontend + JSON endpoints + SSE diff stream."""
from __future__ import annotations
import http.server
import json
import mimetypes
import queue
import threading
import time
from pathlib import Path
from urllib.parse import urlparse, parse_qs
from .db import (
overview_totals, expensive_prom... | """HTTP server: static frontend + JSON endpoints + SSE diff stream."""
from __future__ import annotations
import http.server
import json
import mimetypes
import queue
import threading
import time
from pathlib import Path
from urllib.parse import urlparse, parse_qs
from .db import (
overview_totals, expensive_prom... | tests/test_server.py | [
"tests/test_server.py::ServerTests::test_head_api_endpoint",
"tests/test_server.py::ServerTests::test_head_returns_200_not_501"
] | 2026-04-19 | 2026-04-19 | MIT | LICENSE | 719b429b448b517542700500061b237838116a60 | 7efe423f298df48cae14ece42b28bac846458d20 | https://github.com/nateherkai/token-dashboard/commit/719b429b448b517542700500061b237838116a60 | https://github.com/nateherkai/token-dashboard | token_dashboard.server | [
"build_handler"
] | 3 | 2 | 91e09233ec9c435f | nateherkai/token-dashboard@719b429b4#token_dashboard/server.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kellyjonbrazil/jello | move hasattr __self__ check inside pyquery() and raise a ValueError instead of sys.exit() in main() | file | commit | move hasattr __self__ check inside pyquery() and raise a ValueError instead of sys.exit() in main() | """jello - query JSON at the command line with python syntax"""
import os
import sys
import platform
import textwrap
import json
import signal
import ast
from pygments import highlight
from pygments.style import Style
from pygments.token import (Name, Number, String, Keyword)
from pygments.lexers import JsonLexer
from... | """jello - query JSON at the command line with python syntax"""
import os
import sys
import platform
import textwrap
import json
import signal
import ast
from pygments import highlight
from pygments.style import Style
from pygments.token import (Name, Number, String, Keyword)
from pygments.lexers import JsonLexer
from... | tests/test_pyquery.py | [
"tests/test_pyquery.py::MyTests::test_ValueError"
] | 2021-06-10 | 2021-06-10 | MIT | LICENSE | 300f67690dd205991c4db68643bbb495f42917a1 | 16bc7b1b1e82bcd25e51e99300b61f797f6579c0 | https://github.com/kellyjonbrazil/jello/commit/300f67690dd205991c4db68643bbb495f42917a1 | https://github.com/kellyjonbrazil/jello | jello.cli | [
"main",
"pyquery"
] | 14 | 1 | d9fea647e621ad12 | kellyjonbrazil/jello@300f67690#jello/cli.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kellyjonbrazil/jello | make compact output more compact and fix compact output tests | file | commit | make compact output more compact and fix compact output tests | """jello - query JSON at the command line with python syntax"""
import os
import sys
import platform
import textwrap
import json
import signal
import ast
from pygments import highlight
from pygments.style import Style
from pygments.token import (Name, Number, String, Keyword)
from pygments.lexers import JsonLexer
from... | """jello - query JSON at the command line with python syntax"""
import os
import sys
import platform
import textwrap
import json
import signal
import ast
from pygments import highlight
from pygments.style import Style
from pygments.token import (Name, Number, String, Keyword)
from pygments.lexers import JsonLexer
from... | tests/test_create_json.py | [
"tests/test_create_json.py::MyTests::test_dict_c",
"tests/test_create_json.py::MyTests::test_dict_cl",
"tests/test_create_json.py::MyTests::test_dict_cr",
"tests/test_create_json.py::MyTests::test_dict_crl",
"tests/test_create_json.py::MyTests::test_dict_l",
"tests/test_create_json.py::MyTests::test_dict_... | 2021-06-01 | 2021-06-01 | MIT | LICENSE | f381077725e46c61fa550a6d66b2c45fce533edd | 0b69ca19bce4885907918b8fe6c27136fcfcbd45 | https://github.com/kellyjonbrazil/jello/commit/f381077725e46c61fa550a6d66b2c45fce533edd | https://github.com/kellyjonbrazil/jello | jello.cli | [
"create_json"
] | 16 | 16 | b29af38501cd1d8e | kellyjonbrazil/jello@f38107772#jello/cli.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
bwhmather/ssort | Fix handling of nested classes | file | commit | Fix handling of nested classes | import ast
import re
import sys
from ssort._dependencies import (
class_statements_initialisation_graph,
class_statements_runtime_graph,
module_statements_graph,
)
from ssort._exceptions import (
DecodingError,
ParseError,
ResolutionError,
UnknownEncodingError,
WildcardImportError,
)
fr... | import ast
import re
import sys
from ssort._dependencies import (
class_statements_initialisation_graph,
class_statements_runtime_graph,
module_statements_graph,
)
from ssort._exceptions import (
DecodingError,
ParseError,
ResolutionError,
UnknownEncodingError,
WildcardImportError,
)
fr... | tests/test_ssort.py | [
"tests/test_ssort.py::test_inner_class_in_sorted_outer_class",
"tests/test_ssort.py::test_inner_class_nested_in_sorted_outer_classes"
] | 2026-08-03 | 2026-07-26 | MIT | LICENSE | 85111ef1f5d3f8bbc499c3eaac6c2d40557b5a19 | b2e455e04f1dae233a2910dd826494301850cc08 | https://github.com/bwhmather/ssort/commit/85111ef1f5d3f8bbc499c3eaac6c2d40557b5a19 | https://github.com/bwhmather/ssort | ssort._ssort | [
"_statement_text_sorted_class"
] | 20 | 2 | dad5a10eebb63e2e | bwhmather/ssort@85111ef1f#src/ssort/_ssort.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
bwhmather/ssort | Fix detection of self argument name when positional-only | file | commit | Fix detection of self argument name when positional-only | from __future__ import annotations
import ast
from typing import Iterable
from ssort._ast import iter_child_nodes
from ssort._utils import single_dispatch
@single_dispatch
def _get_attribute_accesses(node: ast.AST, variable: str) -> Iterable[str]:
for child in iter_child_nodes(node):
yield from _get_att... | from __future__ import annotations
import ast
from typing import Iterable
from ssort._ast import iter_child_nodes
from ssort._utils import single_dispatch
@single_dispatch
def _get_attribute_accesses(node: ast.AST, variable: str) -> Iterable[str]:
for child in iter_child_nodes(node):
yield from _get_att... | tests/test_method_requirements.py | [
"tests/test_method_requirements.py::test_method_requirements_positional_only_self"
] | 2024-01-18 | 2024-01-18 | MIT | LICENSE | e5890c885ecb14d8b0154b3dae5031d22df85989 | 3d87560a666575310125f46a3be39194a26ade53 | https://github.com/bwhmather/ssort/commit/e5890c885ecb14d8b0154b3dae5031d22df85989 | https://github.com/bwhmather/ssort | ssort._method_requirements | [
"_get_method_requirements_for_function_def"
] | 8 | 1 | 7b87a47a575d38ce | bwhmather/ssort@e5890c885#src/ssort/_method_requirements.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
bwhmather/ssort | Fix lambda requirements with walrus operator | file | commit | Fix lambda requirements with walrus operator | from __future__ import annotations
import ast
import dataclasses
import enum
from typing import Iterable
from ssort._ast import iter_child_nodes
from ssort._bindings import get_bindings
from ssort._builtins import CLASS_BUILTINS
from ssort._utils import single_dispatch
class Scope(enum.Enum):
LOCAL = "LOCAL"
... | from __future__ import annotations
import ast
import dataclasses
import enum
from typing import Iterable
from ssort._ast import iter_child_nodes
from ssort._bindings import get_bindings
from ssort._builtins import CLASS_BUILTINS
from ssort._utils import single_dispatch
class Scope(enum.Enum):
LOCAL = "LOCAL"
... | tests/test_requirements.py | [
"tests/test_requirements.py::test_lambda_requirements_walrus_operator"
] | 2022-07-22 | 2022-05-16 | MIT | LICENSE | 1cfea30d0c080ce027eafa916aa36630de97a680 | 65c4b0a1f2e9e93e65855967f9a438046b24d9e1 | https://github.com/bwhmather/ssort/commit/1cfea30d0c080ce027eafa916aa36630de97a680 | https://github.com/bwhmather/ssort | ssort._requirements | [
"_get_requirements_for_lambda"
] | 1 | 1 | 08f2aa55bee571d9 | bwhmather/ssort@1cfea30d0#src/ssort/_requirements.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
bwhmather/ssort | Fix dependencies being return for bindings in comprehensions | file | commit | Fix dependencies being return for bindings in comprehensions | import ast
import dataclasses
import enum
import functools
from ssort._bindings import get_bindings
class Scope(enum.Enum):
LOCAL = "LOCAL"
NONLOCAL = "NONLOCAL"
GLOBAL = "GLOBAL"
@dataclasses.dataclass(frozen=True)
class Dependency:
name: str
lineno: int
col_offset: int
deferred: bool ... | import ast
import dataclasses
import enum
import functools
from ssort._bindings import get_bindings
class Scope(enum.Enum):
LOCAL = "LOCAL"
NONLOCAL = "NONLOCAL"
GLOBAL = "GLOBAL"
@dataclasses.dataclass(frozen=True)
class Dependency:
name: str
lineno: int
col_offset: int
deferred: bool ... | tests/test_dependencies.py | [
"tests/test_dependencies.py::test_dict_comp_dependencies",
"tests/test_dependencies.py::test_list_comp_dependencies",
"tests/test_dependencies.py::test_set_comp_dependencies"
] | 2021-03-29 | 2021-03-29 | MIT | LICENSE | b3054f643059bd45b4fca655cea13426efb26e60 | 8d64e001d325d382ecdd5feffce115e093e7fb20 | https://github.com/bwhmather/ssort/commit/b3054f643059bd45b4fca655cea13426efb26e60 | https://github.com/bwhmather/ssort | ssort._dependencies | [
"_get_dependencies_for_dict_comp",
"_get_dependencies_for_generator_exp",
"_get_dependencies_for_list_comp",
"_get_dependencies_for_set_comp"
] | 8 | 3 | 7d28ed438706b066 | bwhmather/ssort@b3054f643#src/ssort/_dependencies.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
SilentFleetKK/ai-market-pulse | fix: move Score Changes above Portfolio Net Value in the dashboard | file | commit | fix: move Score Changes above Portfolio Net Value in the dashboard | from __future__ import annotations
import html
import json
from dataclasses import dataclass
from datetime import datetime
from pathlib import Path
from .models import HistoryPoint
from .ui import lang, language_boot_script, language_runtime_script, language_toggle, ui_styles
RISK_RANK = {"high": 3, "medium": 2, "l... | from __future__ import annotations
import html
import json
from dataclasses import dataclass
from datetime import datetime
from pathlib import Path
from .models import HistoryPoint
from .ui import lang, language_boot_script, language_runtime_script, language_toggle, ui_styles
RISK_RANK = {"high": 3, "medium": 2, "l... | tests/test_dashboard.py | [
"tests/test_dashboard.py::test_render_dashboard_places_score_changes_before_portfolio_net_value"
] | 2026-07-09 | 2026-07-09 | MIT | LICENSE | f518431cb3f5cc9ccb4d01905ac3554f889c9fb8 | d007a0fcf9b5d4fd4cb658ff5f652b52084e6c8b | https://github.com/SilentFleetKK/ai-market-pulse/commit/f518431cb3f5cc9ccb4d01905ac3554f889c9fb8 | https://github.com/SilentFleetKK/ai-market-pulse | ai_market_pulse.dashboard | [
"render_dashboard"
] | 10 | 1 | 3c275d98ada4385f | SilentFleetKK/ai-market-pulse@f518431cb#src/ai_market_pulse/dashboard.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
SilentFleetKK/ai-market-pulse | fix: base portfolio allocation_pct on gross exposure, not net | file | commit | fix: base portfolio allocation_pct on gross exposure, not net | from __future__ import annotations
from dataclasses import replace
from .models import AssetAnalysis, PortfolioSummary, PositionMetrics
def enrich_portfolio(analyses: list[AssetAnalysis]) -> tuple[list[AssetAnalysis], list[PortfolioSummary]]:
positions = [_build_position(item) for item in analyses]
totals_b... | from __future__ import annotations
from dataclasses import replace
from .models import AssetAnalysis, PortfolioSummary, PositionMetrics
def enrich_portfolio(analyses: list[AssetAnalysis]) -> tuple[list[AssetAnalysis], list[PortfolioSummary]]:
positions = [_build_position(item) for item in analyses]
totals_b... | tests/test_portfolio.py | [
"tests/test_portfolio.py::test_enrich_portfolio_offsetting_positions_get_gross_exposure_allocation"
] | 2026-07-09 | 2026-07-09 | MIT | LICENSE | d725ba504f35fc09b835875f5794cd9c47c3c127 | 9add4d681dc794dbafb57ecc4a3148e1d3cb0ef2 | https://github.com/SilentFleetKK/ai-market-pulse/commit/d725ba504f35fc09b835875f5794cd9c47c3c127 | https://github.com/SilentFleetKK/ai-market-pulse | ai_market_pulse.portfolio | [
"enrich_portfolio"
] | 4 | 1 | e084c39afce496d5 | SilentFleetKK/ai-market-pulse@d725ba504#src/ai_market_pulse/portfolio.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
SilentFleetKK/ai-market-pulse | fix: use is-not-None checks in scoring so zero-valued indicators aren't skipped | file | commit | fix: use is-not-None checks in scoring so zero-valued indicators aren't skipped | from __future__ import annotations
from .models import SignalScore
def score_asset(metrics: dict[str, float | int | str | None]) -> SignalScore:
score = 50
reasons: list[str] = []
last = _num(metrics.get("last_close"))
sma20 = _num(metrics.get("sma20"))
sma50 = _num(metrics.get("sma50"))
sma... | from __future__ import annotations
from .models import SignalScore
def score_asset(metrics: dict[str, float | int | str | None]) -> SignalScore:
score = 50
reasons: list[str] = []
last = _num(metrics.get("last_close"))
sma20 = _num(metrics.get("sma20"))
sma50 = _num(metrics.get("sma50"))
sma... | tests/test_scoring.py | [
"tests/test_scoring.py::test_zero_sma200_is_treated_as_a_valid_value_not_missing"
] | 2026-07-09 | 2026-07-09 | MIT | LICENSE | 9add4d681dc794dbafb57ecc4a3148e1d3cb0ef2 | 7f773c9c111e573ba4aa7643d2ebf6a61cdaaed1 | https://github.com/SilentFleetKK/ai-market-pulse/commit/9add4d681dc794dbafb57ecc4a3148e1d3cb0ef2 | https://github.com/SilentFleetKK/ai-market-pulse | ai_market_pulse.scoring | [
"score_asset"
] | 8 | 1 | dc3896d26eda489a | SilentFleetKK/ai-market-pulse@9add4d681#src/ai_market_pulse/scoring.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
jazzband/dj-database-url | Fix IPv6 address parsing | file | commit | Fix IPv6 address parsing | # -*- coding: utf-8 -*-
import os
try:
import urlparse
except ImportError:
import urllib.parse as urlparse
# Register database schemes in URLs.
urlparse.uses_netloc.append('postgres')
urlparse.uses_netloc.append('postgresql')
urlparse.uses_netloc.append('pgsql')
urlparse.uses_netloc.append('postgis')
urlpar... | # -*- coding: utf-8 -*-
import os
try:
import urlparse
except ImportError:
import urllib.parse as urlparse
# Register database schemes in URLs.
urlparse.uses_netloc.append('postgres')
urlparse.uses_netloc.append('postgresql')
urlparse.uses_netloc.append('pgsql')
urlparse.uses_netloc.append('postgis')
urlpar... | test_dj_database_url.py | [
"test_dj_database_url.py::DatabaseTestSuite::test_ipv6_parsing"
] | 2017-01-20 | 2017-01-05 | BSD-3-Clause | LICENSE | be4c7f22622d065e454c13cc863f3d4f867cc160 | 471a786b64ab034a2ea2b624bc599dae64d6ae49 | https://github.com/jazzband/dj-database-url/commit/be4c7f22622d065e454c13cc863f3d4f867cc160 | https://github.com/jazzband/dj-database-url | dj_database_url | [
"parse"
] | 13 | 1 | c2800c18ad27c2db | jazzband/dj-database-url@be4c7f226#dj_database_url.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
ShivamSarodia/ShivyC | Fix error collection in lexer | file | commit | Fix error collection in lexer | """Objects for the lexing phase of the compiler.
The lexing phase takes a raw text string as input from the preprocessor and
generates a flat list of tokens present in that text string. Because there's
currently no preproccesor implemented, the input text string is simply the file
contents.
"""
import re
import toke... | """Objects for the lexing phase of the compiler.
The lexing phase takes a raw text string as input from the preprocessor and
generates a flat list of tokens present in that text string. Because there's
currently no preproccesor implemented, the input text string is simply the file
contents.
"""
import re
import toke... | tests/test_lexer.py | [
"tests/test_lexer.py::LexerTests::test_bad_identifier"
] | 2017-04-18 | 2017-04-18 | MIT | LICENSE | 3d9d3ad1463168c8cb88f38d52a91b2f686837aa | 21a412ca93e953519c286e7b312421d98ad4464d | https://github.com/ShivamSarodia/ShivyC/commit/3d9d3ad1463168c8cb88f38d52a91b2f686837aa | https://github.com/ShivamSarodia/ShivyC | lexer | [
"Lexer"
] | 2 | 1 | 9c2c0a15b84015d6 | ShivamSarodia/ShivyC@3d9d3ad14#lexer.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
tkem/cachetools | Fix #218: Fix and properly document @cachedmethod.cache_key handling. | file | commit | Fix #218: Fix and properly document @cachedmethod.cache_key handling. | """Method decorator helpers."""
__all__ = ()
import functools
import warnings
import weakref
def _warn_classmethod(stacklevel):
warnings.warn(
"decorating class methods with @cachedmethod is deprecated",
DeprecationWarning,
stacklevel=stacklevel,
)
def _warn_instance_dict(msg, stac... | """Method decorator helpers."""
__all__ = ()
import functools
import warnings
import weakref
def _warn_classmethod(stacklevel):
warnings.warn(
"decorating class methods with @cachedmethod is deprecated",
DeprecationWarning,
stacklevel=stacklevel,
)
def _warn_instance_dict(msg, stac... | tests/test_cachedmethod.py | [
"tests/test_cachedmethod.py::CacheMethodTest::test_decorator_attributes",
"tests/test_cachedmethod.py::DictMethodTest::test_decorator_attributes"
] | 2026-03-08 | 2026-03-08 | MIT | LICENSE | 18e5930ced2cf107c273b81d949dbab8ce3f48e1 | 98ec79ff8be24ce1346d6a96602f11ccbda4f76f | https://github.com/tkem/cachetools/commit/18e5930ced2cf107c273b81d949dbab8ce3f48e1 | https://github.com/tkem/cachetools | cachetools._cachedmethod | [
"_WrapperBase",
"_condition_info",
"_locked_info",
"_unlocked_info"
] | 8 | 2 | 5ee02972be299b15 | tkem/cachetools@18e5930ce#src/cachetools/_cachedmethod.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
tkem/cachetools | Fix #292, fix #205, fix #103: TTLCache.expire() returns iterable of expired (key, value) pairs. | file | commit | Fix #292, fix #205, fix #103: TTLCache.expire() returns iterable of expired (key, value) pairs. | """Extensible memoizing collections and decorators."""
__all__ = (
"Cache",
"FIFOCache",
"LFUCache",
"LRUCache",
"MRUCache",
"RRCache",
"TLRUCache",
"TTLCache",
"cached",
"cachedmethod",
)
__version__ = "5.4.0"
import collections
import collections.abc
import functools
import ... | """Extensible memoizing collections and decorators."""
__all__ = (
"Cache",
"FIFOCache",
"LFUCache",
"LRUCache",
"MRUCache",
"RRCache",
"TLRUCache",
"TTLCache",
"cached",
"cachedmethod",
)
__version__ = "5.4.0"
import collections
import collections.abc
import functools
import ... | tests/test_ttl.py | [
"tests/test_ttl.py::TTLCacheTest::test_ttl_datetime",
"tests/test_ttl.py::TTLCacheTest::test_ttl_expire"
] | 2024-08-18 | 2024-07-15 | MIT | LICENSE | bb4b37cfc76ba42707db59a90220bf724393d263 | 726b0111e06f655c332ea4765a89d4669719649b | https://github.com/tkem/cachetools/commit/bb4b37cfc76ba42707db59a90220bf724393d263 | https://github.com/tkem/cachetools | cachetools.__init__ | [
"TLRUCache",
"TTLCache",
"_DefaultSize"
] | 12 | 2 | 3530635704c69878 | tkem/cachetools@bb4b37cfc#src/cachetools/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
tkem/cachetools | Fix #159: Pass self to @cachedmethod key function. | file | commit | Fix #159: Pass self to @cachedmethod key function. | """Extensible memoizing collections and decorators."""
__all__ = (
"Cache",
"FIFOCache",
"LFUCache",
"LRUCache",
"MRUCache",
"RRCache",
"TLRUCache",
"TTLCache",
"cached",
"cachedmethod",
)
__version__ = "4.2.4"
import collections
import collections.abc
import functools
import ... | """Extensible memoizing collections and decorators."""
__all__ = (
"Cache",
"FIFOCache",
"LFUCache",
"LRUCache",
"MRUCache",
"RRCache",
"TLRUCache",
"TTLCache",
"cached",
"cachedmethod",
)
__version__ = "4.2.4"
import collections
import collections.abc
import functools
import ... | tests/test_method.py | [
"tests/test_method.py::CachedMethodTest::test_unhashable"
] | 2021-12-21 | 2021-12-19 | MIT | LICENSE | 9dda91f99b2adc5aec772bae24908dbb31fdb130 | 0e778e4410641af906930877c14f12f592d16fe2 | https://github.com/tkem/cachetools/commit/9dda91f99b2adc5aec772bae24908dbb31fdb130 | https://github.com/tkem/cachetools | cachetools.__init__ | [
"cached",
"cachedmethod"
] | 14 | 1 | 7d2f314202d4573d | tkem/cachetools@9dda91f99#src/cachetools/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
tkem/cachetools | Fix #163: Support user_function with cachetools.func decorators. | file | commit | Fix #163: Support user_function with cachetools.func decorators. | """`functools.lru_cache` compatible memoizing function decorators."""
import collections
import functools
import random
import time
try:
from threading import RLock
except ImportError: # pragma: no cover
from dummy_threading import RLock
from . import keys
from .lfu import LFUCache
from .lru import LRUCache... | """`functools.lru_cache` compatible memoizing function decorators."""
import collections
import functools
import random
import time
try:
from threading import RLock
except ImportError: # pragma: no cover
from dummy_threading import RLock
from . import keys
from .lfu import LFUCache
from .lru import LRUCache... | tests/test_func.py | [
"tests/test_func.py::LFUDecoratorTest::test_decorator_user_function",
"tests/test_func.py::LRUDecoratorTest::test_decorator_user_function",
"tests/test_func.py::RRDecoratorTest::test_decorator_user_function",
"tests/test_func.py::TTLDecoratorTest::test_decorator_user_function"
] | 2020-04-08 | 2019-12-15 | MIT | LICENSE | 9a6cb65aae884cff1b1287d5288ff43c751a6f32 | d6f962e80ed405756fb478bcb4165e85796371f9 | https://github.com/tkem/cachetools/commit/9a6cb65aae884cff1b1287d5288ff43c751a6f32 | https://github.com/tkem/cachetools | cachetools.func | [
"lfu_cache",
"lru_cache",
"rr_cache",
"ttl_cache"
] | 8 | 4 | 39e4951488e95187 | tkem/cachetools@9a6cb65aa#cachetools/func.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
hirak99/yabsnap | fix(tests): some tests were not being run | file | commit | fix(tests): some tests were not being run | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | src/code/mechanisms/rollback_btrfs_test.py | [
"src/code/mechanisms/rollback_btrfs_test.py::TestRollbacker::test_get_mount_attributes",
"src/code/mechanisms/rollback_btrfs_test.py::TestRollbacker::test_rollback_btrfs_for_two_snaps"
] | 2025-02-24 | 2025-02-18 | Apache-2.0 | LICENSE | 1f5811fab21dcfeb2ca5b625ec581c864d65d02e | ed0a9dd5b4e5566eb9b51765a1ad08b9b618da10 | https://github.com/hirak99/yabsnap/commit/1f5811fab21dcfeb2ca5b625ec581c864d65d02e | https://github.com/hirak99/yabsnap | code.mechanisms.rollback_btrfs | [
"_get_mount_attributes_from_mtab"
] | 19 | 2 | efed78a342a061fa | hirak99/yabsnap@1f5811fab#src/code/mechanisms/rollback_btrfs.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
hirak99/yabsnap | fix(logging): added a friendly message if snaptype is UNKNOWN | file | commit | fix(logging): added a friendly message if snaptype is UNKNOWN | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | src/code/snap_holder_test.py | [
"src/code/snap_holder_test.py::SnapHolderTest::test_warn_unknown_type"
] | 2025-01-17 | 2025-01-12 | Apache-2.0 | LICENSE | 0aa9496c43f090509924a405a18d5e45f390363f | 5b7dc35a635ecae4da03ed0b321e032148bdc2bc | https://github.com/hirak99/yabsnap/commit/0aa9496c43f090509924a405a18d5e45f390363f | https://github.com/hirak99/yabsnap | code.snap_holder | [
"Snapshot"
] | 9 | 1 | 29b1aafa3e694c46 | hirak99/yabsnap@0aa9496c4#src/code/snap_holder.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
hirak99/yabsnap | Fixes a bug where keep_preinstall = 0 caused error on pacman | file | commit | Fixes a bug where keep_preinstall = 0 caused error on pacman | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | src/code/snap_operator_test.py | [
"src/code/snap_operator_test.py::SnapOperatorTest::test_pachook"
] | 2023-11-15 | 2023-11-13 | Apache-2.0 | LICENSE | cedd9aed2a6d804485783bc3b3939e38da183b31 | a5564b5cb34a9b1299d349cde188a05925501962 | https://github.com/hirak99/yabsnap/commit/cedd9aed2a6d804485783bc3b3939e38da183b31 | https://github.com/hirak99/yabsnap | code.snap_operator | [
"SnapOperator",
"_all_but_last_k"
] | 16 | 1 | 0002e4710169e1cb | hirak99/yabsnap@cedd9aed2#src/code/snap_operator.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
hirak99/yabsnap | Fixes a bug where keep_preinstall = 1 did not work correctly | file | commit | Fixes a bug where keep_preinstall = 1 did not work correctly | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | src/code/snap_operator_test.py | [
"src/code/snap_operator_test.py::SnapOperatorTest::test_all_but_k"
] | 2023-11-05 | 2023-11-05 | Apache-2.0 | LICENSE | 12bc3b3149e4e8d55921ff496306d23ff80936fa | b89df439c99999f2541fef5468432157e10ecb16 | https://github.com/hirak99/yabsnap/commit/12bc3b3149e4e8d55921ff496306d23ff80936fa | https://github.com/hirak99/yabsnap | code.snap_operator | [
"SnapOperator",
"_get_old_backups"
] | 19 | 1 | 1c82b90824555f94 | hirak99/yabsnap@12bc3b314#src/code/snap_operator.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
viralogic/py-enumerable | Issue #14 - fixed bug in except_ | file | commit | Issue #14 - fixed bug in except_ | import itertools
from .decorators import deprecated
from .exceptions import NoElementsError, NoMatchingElement, \
NullArgumentError, MoreThanOneMatchingElement
class Enumerable(object):
def __init__(self, data=None):
"""
Constructor
** Note: no type checking of the data elements are p... | import itertools
from .decorators import deprecated
from .exceptions import NoElementsError, NoMatchingElement, \
NullArgumentError, MoreThanOneMatchingElement
class Enumerable(object):
def __init__(self, data=None):
"""
Constructor
** Note: no type checking of the data elements are p... | tests/test_functions.py | [
"tests/test_functions.py::TestFunctions::test_marks_except"
] | 2018-12-05 | 2018-11-16 | MIT | LICENSE | 0cf796bfdfd1967e1647d806f4ce096b1489c299 | 872fe09dcdb6edf957e8ab806a0ceab140eba24b | https://github.com/viralogic/py-enumerable/commit/0cf796bfdfd1967e1647d806f4ce096b1489c299 | https://github.com/viralogic/py-enumerable | py_linq.py_linq | [
"Enumerable",
"Enumerable3"
] | 8 | 1 | 325549a98bcb9d14 | viralogic/py-enumerable@0cf796bfd#py_linq/py_linq.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
pyconll/pyconll | Fix bug with deps and add test for parsing. | file | commit | Fix bug with deps and add test for parsing. | import operator
def _unit_empty_map(value, empty):
"""
Map unit values for CoNLL-U columns to a string or None if empty.
Args:
value: The value to map.
empty: The empty representation for this unit.
Returns:
None if value is empty and value otherwise.
"""
return None if value == ... | import operator
def _unit_empty_map(value, empty):
"""
Map unit values for CoNLL-U columns to a string or None if empty.
Args:
value: The value to map.
empty: The empty representation for this unit.
Returns:
None if value is empty and value otherwise.
"""
return None if value == ... | tests/unit/test_token.py | [
"tests/unit/test_token.py::test_deps_parsing"
] | 2018-07-04 | 2018-07-04 | MIT | LICENSE | 096bdab15aa3211b74ef5a41ec6f4c14080dc7fd | 7e5d6c4f13dfae4e7a08c31c4c5ea71c613f216d | https://github.com/pyconll/pyconll/commit/096bdab15aa3211b74ef5a41ec6f4c14080dc7fd | https://github.com/pyconll/pyconll | pyconll.unit.token | [
"Token"
] | 2 | 1 | 6af002aa61151724 | pyconll/pyconll@096bdab15#pyconll/unit/token.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
guillaumemeyer/watermarks-remover | fix: validate clean option types (#111) | file | commit | fix: validate clean option types (#111) | #!/usr/bin/env python3
"""HTTP service exposing the watermarks-remover cleaning pipeline.
Stdlib-only. The agent skill and any web app can call it over HTTP instead of
running the CLI scripts locally.
Endpoints:
GET /health -> {"ok": true, "version": ...}
GET /capabilities -> which optional tools ... | #!/usr/bin/env python3
"""HTTP service exposing the watermarks-remover cleaning pipeline.
Stdlib-only. The agent skill and any web app can call it over HTTP instead of
running the CLI scripts locally.
Endpoints:
GET /health -> {"ok": true, "version": ...}
GET /capabilities -> which optional tools ... | tests/test_http_server.py | [
"tests/test_http_server.py::test_option_wrong_type_rejected[aggressive_homoglyphs-1-boolean]",
"tests/test_http_server.py::test_option_wrong_type_rejected[also_layer_a_text-value3-boolean]",
"tests/test_http_server.py::test_option_wrong_type_rejected[keep_non_ai_metadata-None-boolean]",
"tests/test_http_serve... | 2026-08-17 | 2026-08-17 | MIT | LICENSE | 5e43d53fc3fee6c573cfedef06cfd54dd94b894e | 07be21e54ab95ecbb0cbb66f34f5098d2a54178f | https://github.com/guillaumemeyer/watermarks-remover/commit/5e43d53fc3fee6c573cfedef06cfd54dd94b894e | https://github.com/guillaumemeyer/watermarks-remover | service.scripts.server | [
"Handler"
] | 6 | 6 | d5b97c45b4125e76 | guillaumemeyer/watermarks-remover@5e43d53fc#service/scripts/server.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
guillaumemeyer/watermarks-remover | fix: macOS portability — pure --json stdout for the SynthID scorer, BSD realpath probe (#70) | file | commit | fix: macOS portability — pure --json stdout for the SynthID scorer, BSD realpath probe (#70) | #!/usr/bin/env python3
"""Optional SynthID pixel-domain scorer backed by an external reverse-SynthID checkout.
This script does NOT vendor upstream code. It imports the scorer from a
user-provided checkout (https://github.com/aloshdenny/reverse-SynthID) at
runtime, using that environment's optional dependencies (numpy... | #!/usr/bin/env python3
"""Optional SynthID pixel-domain scorer backed by an external reverse-SynthID checkout.
This script does NOT vendor upstream code. It imports the scorer from a
user-provided checkout (https://github.com/aloshdenny/reverse-SynthID) at
runtime, using that environment's optional dependencies (numpy... | tests/test_synthid_stdout_purity.py | [
"tests/test_synthid_stdout_purity.py::test_json_stdout_survives_noisy_upstream"
] | 2026-08-15 | 2026-08-15 | MIT | LICENSE | 97c32d58ffc34e33a8d2a4b771b2d01122b58d97 | 1eeda9be89bb6ec6ef67aba15afbe49ffbe187a4 | https://github.com/guillaumemeyer/watermarks-remover/commit/97c32d58ffc34e33a8d2a4b771b2d01122b58d97 | https://github.com/guillaumemeyer/watermarks-remover | service.scripts.score_synthid | [
"main"
] | 17 | 1 | 74a09f83eb73ffce | guillaumemeyer/watermarks-remover@97c32d58f#service/scripts/score_synthid.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
guillaumemeyer/watermarks-remover | fix: preserve mixed-case CMS generator meta tags (#42) | file | commit | fix: preserve mixed-case CMS generator meta tags (#42) | """Inspect/clean AI provenance metadata in non-raster containers.
Formats: SVG, PDF (best-effort), DOCX, ODT, HTML, Markdown frontmatter.
Stdlib-first; PDF prefers optional exiftool/c2patool when present.
"""
from __future__ import annotations
import io
import re
import subprocess
import zipfile
from dataclasses imp... | """Inspect/clean AI provenance metadata in non-raster containers.
Formats: SVG, PDF (best-effort), DOCX, ODT, HTML, Markdown frontmatter.
Stdlib-first; PDF prefers optional exiftool/c2patool when present.
"""
from __future__ import annotations
import io
import re
import subprocess
import zipfile
from dataclasses imp... | tests/test_container_meta.py | [
"tests/test_container_meta.py::test_html_cms_generator_attribute_names_are_case_insensitive"
] | 2026-08-14 | 2026-08-14 | MIT | LICENSE | 4b77c3f4abee3332ad2e281cad0bd29666c4bc4a | 7ef8e446e74c6f330fccf9c0be9d294890618845 | https://github.com/guillaumemeyer/watermarks-remover/commit/4b77c3f4abee3332ad2e281cad0bd29666c4bc4a | https://github.com/guillaumemeyer/watermarks-remover | skills.remove-ai-marks.scripts.container_meta | [
"_meta_attrs"
] | 2 | 1 | 38408e30940ec4d1 | guillaumemeyer/watermarks-remover@4b77c3f4a#skills/remove-ai-marks/scripts/container_meta.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
guillaumemeyer/watermarks-remover | fix: c2patool "No claim found" reported as a C2PA manifest (#3) | file | commit | fix: c2patool "No claim found" reported as a C2PA manifest (#3) | """Detect and strip C2PA / AI-related metadata from PNG and JPEG (stdlib)."""
from __future__ import annotations
import re
import struct
import subprocess
import zlib
from dataclasses import dataclass, field
from pathlib import Path
from typing import Any
from common import which
PNG_SIG = b"\x89PNG\r\n\x1a\n"
JPEG... | """Detect and strip C2PA / AI-related metadata from PNG and JPEG (stdlib)."""
from __future__ import annotations
import re
import struct
import subprocess
import zlib
from dataclasses import dataclass, field
from pathlib import Path
from typing import Any
from common import which
PNG_SIG = b"\x89PNG\r\n\x1a\n"
JPEG... | tests/test_c2patool_report.py | [
"tests/test_c2patool_report.py::test_no_claim_found_is_not_a_manifest"
] | 2026-08-12 | 2026-08-12 | MIT | LICENSE | a107b8d105eaadeaae0dd38f38d09e6b2589e9fd | 51593cc64ca14b46a1c210f9542b24f2918c982d | https://github.com/guillaumemeyer/watermarks-remover/commit/a107b8d105eaadeaae0dd38f38d09e6b2589e9fd | https://github.com/guillaumemeyer/watermarks-remover | skills.remove-ai-marks.scripts.image_meta | [
"run_optional_tools"
] | 15 | 1 | b249e80e7937da10 | guillaumemeyer/watermarks-remover@a107b8d10#skills/remove-ai-marks/scripts/image_meta.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
semuconsulting/pyrtcm | fix parse_buffer error | file | commit | fix parse_buffer error | """
RTCMReader class.
Reads and parses individual RTCM3 messages from any stream
which supports a read(n) -> bytes method.
RTCM3 transport layer bit format:
+-------+--------+--------+--------+----------------+--------+
| 0xd3 | 000000 | length | type | content | crc |
+-------+--------+--------+--------... | """
RTCMReader class.
Reads and parses individual RTCM3 messages from any stream
which supports a read(n) -> bytes method.
RTCM3 transport layer bit format:
+-------+--------+--------+--------+----------------+--------+
| 0xd3 | 000000 | length | type | content | crc |
+-------+--------+--------+--------... | tests/test_stream.py | [
"tests/test_stream.py::StreamTest::testparsebuffer5"
] | 2022-03-31 | 2022-03-31 | BSD-3-Clause | LICENSE | e91bd8f97235ad0872d60bb2b17b04a67332f1dd | 76596c8ee282b62af488f15f5b7ad89434ee27da | https://github.com/semuconsulting/pyrtcm/commit/e91bd8f97235ad0872d60bb2b17b04a67332f1dd | https://github.com/semuconsulting/pyrtcm | pyrtcm.rtcmreader | [
"RTCMReader"
] | 2 | 1 | d848a44ab8a2685b | semuconsulting/pyrtcm@e91bd8f97#pyrtcm/rtcmreader.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
AgentBudget/agentbudget | fix: remove dead code and add close() to streaming wrappers | file | commit | fix: remove dead code and add close() to streaming wrappers | """Monkey-patching for automatic LLM cost tracking.
Patches OpenAI and Anthropic client methods so every API call
is automatically tracked without any code changes.
Streaming support
-----------------
When the patched method returns a streaming response (``openai.Stream`` or
``anthropic.Stream``), the return value is... | """Monkey-patching for automatic LLM cost tracking.
Patches OpenAI and Anthropic client methods so every API call
is automatically tracked without any code changes.
Streaming support
-----------------
When the patched method returns a streaming response (``openai.Stream`` or
``anthropic.Stream``), the return value is... | tests/test_streaming.py | [
"tests/test_streaming.py::test_anthropic_stream_wrapper_has_close",
"tests/test_streaming.py::test_openai_stream_wrapper_has_close"
] | 2026-03-25 | 2026-03-25 | Apache-2.0 | LICENSE | f6acf6c905ea93ed2e4d721227c1403bee006f5f | 3bb40198496c147c54c82e0c843b6a7d83b0bccd | https://github.com/AgentBudget/agentbudget/commit/f6acf6c905ea93ed2e4d721227c1403bee006f5f | https://github.com/AgentBudget/agentbudget | agentbudget._patch | [
"_AnthropicStreamWrapper",
"_AsyncOpenAIStreamWrapper",
"_OpenAIStreamWrapper"
] | 25 | 2 | c84f7b981a0d1228 | AgentBudget/agentbudget@f6acf6c90#agentbudget/_patch.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
breuleux/ovld | Fix resolution for type arguments with plain `type` annotation | file | commit | Fix resolution for type arguments with plain `type` annotation | """Utilities to overload functions for multiple types."""
import inspect
import itertools
import math
import textwrap
import typing
from types import FunctionType, GenericAlias
try:
from types import UnionType
except ImportError: # pragma: no cover
UnionType = None
from .mro import compose_mro
from .utils i... | """Utilities to overload functions for multiple types."""
import inspect
import itertools
import math
import textwrap
import typing
from types import FunctionType, GenericAlias
try:
from types import UnionType
except ImportError: # pragma: no cover
UnionType = None
from .mro import compose_mro
from .utils i... | tests/test_ovld.py | [
"tests/test_ovld.py::test_plain_type_argument"
] | 2024-04-12 | 2024-04-12 | MIT | LICENSE | 49400115537c508fa2d1f9b045b4d7923ad350aa | 641b15fdd2ed6f5ed667078096a53b5b89c24098 | https://github.com/breuleux/ovld/commit/49400115537c508fa2d1f9b045b4d7923ad350aa | https://github.com/breuleux/ovld | ovld.core | [
"MultiTypeMap",
"TypeMap"
] | 8 | 1 | db7318916c048c0d | breuleux/ovld@494001155#ovld/core.py | python | 2026-08-18 | goldset/0.1 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.