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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
keleshev/schema | Fix custom error on a key schema being lost for wrong keys | file | commit | Fix custom error on a key schema being lost for wrong keys | """schema is a library for validating Python data structures, such as those
obtained from config-files, forms, external services or command-line
parsing, converted from JSON/YAML (or something else) to Python data-types."""
import inspect
import re
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dic... | """schema is a library for validating Python data structures, such as those
obtained from config-files, forms, external services or command-line
parsing, converted from JSON/YAML (or something else) to Python data-types."""
import inspect
import re
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dic... | test_schema.py | [
"test_schema.py::test_wrong_key_reports_key_schema_error"
] | 2026-06-15 | 2026-06-13 | MIT | LICENSE-MIT | 15158c5391eaacbc1e4813b3529ea035fd2cf03e | 27e268d4fc36a169b9a3296fe03d3b897fc0bf2f | https://github.com/keleshev/schema/commit/15158c5391eaacbc1e4813b3529ea035fd2cf03e | https://github.com/keleshev/schema | schema.__init__ | [
"Schema"
] | 24 | 1 | 0f3dc1fd1d934307 | keleshev/schema@15158c539#schema/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix(golike): register generic functions with [...] type params | file | commit | fix(golike): register generic functions with [...] type params | '''
Language parser for Go lang
'''
from .code_reader import CodeStateMachine
class GoLikeStates(CodeStateMachine): # pylint: disable=R0903
FUNC_KEYWORD = 'func'
def _state_global(self, token):
if token == self.FUNC_KEYWORD:
self._state = self._function_name
self.context.pu... | '''
Language parser for Go lang
'''
from .code_reader import CodeStateMachine
class GoLikeStates(CodeStateMachine): # pylint: disable=R0903
FUNC_KEYWORD = 'func'
def _state_global(self, token):
if token == self.FUNC_KEYWORD:
self._state = self._function_name
self.context.pu... | test/test_languages/testGo.py | [
"test/test_languages/testGo.py::Test_parser_for_Go::test_generic_function_with_multiple_type_params",
"test/test_languages/testGo.py::Test_parser_for_Go::test_generic_function_with_type_param"
] | 2026-06-15 | 2026-06-15 | MIT | LICENSE.txt | ad7ad28bd3843dde467b6ad62cd7d824c3bbcd16 | 0b97a9ae8e77b8d559e7ef187ad4b4e3ef02924f | https://github.com/terryyin/lizard/commit/ad7ad28bd3843dde467b6ad62cd7d824c3bbcd16 | https://github.com/terryyin/lizard | lizard_languages.golike | [
"GoLikeStates"
] | 9 | 2 | e83112c667225c06 | terryyin/lizard@ad7ad28bd#lizard_languages/golike.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix(java): enhance parsing of generic and qualified type names in anonymous classes | file | commit | fix(java): enhance parsing of generic and qualified type names in anonymous classes | '''
Language parser for Java
'''
from lizard_languages.code_reader import CodeStateMachine
from .clike import CLikeReader, CLikeStates, CLikeNestingStackStates
# "record" is a keyword for type declarations, but a valid method/field name.
# Treat as keyword only when it cannot be the name in "Type name" (field/method/... | '''
Language parser for Java
'''
from lizard_languages.code_reader import CodeStateMachine
from .clike import CLikeReader, CLikeStates, CLikeNestingStackStates
# "record" is a keyword for type declarations, but a valid method/field name.
# Treat as keyword only when it cannot be the name in "Type name" (field/method/... | test/test_languages/testJava.py | [
"test/test_languages/testJava.py::TestJava::test_qualified_type_anonymous_class",
"test/test_languages/testJava.py::TestJava::test_wildcard_generic_anonymous_class"
] | 2026-06-15 | 2026-06-15 | MIT | LICENSE.txt | 0b97a9ae8e77b8d559e7ef187ad4b4e3ef02924f | 74c244b9cef455f344a1aa2025e7bc89356bf5c1 | https://github.com/terryyin/lizard/commit/0b97a9ae8e77b8d559e7ef187ad4b4e3ef02924f | https://github.com/terryyin/lizard | lizard_languages.java | [
"JavaStates"
] | 8 | 2 | 74373fd0712969f7 | terryyin/lizard@0b97a9ae8#lizard_languages/java.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
keleshev/schema | Fix TypeError when building the key error message for a tuple key | file | commit | Fix TypeError when building the key error message for a tuple key | """schema is a library for validating Python data structures, such as those
obtained from config-files, forms, external services or command-line
parsing, converted from JSON/YAML (or something else) to Python data-types."""
import inspect
import re
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dic... | """schema is a library for validating Python data structures, such as those
obtained from config-files, forms, external services or command-line
parsing, converted from JSON/YAML (or something else) to Python data-types."""
import inspect
import re
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dic... | test_schema.py | [
"test_schema.py::test_tuple_key_error_message_does_not_crash"
] | 2026-06-13 | 2026-03-04 | MIT | LICENSE-MIT | d81871b8644e3b5dcc36b63904f7e3463c92a947 | 340d3f0596b985db9e7c81a1233f784648d7c101 | https://github.com/keleshev/schema/commit/d81871b8644e3b5dcc36b63904f7e3463c92a947 | https://github.com/keleshev/schema | schema.__init__ | [
"Schema"
] | 2 | 1 | a4789c2c52dc66a0 | keleshev/schema@d81871b86#schema/__init__.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
fasouto/termaid | _position_children | fix: render blocks nested two groups deep | function | docstring | Position children of a group block within its bounds. | def _position_children(
group: Block,
gx: int, gy: int, gw: int, gh: int,
sizes: dict[str, tuple[int, int]],
positions: dict[str, tuple[int, int]],
col_gap: int = _COL_GAP,
) -> None:
"""Position children of a group block within its bounds."""
inner_x = gx + _GROUP_PAD + 1 # after border + ... | def _position_children(
group: Block,
gx: int, gy: int, gw: int, gh: int,
sizes: dict[str, tuple[int, int]],
positions: dict[str, tuple[int, int]],
col_gap: int = _COL_GAP,
) -> None:
"""Position children of a group block within its bounds."""
inner_x = gx + _GROUP_PAD + 1 # after border + ... | tests/test_blockdiagram.py | [
"tests/test_blockdiagram.py::TestNestedGroups::test_doubly_nested_blocks_are_rendered"
] | 2026-06-11 | 2026-06-11 | MIT | LICENSE | 053aa19dfb540a74cf88b9557dd982ea753bcda9 | 189ed5fb75ed217679032993eb2237bcd99216ed | https://github.com/fasouto/termaid/commit/053aa19dfb540a74cf88b9557dd982ea753bcda9 | https://github.com/fasouto/termaid | termaid.renderer.blockdiagram | [
"_position_children"
] | 4 | 1 | 1834518a4636a3c9 | fasouto/termaid@053aa19df#_position_children | python | 2026-08-18 | goldset/0.1 | 1 | |
fasouto/termaid | order_layers | fix: keep all nodes when an orthogonal subgraph contains a cycle | function | docstring | Order nodes within each layer using barycenter heuristic. | def order_layers(graph: Graph, layers: dict[str, int]) -> list[list[str]]:
"""Order nodes within each layer using barycenter heuristic."""
# Group nodes by layer
max_layer = max(layers.values()) if layers else 0
layer_lists: list[list[str]] = [[] for _ in range(max_layer + 1)]
for nid in graph.node_... | def order_layers(graph: Graph, layers: dict[str, int]) -> list[list[str]]:
"""Order nodes within each layer using barycenter heuristic."""
# Group nodes by layer
max_layer = max(layers.values()) if layers else 0
layer_lists: list[list[str]] = [[] for _ in range(max_layer + 1)]
for nid in graph.node_... | tests/test_layout.py | [
"tests/test_layout.py::TestOrthogonalSubgraphOrdering::test_cyclic_subgraph_keeps_all_nodes"
] | 2026-06-11 | 2026-06-11 | MIT | LICENSE | 81c69b2d7bb6286acca7dc1fbdbcc3d42106b03c | e88991c2df3e657899070548830e7571732650f5 | https://github.com/fasouto/termaid/commit/81c69b2d7bb6286acca7dc1fbdbcc3d42106b03c | https://github.com/fasouto/termaid | termaid.layout.layers | [
"order_layers"
] | 8 | 1 | 809ff463681bbc6f | fasouto/termaid@81c69b2d7#order_layers | python | 2026-08-18 | goldset/0.1 | 1 | |
redis/redis-py | Fix hiredis readiness checks for high file descriptors (#4115) | file | commit | Fix hiredis readiness checks for high file descriptors (#4115) | import select
import socket
from logging import getLogger
from typing import Callable, List, Optional, TypedDict, Union
from ..exceptions import ConnectionError, InvalidResponse, RedisError, TimeoutError
from ..typing import EncodableT
from ..utils import HIREDIS_AVAILABLE, SENTINEL, deprecated_function
from .base imp... | import selectors
import socket
from logging import getLogger
from typing import Callable, List, Optional, TypedDict, Union
from ..exceptions import ConnectionError, InvalidResponse, RedisError, TimeoutError
from ..typing import EncodableT
from ..utils import HIREDIS_AVAILABLE, SENTINEL, deprecated_function
from .base ... | tests/test_connection.py | [
"tests/test_connection.py::test_hiredis_socket_can_read_handles_high_file_descriptor",
"tests/test_connection.py::test_hiredis_socket_can_read_uses_default_selector"
] | 2026-06-11 | 2026-06-10 | MIT | LICENSE | 2febde0673eeab3157e24791c4048c3852f50fec | 640f0d055f19a9203cc894998d97150676dbf947 | https://github.com/redis/redis-py/commit/2febde0673eeab3157e24791c4048c3852f50fec | https://github.com/redis/redis-py | redis._parsers.hiredis | [
"_socket_can_read"
] | 8 | 2 | 10a55e1d70179eda | redis/redis-py@2febde067#redis/_parsers/hiredis.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix(script): stop a '#' comment continuing past a trailing backslash (#317) | file | commit | fix(script): stop a '#' comment continuing past a trailing backslash (#317) | '''
Common behaviours of script languages
'''
from .code_reader import CodeReader
class ScriptLanguageMixIn:
# pylint: disable=R0903
@staticmethod
def get_comment_from_token(token):
if token.startswith("#"):
# For forgiveness comments, return the entire comment with directive intact
... | '''
Common behaviours of script languages
'''
from .code_reader import CodeReader
class ScriptLanguageMixIn:
# pylint: disable=R0903
@staticmethod
def get_comment_from_token(token):
if token.startswith("#"):
# For forgiveness comments, return the entire comment with directive intact
... | test/test_languages/testRuby.py | [
"test/test_languages/testRuby.py::Test_Ruby_comment_line_continuation::test_backslash_at_end_of_comment_keeps_next_line"
] | 2026-06-11 | 2026-06-11 | MIT | LICENSE.txt | 712d44f77ef31c9a7f9552d32da114dfab8efdc9 | ceb899aac22ea637aa0b4f07e72dee1224933762 | https://github.com/terryyin/lizard/commit/712d44f77ef31c9a7f9552d32da114dfab8efdc9 | https://github.com/terryyin/lizard | lizard_languages.script_language | [
"ScriptLanguageMixIn"
] | 7 | 1 | 9ac42ae5eb897824 | terryyin/lizard@712d44f77#lizard_languages/script_language.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
leeguooooo/claude-code-usage-bar | reconcile_account | fix(predict): 闲置窗口回放过期 rate_limits blob(5h reset 已过期)不再覆盖/确认共享读数,修复 7d 卡旧值 | function | docstring | Merge this window's per-session reading into the shared account-global
store and return the freshest (u5, r5, u7, r7). Makes every window converge
to the same numbers within one render tick. Never raises — on any I/O error
it just returns the inputs (degrades to per-session behaviour). | def reconcile_account(used_5h, resets_5h, used_7d, resets_7d, path=None, now=None):
"""Merge this window's per-session reading into the shared account-global
store and return the freshest (u5, r5, u7, r7). Makes every window converge
to the same numbers within one render tick. Never raises — on any I/O erro... | def reconcile_account(used_5h, resets_5h, used_7d, resets_7d, path=None, now=None):
"""Merge this window's per-session reading into the shared account-global
store and return the freshest (u5, r5, u7, r7). Makes every window converge
to the same numbers within one render tick. Never raises — on any I/O erro... | tests/test_predict.py | [
"tests/test_predict.py::test_reconcile_stale_blob_cannot_confirm_or_upgrade"
] | 2026-06-10 | 2026-06-10 | MIT | LICENSE | b05e491a49d2470efbfd7b9a0469cec3d8d5a636 | 337c98119eaa766142b9d13a348b54cf1f09b108 | https://github.com/leeguooooo/claude-code-usage-bar/commit/b05e491a49d2470efbfd7b9a0469cec3d8d5a636 | https://github.com/leeguooooo/claude-code-usage-bar | claude_statusbar.predict | [
"reconcile_account"
] | 14 | 1 | 45c1639b06ab7d3f | leeguooooo/claude-code-usage-bar@b05e491a4#reconcile_account | python | 2026-08-18 | goldset/0.1 | 1 | |
lark-parser/lark | Raise GrammarError for non-terminal names in %declare | file | commit | Raise GrammarError for non-terminal names in %declare | """Parses and compiles Lark grammars into an internal representation.
"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
import pkgutil
from ast import literal_eval
from contextlib import suppress
from typing import List, Tuple, Union, Callable, Dict, Option... | """Parses and compiles Lark grammars into an internal representation.
"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
import pkgutil
from ast import literal_eval
from contextlib import suppress
from typing import List, Tuple, Union, Callable, Dict, Option... | tests/test_grammar.py | [
"tests/test_grammar.py::TestGrammar::test_declare_rule_name"
] | 2026-06-04 | 2026-06-03 | MIT | LICENSE | 59f774f14d1aedc57154393e70d444ad15fb2513 | 5718472e57a08aac3728c2f26f902de56c48d64c | https://github.com/lark-parser/lark/commit/59f774f14d1aedc57154393e70d444ad15fb2513 | https://github.com/lark-parser/lark | lark.load_grammar | [
"GrammarBuilder"
] | 2 | 1 | 6445baafeca58722 | lark-parser/lark@59f774f14#lark/load_grammar.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
pypa/distlib | Fix path escape bug in wheel installation. | file | commit | Fix path escape bug in wheel installation. | # -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2023 Vinay Sajip.
# Licensed to the Python Software Foundation under a contributor agreement.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
from __future__ import unicode_literals
import base64
import codecs
import datetime
from email import message_from_file
import hashlib
i... | # -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2026 Vinay Sajip.
# Licensed to the Python Software Foundation under a contributor agreement.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
from __future__ import unicode_literals
import base64
import codecs
import datetime
from email import message_from_file
import hashlib
i... | tests/test_wheel.py | [
"tests/test_wheel.py::WheelTestCase::test_path_doesnt_escape"
] | 2026-06-02 | 2026-06-02 | PSF-2.0 | LICENSE.txt | 6d19db8b8e74a77d53b5ea9ec36ae47dde7f84e4 | 5a19c2a313405265fb7e972d14ba15330fe5f3dc | https://github.com/pypa/distlib/commit/6d19db8b8e74a77d53b5ea9ec36ae47dde7f84e4 | https://github.com/pypa/distlib | distlib.wheel | [
"Wheel"
] | 14 | 1 | 283614ff45a42e31 | pypa/distlib@6d19db8b8#distlib/wheel.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | Fix empty SPPF node from xearley ignore carry-over (fixes #1598) | file | commit | Fix empty SPPF node from xearley ignore carry-over (fixes #1598) | """This module implements an Earley parser with a dynamic lexer
The core Earley algorithm used here is based on Elizabeth Scott's implementation, here:
https://www.sciencedirect.com/science/article/pii/S1571066108001497
That is probably the best reference for understanding the algorithm here.
The Earley parser o... | """This module implements an Earley parser with a dynamic lexer
The core Earley algorithm used here is based on Elizabeth Scott's implementation, here:
https://www.sciencedirect.com/science/article/pii/S1571066108001497
That is probably the best reference for understanding the algorithm here.
The Earley parser o... | tests/test_parser.py | [
"tests/test_parser.py::TestFullEarleyDynamic::test_ignore_carryover_with_priority",
"tests/test_parser.py::TestFullEarleyDynamic_complete::test_ignore_carryover_with_priority"
] | 2026-06-02 | 2026-05-09 | MIT | LICENSE | 0aaca5975496073e33070fa0c3ea566adcf6afd8 | eb015d1b5c236b22bf3215fd4a76c891262e1bf8 | https://github.com/lark-parser/lark/commit/0aaca5975496073e33070fa0c3ea566adcf6afd8 | https://github.com/lark-parser/lark | lark.parsers.xearley | [
"Parser"
] | 6 | 2 | 3024fdd5d37bbc26 | lark-parser/lark@0aaca5975#lark/parsers/xearley.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix(objc): handle nested parens in block / function-pointer param types | file | commit | fix(objc): handle nested parens in block / function-pointer param types | ''' Language parser for Python '''
from .code_reader import CodeStateMachine
from .clike import CLikeReader, CLikeStates, CLikeNestingStackStates
class ObjCReader(CLikeReader):
ext = ['m', 'mm']
language_names = ['objectivec', 'objective-c', 'objc']
def __init__(self, context):
super(ObjCReader... | ''' Language parser for Python '''
from .code_reader import CodeStateMachine
from .clike import CLikeReader, CLikeStates, CLikeNestingStackStates
class ObjCReader(CLikeReader):
ext = ['m', 'mm']
language_names = ['objectivec', 'objective-c', 'objc']
def __init__(self, context):
super(ObjCReader... | test/test_languages/testObjC.py | [
"test/test_languages/testObjC.py::Test_objc_lizard::test_objc_method_with_block_param",
"test/test_languages/testObjC.py::Test_objc_lizard::test_objc_method_with_function_pointer_param"
] | 2026-06-02 | 2026-06-02 | MIT | LICENSE.txt | 6001e5462daa1fd098392472a065f0d530b2fae2 | 06284ec87c1966fee4ddbf3f068ccf89b987b0f8 | https://github.com/terryyin/lizard/commit/6001e5462daa1fd098392472a065f0d530b2fae2 | https://github.com/terryyin/lizard | lizard_languages.objc | [
"ObjCStates"
] | 17 | 2 | 662c4f60a7f94357 | terryyin/lizard@6001e5462#lizard_languages/objc.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix(clike): stop C++ raw string literals from swallowing following code | file | commit | fix(clike): stop C++ raw string literals from swallowing following code | '''
Language parser for C, C++ -like languages.
'''
import re
import itertools
from .code_reader import CodeStateMachine, CodeReader
class CCppCommentsMixin(object): # pylint: disable=R0903
@staticmethod
def get_comment_from_token(token):
if token.startswith("/*") or token.startswith("//"):
... | '''
Language parser for C, C++ -like languages.
'''
import re
import itertools
from .code_reader import CodeStateMachine, CodeReader
class CCppCommentsMixin(object): # pylint: disable=R0903
@staticmethod
def get_comment_from_token(token):
if token.startswith("/*") or token.startswith("//"):
... | test/test_languages/testCAndCPP.py | [
"test/test_languages/testCAndCPP.py::Test_cpp_raw_string_literals::test_raw_string_brace_init_keeps_following_function",
"test/test_languages/testCAndCPP.py::Test_cpp_raw_string_literals::test_raw_string_eq_init_keeps_function_bounds"
] | 2026-06-01 | 2026-05-26 | MIT | LICENSE.txt | bfaa1b1228416efa656a011fc15a00e49a01b48f | 82c8e7a1f170b07b8e30774883d75338f4b23408 | https://github.com/terryyin/lizard/commit/bfaa1b1228416efa656a011fc15a00e49a01b48f | https://github.com/terryyin/lizard | lizard_languages.clike | [
"CLikeReader"
] | 13 | 2 | cdb7a7b44910eb6c | terryyin/lizard@bfaa1b122#lizard_languages/clike.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
awslabs/aws-lambda-builders | fix(python-uv): pass --no-default-groups to uv export (#869) | file | commit | fix(python-uv): pass --no-default-groups to uv export (#869) | """
UV-based Python dependency packager for AWS Lambda
"""
import logging
import os
from typing import Dict, List, Optional
from aws_lambda_builders.architecture import ARM64, X86_64
from .exceptions import LockFileError, MissingUvError, UvBuildError, UvInstallationError
from .utils import OSUtils, UvConfig
LOG = l... | """
UV-based Python dependency packager for AWS Lambda
"""
import logging
import os
from typing import Dict, List, Optional
from aws_lambda_builders.architecture import ARM64, X86_64
from .exceptions import LockFileError, MissingUvError, UvBuildError, UvInstallationError
from .utils import OSUtils, UvConfig
LOG = l... | tests/unit/workflows/python_uv/test_packager.py | [
"tests/unit/workflows/python_uv/test_packager.py::TestPythonUvDependencyBuilder::test_build_dependencies_pyproject_with_uv_lock"
] | 2026-05-28 | 2026-04-23 | Apache-2.0 | LICENSE | e5282ec7534e681e16e541bc0763d31f112a2fc5 | c62aadead15b7071f1d738b02e5bb6e830daee0a | https://github.com/awslabs/aws-lambda-builders/commit/e5282ec7534e681e16e541bc0763d31f112a2fc5 | https://github.com/awslabs/aws-lambda-builders | aws_lambda_builders.workflows.python_uv.packager | [
"PythonUvDependencyBuilder"
] | 1 | 1 | 5a5ac96909bd7cd0 | awslabs/aws-lambda-builders@e5282ec75#aws_lambda_builders/workflows/python_uv/packager.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
robotframework/robotframework | Minor fix to `split_args_from_name_or_path` | file | commit | Minor fix to `split_args_from_name_or_path` | # Copyright 2008-2015 Nokia Networks
# Copyright 2016- Robot Framework Foundation
#
# 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
... | # Copyright 2008-2015 Nokia Networks
# Copyright 2016- Robot Framework Foundation
#
# 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
... | utest/utils/test_text.py | [
"utest/utils/test_text.py::TestSplitArgsFromNameOrPath::test_non_alpha_cannot_be_drive_letter"
] | 2026-05-25 | 2026-05-25 | Apache-2.0 | LICENSE.txt | 0df07fd8f48431f7f05f465f530559780babf79f | 42ffb17d5001fac6dd1b9b951ccab590f45a7d73 | https://github.com/robotframework/robotframework/commit/0df07fd8f48431f7f05f465f530559780babf79f | https://github.com/robotframework/robotframework | robot.utils.text | [
"_get_arg_separator_index_from_name_or_path"
] | 2 | 1 | 9f2fca728d945bcd | robotframework/robotframework@0df07fd8f#src/robot/utils/text.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix: handle function stack correctly when starting a new function in TypeScript parser | file | commit | fix: handle function stack correctly when starting a new function in TypeScript parser | '''
Language parser for TypeScript
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
from .js_style_regex_expression import js_style_regex_expression
class Tokenizer(object):
def __init__(self):
self.sub_tokenizer = None
self._ended = False
... | '''
Language parser for TypeScript
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
from .js_style_regex_expression import js_style_regex_expression
class Tokenizer(object):
def __init__(self):
self.sub_tokenizer = None
self._ended = False
... | test/test_languages/testTypeScript.py | [
"test/test_languages/testTypeScript.py::Test_ts_param_type_filtering::test_parameter_count_with_union_return_type_and_following_function"
] | 2026-05-25 | 2026-05-25 | MIT | LICENSE.txt | 147b1637f246d188979d876956671ab957df4f92 | a1d1cac68f434044ffbfed6aeceecacaed5b42f4 | https://github.com/terryyin/lizard/commit/147b1637f246d188979d876956671ab957df4f92 | https://github.com/terryyin/lizard | lizard_languages.typescript | [
"TypeScriptStates"
] | 2 | 1 | dfa539334769ab40 | terryyin/lizard@147b1637f#lizard_languages/typescript.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
lark-parser/lark | fix: raise GrammarError for template usage inside terminals | file | commit | fix: raise GrammarError for template usage inside terminals | """Parses and compiles Lark grammars into an internal representation.
"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
import pkgutil
from ast import literal_eval
from contextlib import suppress
from typing import List, Tuple, Union, Callable, Dict, Option... | """Parses and compiles Lark grammars into an internal representation.
"""
import hashlib
import os.path
import sys
from collections import namedtuple
from copy import copy, deepcopy
import pkgutil
from ast import literal_eval
from contextlib import suppress
from typing import List, Tuple, Union, Callable, Dict, Option... | tests/test_grammar.py | [
"tests/test_grammar.py::TestGrammar::test_template_in_terminal"
] | 2026-05-24 | 2026-05-09 | MIT | LICENSE | 92047e9196f628bf74320af67c41369e0bc873ba | eb015d1b5c236b22bf3215fd4a76c891262e1bf8 | https://github.com/lark-parser/lark/commit/92047e9196f628bf74320af67c41369e0bc873ba | https://github.com/lark-parser/lark | lark.load_grammar | [
"Grammar"
] | 2 | 1 | 9b1a52df1388c430 | lark-parser/lark@92047e919#lark/load_grammar.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
dbwls99706/ros2-engineering-skills | _generate_launch_file | fix(scaffolder): order generated launch imports alphabetically per group - ament_flake8's I100 rule (active on jazzy via ament_lint_auto) rejected launch.events appearing after launch.substitutions; r | function | docstring | Generate a basic bringup.launch.py file for the package. | def _generate_launch_file(name: str, lifecycle: bool = False,
maintainer_name: str = "TODO") -> str:
"""Generate a basic bringup.launch.py file for the package."""
header = _copyright_py(maintainer_name)
if lifecycle:
return header + f"""
from launch import LaunchDescriptio... | def _generate_launch_file(name: str, lifecycle: bool = False,
maintainer_name: str = "TODO") -> str:
"""Generate a basic bringup.launch.py file for the package."""
header = _copyright_py(maintainer_name)
if lifecycle:
return header + f"""
from launch import LaunchDescriptio... | tests/test_create_package.py | [
"tests/test_create_package.py::TestCppPackage::test_lifecycle_launch_imports_alphabetical_per_top_module"
] | 2026-05-21 | 2026-05-21 | Apache-2.0 | LICENSE | fc6a049f7b24996efc0df5a6665d85af9cd97966 | 9184301dafe306504b804ccfaff2cacd835055f0 | https://github.com/dbwls99706/ros2-engineering-skills/commit/fc6a049f7b24996efc0df5a6665d85af9cd97966 | https://github.com/dbwls99706/ros2-engineering-skills | scripts.create_package | [
"_generate_launch_file"
] | 2 | 1 | df9ca99f14c08a19 | dbwls99706/ros2-engineering-skills@fc6a049f7#_generate_launch_file | python | 2026-08-18 | goldset/0.1 | 1 | |
dbwls99706/ros2-engineering-skills | _generate_launch_file | fix(scaffolder): import matches_action from launch.events (not launch_ros.events.lifecycle) - prior fix would ImportError at runtime; verified live in ROS 2 Jazzy | function | docstring | Generate a basic bringup.launch.py file for the package. | def _generate_launch_file(name: str, lifecycle: bool = False,
maintainer_name: str = "TODO") -> str:
"""Generate a basic bringup.launch.py file for the package."""
header = _copyright_py(maintainer_name)
if lifecycle:
return header + f"""
from launch import LaunchDescriptio... | def _generate_launch_file(name: str, lifecycle: bool = False,
maintainer_name: str = "TODO") -> str:
"""Generate a basic bringup.launch.py file for the package."""
header = _copyright_py(maintainer_name)
if lifecycle:
return header + f"""
from launch import LaunchDescriptio... | tests/test_create_package.py | [
"tests/test_create_package.py::TestCppPackage::test_lifecycle_launch_uses_matches_action"
] | 2026-05-21 | 2026-05-21 | Apache-2.0 | LICENSE | a68299811404a86e832485f98cfc6efb840f23eb | 91bc10241691925ef169cf7220c5db84b0b83304 | https://github.com/dbwls99706/ros2-engineering-skills/commit/a68299811404a86e832485f98cfc6efb840f23eb | https://github.com/dbwls99706/ros2-engineering-skills | scripts.create_package | [
"_generate_launch_file"
] | 3 | 1 | 0e2071e3b365ccf8 | dbwls99706/ros2-engineering-skills@a68299811#_generate_launch_file | python | 2026-08-18 | goldset/0.1 | 1 | |
dbwls99706/ros2-engineering-skills | _generate_launch_file | fix(scaffolder): use matches_action(node) instead of truthy-on-anything matcher in generated lifecycle launch | function | docstring | Generate a basic bringup.launch.py file for the package. | def _generate_launch_file(name: str, lifecycle: bool = False,
maintainer_name: str = "TODO") -> str:
"""Generate a basic bringup.launch.py file for the package."""
header = _copyright_py(maintainer_name)
if lifecycle:
return header + f"""
from launch import LaunchDescriptio... | def _generate_launch_file(name: str, lifecycle: bool = False,
maintainer_name: str = "TODO") -> str:
"""Generate a basic bringup.launch.py file for the package."""
header = _copyright_py(maintainer_name)
if lifecycle:
return header + f"""
from launch import LaunchDescriptio... | tests/test_create_package.py | [
"tests/test_create_package.py::TestCppPackage::test_lifecycle_launch_uses_matches_action"
] | 2026-05-21 | 2026-04-29 | Apache-2.0 | LICENSE | 424b567b066198ebf0a8dcf232dfe8f1148b92fe | 636e8e42f0e398c57d5732e3deb3892086d45ae8 | https://github.com/dbwls99706/ros2-engineering-skills/commit/424b567b066198ebf0a8dcf232dfe8f1148b92fe | https://github.com/dbwls99706/ros2-engineering-skills | scripts.create_package | [
"_generate_launch_file"
] | 11 | 1 | 3d03129a60b69dae | dbwls99706/ros2-engineering-skills@424b567b0#_generate_launch_file | python | 2026-08-18 | goldset/0.1 | 1 | |
jazzband/geojson | FeatureCollection | fix: convert dict features to Feature objects in FeatureCollection (#242) | function | docstring | Represents a FeatureCollection, a set of multiple Feature objects. | class FeatureCollection(GeoJSON):
"""
Represents a FeatureCollection, a set of multiple Feature objects.
"""
def __init__(self, features, **extra):
"""
Initialises a FeatureCollection object from the
:param features: List of features to constitute the FeatureCollection.
... | class FeatureCollection(GeoJSON):
"""
Represents a FeatureCollection, a set of multiple Feature objects.
"""
def __init__(self, features, **extra):
"""
Initialises a FeatureCollection object from the
:param features: List of features to constitute the FeatureCollection.
... | tests/test_feature_collection.py | [
"tests/test_feature_collection.py::FeatureCollectionsTest::test_to_instance_converts_nested_features"
] | 2026-05-18 | 2026-05-14 | BSD-3-Clause | LICENSE.rst | 34a269900afcf319c8815c47b7a89c969577f1ca | caac4991519f070e04969f5199a4676709aa43e1 | https://github.com/jazzband/geojson/commit/34a269900afcf319c8815c47b7a89c969577f1ca | https://github.com/jazzband/geojson | geojson.feature | [
"FeatureCollection"
] | 5 | 1 | feb4d2116ab3e833 | jazzband/geojson@34a269900#FeatureCollection | python | 2026-08-18 | goldset/0.1 | 1 | |
andrivet/python-asn1 | Fix #296. Do not assume Universal for values. Add and fix tests. | file | commit | Fix #296. Do not assume Universal for values. Add and fix tests. | # -*- coding: utf-8 -*-
#
# This file is part of Python-ASN1. Python-ASN1 is free software that is
# made available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# Python-ASN1 is copyright (c) 2007-2026 by the Python-ASN1 authors. See th... | # -*- coding: utf-8 -*-
#
# This file is part of Python-ASN1. Python-ASN1 is free software that is
# made available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# Python-ASN1 is copyright (c) 2007-2026 by the Python-ASN1 authors. See th... | tests/test_asn1.py | [
"tests/test_asn1.py::TestEncoder::test_application_integer"
] | 2026-05-15 | 2026-05-13 | MIT | LICENSE | fb12598bd24a8b003725b6f3620379308f5465b3 | b11bec2b44505c56dd4a7e70de2aa3d98fd5b658 | https://github.com/andrivet/python-asn1/commit/fb12598bd24a8b003725b6f3620379308f5465b3 | https://github.com/andrivet/python-asn1 | asn1.core | [
"Encoder"
] | 2 | 1 | d3f01637c240dc8e | andrivet/python-asn1@fb12598bd#src/asn1/core.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
thatch/moreorless | _contributions | Fix missing f-prefix on error strings in combined.py | function | docstring | Calculate the contribution of various lines to the final result.
Instead of storing the +/- symbols directly, we will store 1 in the
column if the line exists in that file.
This intermediate form is very simple to look for snip points (more than
2*context runs of `(1, ...)`), and has the nice property that once
you t... | def _contributions(
from_files: Sequence[str],
to_files: Sequence[str],
merge_mode: bool,
) -> Sequence[Line]:
"""
Calculate the contribution of various lines to the final result.
Instead of storing the +/- symbols directly, we will store 1 in the
column if the line exists in that file.
... | def _contributions(
from_files: Sequence[str],
to_files: Sequence[str],
merge_mode: bool,
) -> Sequence[Line]:
"""
Calculate the contribution of various lines to the final result.
Instead of storing the +/- symbols directly, we will store 1 in the
column if the line exists in that file.
... | tests/test_combined.py | [
"tests/test_combined.py::test_contributions_exception_messages"
] | 2026-05-12 | 2026-05-12 | MIT | LICENSE | 9443a9ace5f4b8120bf86e11378b2bc4f47c444c | 6b32e3fe66de846ecbf4cc978c95542f892ba8f7 | https://github.com/thatch/moreorless/commit/9443a9ace5f4b8120bf86e11378b2bc4f47c444c | https://github.com/thatch/moreorless | moreorless.combined | [
"_contributions"
] | 4 | 1 | 021dadec33951116 | thatch/moreorless@9443a9ace#_contributions | python | 2026-08-18 | goldset/0.1 | 1 | |
thatch/moreorless | Fix missing newline after \\ No newline at end of file marker in combined diff | file | commit | Fix missing newline after \\ No newline at end of file marker in combined diff | from dataclasses import dataclass
from typing import Iterable, List, Sequence
@dataclass
class Line:
# By convention, the `common` entry comes last (and typically isn't output
# explicitly)
contributions: Sequence[int]
line: str
@property
def is_context(self) -> bool:
return sum(self.... | from dataclasses import dataclass
from typing import Iterable, List, Sequence
@dataclass
class Line:
# By convention, the `common` entry comes last (and typically isn't output
# explicitly)
contributions: Sequence[int]
line: str
@property
def is_context(self) -> bool:
return sum(self.... | tests/test_combined.py | [
"tests/test_combined.py::test_line_no_newline"
] | 2026-05-12 | 2026-05-12 | MIT | LICENSE | 632352cc536b0665153f8925f4ea00690183b374 | 6b32e3fe66de846ecbf4cc978c95542f892ba8f7 | https://github.com/thatch/moreorless/commit/632352cc536b0665153f8925f4ea00690183b374 | https://github.com/thatch/moreorless | moreorless.combined_types | [
"Line"
] | 2 | 1 | 32b8e6007ec39d26 | thatch/moreorless@632352cc5#moreorless/combined_types.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
CloakHQ/CloakBrowser | _normalize_socks_string_url | fix(proxy): log when SOCKS5 credential auto-encoding rewrites URL (#157) (#209) | function | docstring | Re-encode credentials in a SOCKS5 URL string so Chromium's parser doesn't
truncate them at special chars like '='. Idempotent: pre-encoded input stays
the same (decoded then re-encoded).
On unparseable input (invalid port, broken IPv6 literal, etc.) logs a
warning and returns the original string — preserves pre-fix pa... | def _normalize_socks_string_url(url: str) -> str:
"""Re-encode credentials in a SOCKS5 URL string so Chromium's parser doesn't
truncate them at special chars like '='. Idempotent: pre-encoded input stays
the same (decoded then re-encoded).
On unparseable input (invalid port, broken IPv6 literal, etc.) ... | def _normalize_socks_string_url(url: str) -> str:
"""Re-encode credentials in a SOCKS5 URL string so Chromium's parser doesn't
truncate them at special chars like '='. Idempotent: pre-encoded input stays
the same (decoded then re-encoded).
Emits an INFO log when re-encoding actually changes the URL, so... | tests/test_proxy.py | [
"tests/test_proxy.py::TestResolveProxyConfig::test_socks5_string_logs_info_when_reencoding"
] | 2026-05-10 | 2026-05-07 | MIT | LICENSE | c07c2b6b4a7c2ff2c3267e37f3e095083e8ee129 | 13b1b98b6840b68316e43fd46f43ffa7f50fd967 | https://github.com/CloakHQ/CloakBrowser/commit/c07c2b6b4a7c2ff2c3267e37f3e095083e8ee129 | https://github.com/CloakHQ/CloakBrowser | cloakbrowser.browser | [
"_normalize_socks_string_url"
] | 22 | 1 | 6831e7d6e3e301f1 | CloakHQ/CloakBrowser@c07c2b6b4#_normalize_socks_string_url | python | 2026-08-17 | goldset/0.1 | 1 | |
tinygrad/tinygrad | contiguous_mops_to_view | fix: don't copy on slice of DP weight (#16089) | function | docstring | CONTIGUOUS(MOPS(BUFFER)) → CONTIGUOUS(BUFFER_VIEW) when movement ops collapse to a contiguous range. | def contiguous_mops_to_view(c:UOp, src:UOp):
"""CONTIGUOUS(MOPS(BUFFER)) → CONTIGUOUS(BUFFER_VIEW) when movement ops collapse to a contiguous range."""
buf = src.base
if buf.op not in {Ops.BUFFER, Ops.BUFFER_VIEW}: return None
if src.op is Ops.RESHAPE and src.src[0].op in {Ops.BUFFER, Ops.BUFFER_VIEW}: return N... | def contiguous_mops_to_view(c:UOp, src:UOp):
"""CONTIGUOUS(MOPS(BUFFER)) → CONTIGUOUS(BUFFER_VIEW) when movement ops collapse to a contiguous range."""
buf = src.base
if buf.op not in {Ops.BUFFER, Ops.BUFFER_VIEW}: return None
if src.op is Ops.RESHAPE and src.src[0].op in {Ops.BUFFER, Ops.BUFFER_VIEW}: return N... | test/null/test_schedule.py | [
"test/null/test_schedule.py::TestBufferView::test_replicated_4_devices_is_buffer_view"
] | 2026-05-08 | 2026-05-08 | MIT | LICENSE | d11f4d0ec2c29639ea461a0ba831042284cac62d | 1d1b726cf61c81eb7f6126cc9132dba5766345e6 | https://github.com/tinygrad/tinygrad/commit/d11f4d0ec2c29639ea461a0ba831042284cac62d | https://github.com/tinygrad/tinygrad | tinygrad.callify | [
"contiguous_mops_to_view"
] | 10 | 1 | 8277b6b4dff75be3 | tinygrad/tinygrad@d11f4d0ec#contiguous_mops_to_view | python | 2026-08-17 | goldset/0.1 | 1 | |
careless25/text2digits | Fix how 'oh' is handled | file | commit | Fix how 'oh' is handled | import enum
import re
from decimal import Decimal
class WordType(enum.Enum):
OTHER = 0
LITERAL_INT = 1
LITERAL_FLOAT = 2
UNITS = 3
TEENS = 4
TENS = 5
SCALES = 6
CONJUNCTION = 7
REPLACED = 8
class Token(object):
# Static init code (only executed once and not for each token ins... | import enum
import re
from decimal import Decimal
class WordType(enum.Enum):
OTHER = 0
LITERAL_INT = 1
LITERAL_FLOAT = 2
UNITS = 3
TEENS = 4
TENS = 5
SCALES = 6
CONJUNCTION = 7
REPLACED = 8
class Token(object):
# Static init code (only executed once and not for each token ins... | tests/test_tokens.py | [
"tests/test_tokens.py::TestOhToken::test_oh_is_not_ordinal",
"tests/test_tokens.py::TestOhToken::test_phone_number_concatenation"
] | 2026-04-28 | 2026-04-28 | MIT | LICENSE | 5cabbe7225ae041fc07b2513af7405ea6384202a | 8eb8a5ef29a17c3442aa121fe58e8dc786f74066 | https://github.com/careless25/text2digits/commit/5cabbe7225ae041fc07b2513af7405ea6384202a | https://github.com/careless25/text2digits | text2digits.tokens_basic | [
"Token"
] | 7 | 2 | 7a2a8dc20ff7b3ef | careless25/text2digits@5cabbe722#text2digits/tokens_basic.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
careless25/text2digits | Raise valueError if value/scale didnt match | file | commit | Raise valueError if value/scale didnt match | import enum
import re
from decimal import Decimal
class WordType(enum.Enum):
OTHER = 0
LITERAL_INT = 1
LITERAL_FLOAT = 2
UNITS = 3
TEENS = 4
TENS = 5
SCALES = 6
CONJUNCTION = 7
REPLACED = 8
class Token(object):
# Static init code (only executed once and not for each token ins... | import enum
import re
from decimal import Decimal
class WordType(enum.Enum):
OTHER = 0
LITERAL_INT = 1
LITERAL_FLOAT = 2
UNITS = 3
TEENS = 4
TENS = 5
SCALES = 6
CONJUNCTION = 7
REPLACED = 8
class Token(object):
# Static init code (only executed once and not for each token ins... | tests/test_tokens.py | [
"tests/test_tokens.py::TestOtherTokenValueScale::test_error_message_includes_word",
"tests/test_tokens.py::TestOtherTokenValueScale::test_scale_raises_for_other",
"tests/test_tokens.py::TestOtherTokenValueScale::test_value_raises_for_other"
] | 2026-04-28 | 2026-04-28 | MIT | LICENSE | 56b6b8b86436961d6cae3704b5e1660e1274925f | 4cfa43d589ebe3377a3112b633006614c15e7f94 | https://github.com/careless25/text2digits/commit/56b6b8b86436961d6cae3704b5e1660e1274925f | https://github.com/careless25/text2digits | text2digits.tokens_basic | [
"Token"
] | 2 | 3 | 39862d57600e13bc | careless25/text2digits@56b6b8b86#text2digits/tokens_basic.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
careless25/text2digits | find_similar_word | Fix off-by-one error in find_similar_word | function | docstring | Returns the most syntactically similar word in the collection
to the specified word. | def find_similar_word(word: str, collection: List, threshold: float) -> str:
"""
Returns the most syntactically similar word in the collection
to the specified word.
"""
match = None
max_similarity = 0
for item in collection:
similarity = bigram_similarity(word, item)
# The... | def find_similar_word(word: str, collection: List, threshold: float) -> str:
"""
Returns the most syntactically similar word in the collection
to the specified word.
"""
match = None
max_similarity = 0
for item in collection:
similarity = bigram_similarity(word, item)
# The... | tests/test_text_processing_helpers.py | [
"tests/test_text_processing_helpers.py::TestFindSimilarWord::test_exact_threshold_is_accepted"
] | 2026-04-28 | 2026-04-28 | MIT | LICENSE | 15e16fbeca736e85f9e47226fe16a10c2b1ff0e1 | 55b5ca05f1b718ef29b22d7cecee274ef58f2feb | https://github.com/careless25/text2digits/commit/15e16fbeca736e85f9e47226fe16a10c2b1ff0e1 | https://github.com/careless25/text2digits | text2digits.text_processing_helpers | [
"find_similar_word"
] | 6 | 1 | f662e71fbb4aa59c | careless25/text2digits@15e16fbec#find_similar_word | python | 2026-08-18 | goldset/0.1 | 1 | |
careless25/text2digits | bigram_similarity | Fix Div by Zero error potential | function | docstring | Returns a number within the range [0, 1] determining how similar
item1 is to item2. 0 indicates perfect dissimilarity while 1
indicates equality. The similarity value is calculated by counting
the number of bigrams both words share in common. | def bigram_similarity(word1: str, word2: str) -> float:
"""
Returns a number within the range [0, 1] determining how similar
item1 is to item2. 0 indicates perfect dissimilarity while 1
indicates equality. The similarity value is calculated by counting
the number of bigrams both words share in commo... | def bigram_similarity(word1: str, word2: str) -> float:
"""
Returns a number within the range [0, 1] determining how similar
item1 is to item2. 0 indicates perfect dissimilarity while 1
indicates equality. The similarity value is calculated by counting
the number of bigrams both words share in commo... | tests/test_text_processing_helpers.py | [
"tests/test_text_processing_helpers.py::TestBigramSimilarity::test_different_single_chars",
"tests/test_text_processing_helpers.py::TestBigramSimilarity::test_empty_strings",
"tests/test_text_processing_helpers.py::TestBigramSimilarity::test_identical_single_char",
"tests/test_text_processing_helpers.py::Test... | 2026-04-28 | 2026-04-24 | MIT | LICENSE | a10f678f124a9b08de65f527ed53ab91add4cee9 | a0f4ad971de8708878e091886cf1cac0fd16c8a1 | https://github.com/careless25/text2digits/commit/a10f678f124a9b08de65f527ed53ab91add4cee9 | https://github.com/careless25/text2digits | text2digits.text_processing_helpers | [
"bigram_similarity"
] | 5 | 4 | 8923f2c379d62812 | careless25/text2digits@a10f678f1#bigram_similarity | python | 2026-08-18 | goldset/0.1 | 1 | |
witt3rd/oh-my-hermes | _install_skills | fix(omh): category grouping, frontmatter schema, and description truncation (#5) | function | docstring | Install bundled skills to ~/.hermes/skills/ if not already present.
Skips skills that are already installed — the user's copy takes precedence.
Uses an atomic copy-then-rename pattern to avoid partial installs. | def _install_skills():
"""Install bundled skills to ~/.hermes/skills/ if not already present.
Skips skills that are already installed — the user's copy takes precedence.
Uses an atomic copy-then-rename pattern to avoid partial installs.
"""
try:
from hermes_cli.config import get_hermes_home... | def _install_skills(
skills_src_root: Path | None = None,
skills_dest_root: Path | None = None,
) -> None:
"""Install bundled skills to ~/.hermes/skills/omh/ if not already present.
Skips skills that are already installed — the user's copy takes precedence.
Uses an atomic copy-then-rename pattern t... | plugins/omh/tests/test_init.py | [
"plugins/omh/tests/test_init.py::test_install_skills_copies_when_missing"
] | 2026-04-25 | 2026-04-22 | MIT | LICENSE | 8a36787daaf7ebe7eab9da6f217923d5a91c3385 | 7b0d0957b203981ef66d2c6883a8d68665f2bd1e | https://github.com/witt3rd/oh-my-hermes/commit/8a36787daaf7ebe7eab9da6f217923d5a91c3385 | https://github.com/witt3rd/oh-my-hermes | plugins.omh.__init__ | [
"_install_skills"
] | 22 | 1 | 67f7339e51349955 | witt3rd/oh-my-hermes@8a36787da#_install_skills | python | 2026-08-18 | goldset/0.1 | 1 | |
careless25/text2digits | split_glues | fix: treat end-of-string as non-digit in separator regex (#50) | function | docstring | Splits a string and preserves the glue, i.e. the separator fragments.
This is useful when words of a sentence should be processed while still
keeping the possibility to recover the original sentence.
:param text: The string to be split.
:param separator: The separator to use for splitting (defaults to
whitespace).
:re... | def split_glues(text: str, separator=r'\s+|(?<=\D)[.,;:\-_](?=\D)') -> Iterator[str]:
"""
Splits a string and preserves the glue, i.e. the separator fragments.
This is useful when words of a sentence should be processed while still
keeping the possibility to recover the original sentence.
:param te... | def split_glues(text: str, separator=r'\s+|(?<=\D)[.,;:\-_](?=\D|$)') -> Iterator[str]:
"""
Splits a string and preserves the glue, i.e. the separator fragments.
This is useful when words of a sentence should be processed while still
keeping the possibility to recover the original sentence.
:param ... | tests/test_number_conversion.py | [
"tests/test_number_conversion.py::test_trailing_sentence_punctuation[He",
"tests/test_number_conversion.py::test_trailing_sentence_punctuation[I",
"tests/test_number_conversion.py::test_trailing_sentence_punctuation[She"
] | 2026-04-24 | 2026-04-24 | MIT | LICENSE | cab40600f2cc69224e1c2bafcd26426be15c1cd5 | 2fb3cad67afb88f1e8bf83671a76a02f19746047 | https://github.com/careless25/text2digits/commit/cab40600f2cc69224e1c2bafcd26426be15c1cd5 | https://github.com/careless25/text2digits | text2digits.text_processing_helpers | [
"split_glues"
] | 2 | 3 | ee89a1c44c9b7964 | careless25/text2digits@cab40600f#split_glues | python | 2026-08-18 | goldset/0.1 | 1 | |
terryyin/lizard | fix: prevent IndexError on nested TypeScript template literals (fixes #471) | file | commit | fix: prevent IndexError on nested TypeScript template literals (fixes #471) | '''
Language parser for TypeScript
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
from .js_style_regex_expression import js_style_regex_expression
class Tokenizer(object):
def __init__(self):
self.sub_tokenizer = None
self._ended = False
... | '''
Language parser for TypeScript
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
from .js_style_regex_expression import js_style_regex_expression
class Tokenizer(object):
def __init__(self):
self.sub_tokenizer = None
self._ended = False
... | test/test_languages/testTypeScript.py | [
"test/test_languages/testTypeScript.py::Test_tokenizing_TypeScript::test_nested_template_literal_exact_tokens"
] | 2026-04-22 | 2026-04-22 | MIT | LICENSE.txt | 35f9273b6ed35227cae9effdbce78fdeabd85787 | c4d9a60c77828cd43315a9adbc3523512fd8b19f | https://github.com/terryyin/lizard/commit/35f9273b6ed35227cae9effdbce78fdeabd85787 | https://github.com/terryyin/lizard | lizard_languages.typescript | [
"TypeScriptReader"
] | 5 | 1 | acbf64fb8706ae79 | terryyin/lizard@35f9273b6#lizard_languages/typescript.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | Fix dot-property field assignment swallowing next class method | file | commit | Fix dot-property field assignment swallowing next class method | '''
Language parser for TypeScript
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
from .js_style_regex_expression import js_style_regex_expression
class Tokenizer(object):
def __init__(self):
self.sub_tokenizer = None
self._ended = False
... | '''
Language parser for TypeScript
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
from .js_style_regex_expression import js_style_regex_expression
class Tokenizer(object):
def __init__(self):
self.sub_tokenizer = None
self._ended = False
... | test/test_languages/testES6.py | [
"test/test_languages/testES6.py::Test_ES6_dot_field_assignment::test_chained_dot_field_assignment",
"test/test_languages/testES6.py::Test_ES6_dot_field_assignment::test_dot_field_assignment",
"test/test_languages/testES6.py::Test_ES6_dot_field_assignment::test_multiple_dot_field_assignments"
] | 2026-04-22 | 2026-04-22 | MIT | LICENSE.txt | a19185f737482e03472cfbac3754946b2089ce92 | 57e1ac296e2b17b86cd9b5f10cdd56878ced6157 | https://github.com/terryyin/lizard/commit/a19185f737482e03472cfbac3754946b2089ce92 | https://github.com/terryyin/lizard | lizard_languages.typescript | [
"TypeScriptStates"
] | 1 | 3 | bc9515df977796e5 | terryyin/lizard@a19185f73#lizard_languages/typescript.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | Fix async unparenthesized arrow corrupting parser state in class bodies | file | commit | Fix async unparenthesized arrow corrupting parser state in class bodies | '''
Language parser for TypeScript
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
from .js_style_regex_expression import js_style_regex_expression
class Tokenizer(object):
def __init__(self):
self.sub_tokenizer = None
self._ended = False
... | '''
Language parser for TypeScript
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
from .js_style_regex_expression import js_style_regex_expression
class Tokenizer(object):
def __init__(self):
self.sub_tokenizer = None
self._ended = False
... | test/test_languages/testES6.py | [
"test/test_languages/testES6.py::Test_ES6_unparenthesized_arrow_params::test_async_unparenthesized_arrow_complex_body"
] | 2026-04-22 | 2026-04-22 | MIT | LICENSE.txt | 57e1ac296e2b17b86cd9b5f10cdd56878ced6157 | ad7ef2f83ccc06b53be84e585ed047dd5a2a636d | https://github.com/terryyin/lizard/commit/57e1ac296e2b17b86cd9b5f10cdd56878ced6157 | https://github.com/terryyin/lizard | lizard_languages.typescript | [
"TypeScriptStates"
] | 6 | 1 | a3780d1dd1482706 | terryyin/lizard@57e1ac296#lizard_languages/typescript.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
witt3rd/oh-my-hermes | _state_dir | fix(state): resolve state_dir against project_root, immune to cwd drift (Bug 2) | function | docstring | Resolve the OMH state directory to an absolute path.
Resolution order (mirrors evidence_tool.py):
1. config["state_dir"] (defaults to ".omh/state").
2. If relative, anchor against config["project_root"] if set,
else against Path.cwd() at call time.
3. Resolve to absolute so subsequent cwd drift cannot redir... | def _state_dir() -> Path:
config = get_config()
p = Path(config.get("state_dir", ".omh/state"))
p.mkdir(parents=True, exist_ok=True)
_seed_dot_omh(p.parent)
return p | def _state_dir() -> Path:
"""Resolve the OMH state directory to an absolute path.
Resolution order (mirrors evidence_tool.py):
1. config["state_dir"] (defaults to ".omh/state").
2. If relative, anchor against config["project_root"] if set,
else against Path.cwd() at call time.
3. Res... | plugins/omh/tests/test_state.py | [
"plugins/omh/tests/test_state.py::test_state_dir_uses_project_root_not_cwd"
] | 2026-04-21 | 2026-04-21 | MIT | LICENSE | 4d525b9173ee4b3779c5463bf34ac815bb03a900 | 1b2403f0c9a3aa9ccf96985cecd7dffd38d92579 | https://github.com/witt3rd/oh-my-hermes/commit/4d525b9173ee4b3779c5463bf34ac815bb03a900 | https://github.com/witt3rd/oh-my-hermes | plugins.omh.omh_state | [
"_state_dir"
] | 16 | 1 | eaa6d34053e311c5 | witt3rd/oh-my-hermes@4d525b917#_state_dir | python | 2026-08-18 | goldset/0.1 | 1 | |
54yyyu/zotero-mcp | format_item_metadata | fix: render ISBN and ISSN in markdown metadata output (#236) | function | docstring | Format a Zotero item's metadata as markdown.
Args:
item: A Zotero item dictionary.
include_abstract: Whether to include the abstract in the output.
Returns:
Markdown-formatted metadata. | def format_item_metadata(item: dict[str, Any], include_abstract: bool = True) -> str:
"""
Format a Zotero item's metadata as markdown.
Args:
item: A Zotero item dictionary.
include_abstract: Whether to include the abstract in the output.
Returns:
Markdown-formatted metadata.
... | def format_item_metadata(item: dict[str, Any], include_abstract: bool = True) -> str:
"""
Format a Zotero item's metadata as markdown.
Args:
item: A Zotero item dictionary.
include_abstract: Whether to include the abstract in the output.
Returns:
Markdown-formatted metadata.
... | tests/test_identifier_fields_markdown.py | [
"tests/test_identifier_fields_markdown.py::TestIsbnInMarkdown::test_isbn_rendered"
] | 2026-04-21 | 2026-04-09 | MIT | LICENSE | 17c7f6c1947bc6d07cf835a870dc745775f51dfc | cf3d23fdde56bc2ae375123bcd15eb269690cc09 | https://github.com/54yyyu/zotero-mcp/commit/17c7f6c1947bc6d07cf835a870dc745775f51dfc | https://github.com/54yyyu/zotero-mcp | zotero_mcp.client | [
"format_item_metadata"
] | 6 | 1 | 2c3a11bb03bbc34f | 54yyyu/zotero-mcp@17c7f6c19#format_item_metadata | python | 2026-08-18 | goldset/0.1 | 1 | |
iamsinghrajat/async-cache | fix: ensure that future exception is retrieved to avoid warnings (#30) | file | commit | fix: ensure that future exception is retrieved to avoid warnings (#30) | import asyncio
import datetime
import threading
from collections import defaultdict
from .lru import LRU
# sentinel for set ttl param to distinguish default vs explicit None
_SENTINEL = object()
class AsyncCache:
class _Cache(LRU):
def __init__(self, maxsize):
super().__init__(maxsize=maxsiz... | import asyncio
import datetime
import threading
from collections import defaultdict
from .lru import LRU
# sentinel for set ttl param to distinguish default vs explicit None
_SENTINEL = object()
class AsyncCache:
class _Cache(LRU):
def __init__(self, maxsize):
super().__init__(maxsize=maxsiz... | tests/test_edge_cases.py | [
"tests/test_edge_cases.py::TestErrorHandling::test_future_exception_retrival"
] | 2026-04-17 | 2026-02-28 | MIT | LICENSE | 27ad941de72c41932db64220ff6b2562c177c966 | 366c4d919af9240db245a8863fb2e6cfb222a83e | https://github.com/iamsinghrajat/async-cache/commit/27ad941de72c41932db64220ff6b2562c177c966 | https://github.com/iamsinghrajat/async-cache | cache.async_cache | [
"AsyncCache"
] | 1 | 1 | 8cad04fc82ab6d27 | iamsinghrajat/async-cache@27ad941de#cache/async_cache.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
advice-animal/codemod-tox | ToxEnvlist | fix: don't add numeric factors if there isn't already an option. | function | docstring | An envlist.
e.g. `py{37,38}-tests, coverage, lint`
Although both comma and newline separated are supported during parsing,
only newline separated will be output with `str()`. Check that
set(a) != set(b) before changing a configuration value to avoid
(one-time) churn. | class ToxEnvlist(ToxBase):
"""
An envlist.
e.g. `py{37,38}-tests, coverage, lint`
Although both comma and newline separated are supported during parsing,
only newline separated will be output with `str()`. Check that
set(a) != set(b) before changing a configuration value to avoid
(one-tim... | class ToxEnvlist(ToxBase):
"""
An envlist.
e.g. `py{37,38}-tests, coverage, lint`
Although both comma and newline separated are supported during parsing,
only newline separated will be output with `str()`. Check that
set(a) != set(b) before changing a configuration value to avoid
(one-tim... | tests/test_envlist.py | [
"tests/test_envlist.py::test_add_numeric_option_to_envlist"
] | 2026-04-14 | 2026-03-23 | MIT | LICENSE | 88e7deb200add127ebf65f9c4de498f577d038f9 | a7c68aea78dbb1e9889a87b0c621d4edf65e6b54 | https://github.com/advice-animal/codemod-tox/commit/88e7deb200add127ebf65f9c4de498f577d038f9 | https://github.com/advice-animal/codemod-tox | codemod_tox.envlist | [
"ToxEnvlist"
] | 3 | 1 | 85d145ffefc2e867 | advice-animal/codemod-tox@88e7deb20#ToxEnvlist | python | 2026-08-18 | goldset/0.1 | 1 | |
Textualize/rich | TableDataElement | fix inline code in table cells | function | docstring | MarkdownElement corresponding to `td_open` and `td_close`
and `th_open` and `th_close`. | class TableDataElement(MarkdownElement):
"""MarkdownElement corresponding to `td_open` and `td_close`
and `th_open` and `th_close`."""
@classmethod
def create(cls, markdown: Markdown, token: Token) -> MarkdownElement:
style = str(token.attrs.get("style")) or ""
justify: JustifyMethod
... | class TableDataElement(MarkdownElement):
"""MarkdownElement corresponding to `td_open` and `td_close`
and `th_open` and `th_close`."""
@classmethod
def create(cls, markdown: Markdown, token: Token) -> MarkdownElement:
style = str(token.attrs.get("style")) or ""
justify: JustifyMethod
... | tests/test_markdown.py | [
"tests/test_markdown.py::test_inline_code_in_table_cells"
] | 2026-04-12 | 2026-04-12 | MIT | LICENSE | 7ef2d05ca8aa3cb405dab2fdf3282e69cf8089e3 | 19c67b9a3479841e9133bea94607c89ee931d3fc | https://github.com/Textualize/rich/commit/7ef2d05ca8aa3cb405dab2fdf3282e69cf8089e3 | https://github.com/Textualize/rich | rich.markdown | [
"TableDataElement"
] | 7 | 1 | 468917a9246d3cc7 | Textualize/rich@7ef2d05ca#TableDataElement | python | 2026-08-17 | goldset/0.1 | 1 | |
fabiocaccamo/python-fsutil | _search_paths | Fix search methods not working correctly with relative paths. | function | docstring | Search all paths relative to path matching the given pattern. | def _search_paths(path: PathIn, pattern: str) -> list[str]:
"""
Search all paths relative to path matching the given pattern.
"""
path = _get_path(path)
assert_dir(path)
pathname = os.path.join(path, pattern)
paths = glob.glob(pathname, recursive=True)
# normalize paths to use OS-specifi... | def _search_paths(path: PathIn, pattern: str) -> list[str]:
"""
Search all paths relative to path matching the given pattern.
"""
path = _get_path(path)
assert_dir(path)
pathname = os.path.join(path, pattern)
paths = glob.glob(pathname, recursive=True)
# normalize paths to use OS-specifi... | tests/test_operations.py | [
"tests/test_operations.py::test_search_files_with_relative_path"
] | 2026-04-07 | 2026-01-09 | MIT | LICENSE.txt | 84b6055108d2b670a77a27f93ef40c5b794d23a1 | 7121d4a0fbeb73e2a1625e80031e3a7dfe552d83 | https://github.com/fabiocaccamo/python-fsutil/commit/84b6055108d2b670a77a27f93ef40c5b794d23a1 | https://github.com/fabiocaccamo/python-fsutil | fsutil.operations | [
"_search_paths"
] | 4 | 1 | 17d7d4e46d5fb87b | fabiocaccamo/python-fsutil@84b605510#_search_paths | python | 2026-08-18 | goldset/0.1 | 1 | |
alvarofpp/validate-docbr | CNPJ | fix: Resolve a issue #76 | function | docstring | Classe referente ao Cadastro Nacional da Pessoa Jurídica (CNPJ).
Aceita tanto o formato numérico tradicional quanto o novo formato
alfanumérico. A validação reconhece ambos os formatos automaticamente. | class CNPJ(DocumentBase):
"""Classe referente ao Cadastro Nacional da Pessoa Jurídica (CNPJ).
Aceita tanto o formato numérico tradicional quanto o novo formato
alfanumérico. A validação reconhece ambos os formatos automaticamente.
"""
def __init__(self) -> None:
self.digits = list(range(10... | class CNPJ(DocumentBase):
"""Classe referente ao Cadastro Nacional da Pessoa Jurídica (CNPJ).
Aceita tanto o formato numérico tradicional quanto o novo formato
alfanumérico. A validação reconhece ambos os formatos automaticamente.
"""
def __init__(self) -> None:
self.digits = list(range(10... | tests/test_CNPJ.py | [
"tests/test_CNPJ.py::TestCnpj::test_special_case"
] | 2026-04-04 | 2026-04-04 | MIT | LICENSE | 205c4aaf51c643df12a0a9895d492c4d14e4b988 | c3789082c017c5c27cb4303ea65c3fa93b0e4905 | https://github.com/alvarofpp/validate-docbr/commit/205c4aaf51c643df12a0a9895d492c4d14e4b988 | https://github.com/alvarofpp/validate-docbr | validate_docbr.CNPJ | [
"CNPJ"
] | 16 | 1 | 1eb6deb0dc8ab694 | alvarofpp/validate-docbr@205c4aaf5#CNPJ | python | 2026-08-18 | goldset/0.1 | 1 | |
more-itertools/more-itertools | windowed | Issue #1057: Raise exception for invalid size in windowed() | function | docstring | Return a sliding window of width *n* over the given iterable.
When the window is larger than the iterable, *fillvalue* is used in place
of missing values:
Each window will advance in increments of *step*:
To slide into the iterable's items, use :func:`chain` to add filler items
to the left: | def windowed(seq, n, fillvalue=None, step=1):
"""Return a sliding window of width *n* over the given iterable.
>>> all_windows = windowed([1, 2, 3, 4, 5], 3)
>>> list(all_windows)
[(1, 2, 3), (2, 3, 4), (3, 4, 5)]
When the window is larger than the iterable, *fillvalue* is used in plac... | def windowed(seq, n, fillvalue=None, step=1):
"""Return a sliding window of width *n* over the given iterable.
>>> all_windows = windowed([1, 2, 3, 4, 5], 3)
>>> list(all_windows)
[(1, 2, 3), (2, 3, 4), (3, 4, 5)]
When the window is larger than the iterable, *fillvalue* is used in plac... | tests/test_more.py | [
"tests/test_more.py::WindowedTests::test_invalid_n"
] | 2026-04-01 | 2026-03-31 | MIT | LICENSE | 71b46b06fb48abcd2f7a26d74c148a650d340386 | e4d2a4a2a97246a73856754b2c4866d7f41d4875 | https://github.com/more-itertools/more-itertools/commit/71b46b06fb48abcd2f7a26d74c148a650d340386 | https://github.com/more-itertools/more-itertools | more_itertools.more | [
"windowed"
] | 7 | 1 | 2a0dd340000cf62f | more-itertools/more-itertools@71b46b06f#windowed | python | 2026-08-17 | goldset/0.1 | 1 | |
psf/requests | _parse_content_type_header | Fix malformed value parsing for Content-Type (#7309) | function | docstring | Returns content type and parameters from given header
:param header: string
:return: tuple containing content type and dictionary of
parameters | def _parse_content_type_header(header):
"""Returns content type and parameters from given header
:param header: string
:return: tuple containing content type and dictionary of
parameters
"""
tokens = header.split(";")
content_type, params = tokens[0].strip(), tokens[1:]
params_dic... | def _parse_content_type_header(header):
"""Returns content type and parameters from given header.
:param header: string
:return: tuple containing content type and dictionary of
parameters.
"""
tokens = header.split(";")
content_type, params = tokens[0].strip(), tokens[1:]
params_d... | tests/test_utils.py | [
"tests/test_utils.py::test__parse_content_type_header[multipart/form-data;"
] | 2026-03-30 | 2026-03-30 | Apache-2.0 | LICENSE | f0198e6dfc431a2293dc16e1b1e8fcddc910a7f3 | bc7dd0fc4d56e808bcdd85ac2d797b3107c89259 | https://github.com/psf/requests/commit/f0198e6dfc431a2293dc16e1b1e8fcddc910a7f3 | https://github.com/psf/requests | requests.utils | [
"_parse_content_type_header"
] | 15 | 1 | 6e4e66296f7f4e3a | psf/requests@f0198e6df#_parse_content_type_header | python | 2026-08-17 | goldset/0.1 | 1 | |
androsovm/clorch | jump_to_tmux_tab | Fix Ghostty tab navigation for linked tmux sessions | function | docstring | Activate the terminal tab whose tmux client is viewing *window*.
Scans tmux clients (filtered to the session with an attached client)
to find one whose active window matches, then maps its tty to a
terminal tab via the active backend.
Falls back to matching the window name in terminal tab titles.
Returns `True` on s... | def jump_to_tmux_tab(tmux: TmuxSession, window: str) -> bool:
"""Activate the terminal tab whose tmux client is viewing *window*.
Scans tmux clients (filtered to the session with an attached client)
to find one whose active window matches, then maps its tty to a
terminal tab via the active backend.
... | def jump_to_tmux_tab(tmux: TmuxSession, window: str) -> bool:
"""Activate the terminal tab whose tmux client is viewing *window*.
Scans tmux clients (filtered to the session with an attached client)
to find one whose active window matches, then maps its tty to a
terminal tab via the active backend.
... | tests/test_jump_to_tmux_tab.py | [
"tests/test_jump_to_tmux_tab.py::TestStrategy3ClientSessionName::test_full_session_name_matches"
] | 2026-03-29 | 2026-03-29 | MIT | LICENSE | db9af33f3759ad0655dc959462925aaf5f03436e | 256791a434528c16337cf0b564978b66955ecb27 | https://github.com/androsovm/clorch/commit/db9af33f3759ad0655dc959462925aaf5f03436e | https://github.com/androsovm/clorch | clorch.tmux.navigator | [
"jump_to_tmux_tab"
] | 24 | 1 | 7914be910b658b49 | androsovm/clorch@db9af33f3#jump_to_tmux_tab | python | 2026-08-18 | goldset/0.1 | 1 | |
pypa/auditwheel | add_platforms | fix: prevent duplicate Root-Is-Purelib in WHEEL metadata (#686) | function | docstring | Add platform tags `platforms` to a wheel
Add any platform tags in `platforms` that are missing
to wheel_ctx's filename and `WHEEL` file.
Parameters
----------
wheel_ctx : InWheelCtx
An open wheel context
platforms : list
platform tags to add to wheel filename and WHEEL tags - e.g.
`('macosx_10_9_intel', '... | def add_platforms(
wheel_ctx: InWheelCtx,
platforms: list[str],
remove_platforms: Iterable[str] = (),
) -> Path:
"""Add platform tags `platforms` to a wheel
Add any platform tags in `platforms` that are missing
to wheel_ctx's filename and ``WHEEL`` file.
Parameters
----------
wheel... | def add_platforms(
wheel_ctx: InWheelCtx,
platforms: list[str],
remove_platforms: Iterable[str] = (),
) -> Path:
"""Add platform tags `platforms` to a wheel
Add any platform tags in `platforms` that are missing
to wheel_ctx's filename and ``WHEEL`` file.
Parameters
----------
wheel... | tests/unit/test_wheeltools.py | [
"tests/unit/test_wheeltools.py::test_add_platforms_no_duplicate_root_is_purelib"
] | 2026-03-28 | 2026-03-17 | MIT | LICENSE | 6d5abcbb7de082463745e4692dd77bcc42f96b98 | a5ed316e688b8851df357baf25d042a3d15d86de | https://github.com/pypa/auditwheel/commit/6d5abcbb7de082463745e4692dd77bcc42f96b98 | https://github.com/pypa/auditwheel | auditwheel.wheeltools | [
"add_platforms"
] | 1 | 1 | 89d9452c3a240fbb | pypa/auditwheel@6d5abcbb7#add_platforms | python | 2026-08-18 | goldset/0.1 | 1 | |
AgentBudget/agentbudget | LoopDetector | fix: correct off-by-one in loop detection threshold | function | docstring | Detects when the same tool/model is called repeatedly in a short window. | class LoopDetector:
"""Detects when the same tool/model is called repeatedly in a short window."""
def __init__(self, config: Optional[LoopDetectorConfig] = None):
self._config = config or LoopDetectorConfig()
self._call_log: dict[str, list[float]] = defaultdict(list)
def record_call(self,... | class LoopDetector:
"""Detects when the same tool/model is called repeatedly in a short window."""
def __init__(self, config: Optional[LoopDetectorConfig] = None):
self._config = config or LoopDetectorConfig()
self._call_log: dict[str, list[float]] = defaultdict(list)
def record_call(self,... | tests/test_circuit_breaker.py | [
"tests/test_circuit_breaker.py::test_loop_detector_detects_loop"
] | 2026-03-25 | 2026-03-15 | Apache-2.0 | LICENSE | 144a2b83ed3182339bc460a81aa29764e0fcfaef | 6c29cd9495ea354cf29dc0332aad3dd94ec98370 | https://github.com/AgentBudget/agentbudget/commit/144a2b83ed3182339bc460a81aa29764e0fcfaef | https://github.com/AgentBudget/agentbudget | agentbudget.circuit_breaker | [
"LoopDetector"
] | 2 | 1 | 97099d96993bd0a3 | AgentBudget/agentbudget@144a2b83e#LoopDetector | python | 2026-08-18 | goldset/0.1 | 1 | |
verygoodplugins/automem | init_openai | fix(runtime): support OPENAI_BASE_URL for classification client (#135) | function | docstring | Initialize OpenAI client for memory type classification (not embeddings). | def init_openai(
*,
state: Any,
logger: Any,
openai_cls: Any,
get_env_fn: Callable[[str], str | None],
) -> None:
"""Initialize OpenAI client for memory type classification (not embeddings)."""
if state.openai_client is not None:
return
if openai_cls is None:
logger.info... | def init_openai(
*,
state: Any,
logger: Any,
openai_cls: Any,
get_env_fn: Callable[[str], str | None],
) -> None:
"""Initialize OpenAI client for memory type classification (not embeddings)."""
if state.openai_client is not None:
return
if openai_cls is None:
logger.info... | tests/test_service_runtime.py | [
"tests/test_service_runtime.py::test_init_openai_passes_base_url_when_configured"
] | 2026-03-25 | 2026-03-25 | MIT | LICENSE | 95a58c99d1cb53e14fbf086ba65b66d67ad1ffbe | 9ac2fb29ea081c617b748c0cf0d733627770b689 | https://github.com/verygoodplugins/automem/commit/95a58c99d1cb53e14fbf086ba65b66d67ad1ffbe | https://github.com/verygoodplugins/automem | automem.service_runtime | [
"init_openai"
] | 6 | 1 | f21b3c5335a39981 | verygoodplugins/automem@95a58c99d#init_openai | python | 2026-08-18 | goldset/0.1 | 1 | |
kellyjonbrazil/jc | parse | Fix dir parser stripping D: drive letter from parent directory path | function | docstring | Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Returns:
List of Dictionaries. Raw or processed structured data. | def parse(data, raw=False, quiet=False):
"""
Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Returns:
List of Dictionaries. Raw ... | def parse(data, raw=False, quiet=False):
"""
Main text parsing function
Parameters:
data: (string) text data to parse
raw: (boolean) unprocessed output if True
quiet: (boolean) suppress warning messages if True
Returns:
List of Dictionaries. Raw ... | tests/test_dir.py | [
"tests/test_dir.py::MyTests::test_dir_drive_letter_d"
] | 2026-03-25 | 2026-03-16 | MIT | LICENSE.md | 128e36404d138dbad9eb2a0da5708870d47ab0ae | 585ff83a2e97f58427df10a04f699603ebc065a0 | https://github.com/kellyjonbrazil/jc/commit/128e36404d138dbad9eb2a0da5708870d47ab0ae | https://github.com/kellyjonbrazil/jc | jc.parsers.dir | [
"parse"
] | 4 | 1 | 419aee2ce03a23d5 | kellyjonbrazil/jc@128e36404#parse | python | 2026-08-18 | goldset/0.1 | 1 | |
kellyjonbrazil/jc | _process | Fix ifconfig hex mask conversion using lstrip('0x') instead of [2:] | function | docstring | Final processing to conform to the schema.
Parameters:
proc_data: (List of Dictionaries) raw structured data to process
Returns:
List of Dictionaries. Structured to conform to the schema. | def _process(proc_data: List[JSONDictType]) -> List[JSONDictType]:
"""
Final processing to conform to the schema.
Parameters:
proc_data: (List of Dictionaries) raw structured data to process
Returns:
List of Dictionaries. Structured to conform to the schema.
"""
int_list = ... | def _process(proc_data: List[JSONDictType]) -> List[JSONDictType]:
"""
Final processing to conform to the schema.
Parameters:
proc_data: (List of Dictionaries) raw structured data to process
Returns:
List of Dictionaries. Structured to conform to the schema.
"""
int_list = ... | tests/test_ifconfig.py | [
"tests/test_ifconfig.py::MyTests::test_ifconfig_hex_mask_all_zeros"
] | 2026-03-25 | 2026-03-16 | MIT | LICENSE.md | 2f9377cb67734e5c3d200e373a9cc46e47b02934 | 585ff83a2e97f58427df10a04f699603ebc065a0 | https://github.com/kellyjonbrazil/jc/commit/2f9377cb67734e5c3d200e373a9cc46e47b02934 | https://github.com/kellyjonbrazil/jc | jc.parsers.ifconfig | [
"_process"
] | 4 | 1 | 341f264a0cdd152f | kellyjonbrazil/jc@2f9377cb6#_process | python | 2026-08-18 | goldset/0.1 | 1 | |
joke2k/faker | fix: rebind deepcopy proxies to copied Faker instances (#2340) | file | commit | fix: rebind deepcopy proxies to copied Faker instances (#2340) | from __future__ import annotations
import copy
import functools
import re
from collections import OrderedDict
from random import Random
from typing import Any, Callable, Pattern, Sequence, TypeVar
from .config import DEFAULT_LOCALE
from .exceptions import UniquenessException
from .factory import Factory
from .genera... | from __future__ import annotations
import copy
import functools
import re
from collections import OrderedDict
from random import Random
from typing import Any, Callable, Pattern, Sequence, TypeVar
from .config import DEFAULT_LOCALE
from .exceptions import UniquenessException
from .factory import Factory
from .genera... | tests/test_proxy.py | [
"tests/test_proxy.py::TestFakerProxyClass::test_copy_rebinds_multiple_locale_proxies",
"tests/test_proxy.py::TestFakerProxyClass::test_copy_rebinds_single_locale_proxies",
"tests/test_proxy.py::TestFakerProxyClass::test_copy_unique_uses_copied_proxy_state"
] | 2026-03-23 | 2026-03-13 | MIT | LICENSE.txt | 01cb8d0f90fac0799f90e1295e8d4ab67c4fc070 | 53314fc7d3fba03fed38bb1053a395fdfb50e35f | https://github.com/joke2k/faker/commit/01cb8d0f90fac0799f90e1295e8d4ab67c4fc070 | https://github.com/joke2k/faker | faker.proxy | [
"Faker"
] | 12 | 3 | 0db7f4a695e415c4 | joke2k/faker@01cb8d0f9#faker/proxy.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
facelessuser/coloraide | Fix white parameter with xy and uv functions | file | commit | Fix white parameter with xy and uv functions | """Colors."""
from __future__ import annotations
import sys
import abc
import functools
import random
import math
from contextlib import contextmanager
from . import cat
from . import distance
from . import convert
from . import gamut
from . import compositing
from . import interpolate
from . import filters
from . impo... | """Colors."""
from __future__ import annotations
import sys
import abc
import functools
import random
import math
from contextlib import contextmanager
from . import cat
from . import distance
from . import convert
from . import gamut
from . import compositing
from . import interpolate
from . import filters
from . impo... | tests/test_chromaticity.py | [
"tests/test_chromaticity.py::TestChromaticitySpecificCases::test_uv_white",
"tests/test_chromaticity.py::TestChromaticitySpecificCases::test_xy_white"
] | 2026-03-20 | 2026-03-19 | MIT | LICENSE.md | 7e31912c7b86bc02d2cd0eebd6dc2a36c5fce2ca | 9886b23d2fecc57ff1ee26ccb286cb351c92d304 | https://github.com/facelessuser/coloraide/commit/7e31912c7b86bc02d2cd0eebd6dc2a36c5fce2ca | https://github.com/facelessuser/coloraide | coloraide.color | [
"Color"
] | 4 | 2 | ae515a73fd59d5a9 | facelessuser/coloraide@7e31912c7#coloraide/color.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
robotframework/robotframework | Fix precision issues with listener priority | file | commit | Fix precision issues with listener priority | # Copyright 2008-2015 Nokia Networks
# Copyright 2016- Robot Framework Foundation
#
# 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
... | # Copyright 2008-2015 Nokia Networks
# Copyright 2016- Robot Framework Foundation
#
# 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
... | utest/output/test_listeners.py | [
"utest/output/test_listeners.py::TestListenerPriority::test_huge_priority",
"utest/output/test_listeners.py::TestListenerPriority::test_no_priority",
"utest/output/test_listeners.py::TestListenerPriority::test_priority"
] | 2026-03-19 | 2026-03-17 | Apache-2.0 | LICENSE.txt | b6f50b2b5dd5c6db9bde8789bbe0c4f247144384 | 6ca3aae8d8ee49e52cc16b31de63243ea4a59ae2 | https://github.com/robotframework/robotframework/commit/b6f50b2b5dd5c6db9bde8789bbe0c4f247144384 | https://github.com/robotframework/robotframework | robot.output.listeners | [
"ListenerFacade",
"Listeners"
] | 11 | 3 | 176560798c094877 | robotframework/robotframework@b6f50b2b5#src/robot/output/listeners.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
toon-format/toon-python | is_numeric_literal | fix: improve numeric literal validation (#21) | function | docstring | Check if a token represents a valid numeric literal.
Rejects numbers with leading zeros (except `"0"` itself or decimals like `"0.5"`).
Per Section 7.3 of the TOON specification.
Args:
token: The token to check
Returns:
True if the token is a valid numeric literal
Examples: | def is_numeric_literal(token: str) -> bool:
"""Check if a token represents a valid numeric literal.
Rejects numbers with leading zeros (except `"0"` itself or decimals like `"0.5"`).
Per Section 7.3 of the TOON specification.
Args:
token: The token to check
Returns:
True if the to... | def is_numeric_literal(token: str) -> bool:
"""Check if a token represents a valid numeric literal.
Rejects numbers with leading zeros (except `"0"` itself or decimals like `"0.5"`).
Per Section 7.3 of the TOON specification.
Args:
token: The token to check
Returns:
True if the to... | tests/test_numeric_detection.py | [
"tests/test_numeric_detection.py::TestNumericLiteral::test_leading_zeros_rejected"
] | 2026-03-17 | 2025-12-02 | MIT | LICENSE | 728120d9bb03f5d12ec808848c9243859b492ec8 | 6b26984a01279defdcf40ab9d09bc418fe8133ac | https://github.com/toon-format/toon-python/commit/728120d9bb03f5d12ec808848c9243859b492ec8 | https://github.com/toon-format/toon-python | toon_format._literal_utils | [
"is_numeric_literal"
] | 10 | 1 | 4e2b2287ef293401 | toon-format/toon-python@728120d9b#is_numeric_literal | python | 2026-08-18 | goldset/0.1 | 1 | |
androsovm/clorch | StateWatcher | Fix watcher fingerprint and shell hook subagent inconsistencies | function | docstring | Polls *STATE_DIR* for agent state changes and invokes a callback.
The watcher runs in a daemon thread so it is automatically cleaned
up when the main process exits.
Parameters
----------
on_change:
Called whenever the set of agents or any individual state
changes. Receives the full agent list and an up-to-da... | class StateWatcher:
"""Polls *STATE_DIR* for agent state changes and invokes a callback.
The watcher runs in a daemon thread so it is automatically cleaned
up when the main process exits.
Parameters
----------
on_change:
Called whenever the set of agents or any individual state
... | class StateWatcher:
"""Polls *STATE_DIR* for agent state changes and invokes a callback.
The watcher runs in a daemon thread so it is automatically cleaned
up when the main process exits.
Parameters
----------
on_change:
Called whenever the set of agents or any individual state
... | tests/test_event_handler_subagent.py | [
"tests/test_event_handler_subagent.py::TestSubagentStart::test_empty_agent_id_does_not_increment_count"
] | 2026-03-17 | 2026-03-16 | MIT | LICENSE | b3e75ff4c49f5e08c5d8aa2b2a4e0e236f68cfed | 659ce87d12baba19d466bae37d94418d37efbbe0 | https://github.com/androsovm/clorch/commit/b3e75ff4c49f5e08c5d8aa2b2a4e0e236f68cfed | https://github.com/androsovm/clorch | clorch.state.watcher | [
"StateWatcher"
] | 2 | 1 | 58a6e0b1d906ccb9 | androsovm/clorch@b3e75ff4c#StateWatcher | python | 2026-08-18 | goldset/0.1 | 1 | |
joke2k/faker | Squash merge fix/mutable-default-providers into master | file | commit | Squash merge fix/mutable-default-providers into master | import functools
import locale as pylocale
import logging
import sys
from importlib import import_module
from typing import Any, List, Optional, Tuple
from .config import AVAILABLE_LOCALES, DEFAULT_LOCALE, PROVIDERS
from .generator import Generator
from .utils.loading import list_module
logger = logging.getLogger(__... | import functools
import locale as pylocale
import logging
import sys
from importlib import import_module
from typing import Any, List, Optional, Tuple
from .config import AVAILABLE_LOCALES, DEFAULT_LOCALE, PROVIDERS
from .generator import Generator
from .utils.loading import list_module
logger = logging.getLogger(__... | tests/test_factory.py | [
"tests/test_factory.py::FactoryTestCase::test_includes_does_not_mutate_default_providers"
] | 2026-03-12 | 2026-03-04 | MIT | LICENSE.txt | a801a34f548861b68fd97b893bd58225a676381a | 36bff22c37b943e6c523407fec4dccc2242b36e2 | https://github.com/joke2k/faker/commit/a801a34f548861b68fd97b893bd58225a676381a | https://github.com/joke2k/faker | faker.factory | [
"Factory"
] | 6 | 1 | 32fa6fd87854de6c | joke2k/faker@a801a34f5#faker/factory.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Sendspin/sendspin-cli | _get_sink | Fix hardware volume for PipeWire backend devices (#177) | function | docstring | Return the PulseAudio sink corresponding to *audio_device*, or None if not found. | async def _get_sink(audio_device: AudioDevice, client: pulsectl_asyncio.PulseAsync) -> Any | None:
"""Return the PulseAudio sink corresponding to *audio_device*, or None if not found."""
sinks = await client.sink_list()
if not sinks:
logger.error("Hardware volume: no PulseAudio sinks available")
... | async def _get_sink(audio_device: AudioDevice, client: pulsectl_asyncio.PulseAsync) -> Any | None:
"""Return the PulseAudio sink corresponding to *audio_device*, or None if not found."""
sinks = await client.sink_list()
if not sinks:
logger.error("Hardware volume: no PulseAudio sinks available")
... | tests/test_hardware_volume.py | [
"tests/test_hardware_volume.py::test_get_sink_uses_default_sink_for_pipewire_backend_device"
] | 2026-03-10 | 2026-03-09 | Apache-2.0 | LICENSE | 2ced2c3ccf5ba232fb8a31b765fc050d1793e75d | 48f954fb9fb016805963a1ac872ebc3040dbf7a3 | https://github.com/Sendspin/sendspin-cli/commit/2ced2c3ccf5ba232fb8a31b765fc050d1793e75d | https://github.com/Sendspin/sendspin-cli | sendspin.hardware_volume | [
"_get_sink"
] | 7 | 1 | 6d39f8f7c9796a12 | Sendspin/sendspin-cli@2ced2c3cc#_get_sink | python | 2026-08-18 | goldset/0.1 | 1 | |
defnull/multipart | change: Raise ParserStateError on invalid boundaries. | file | commit | change: Raise ParserStateError on invalid boundaries. | # -*- coding: utf-8 -*-
"""
This module provides multiple parsers for RFC-7578 `multipart/form-data`, both
low-level for framework authors and high-level for WSGI or ASGI application
developers.
https://multipart.readthedocs.io/
Copyright (c) 2010-2025, Marcel Hellkamp
License: MIT (see LICENSE file)
"""
__author__... | # -*- coding: utf-8 -*-
"""
This module provides multiple parsers for RFC-7578 `multipart/form-data`, both
low-level for framework authors and high-level for WSGI or ASGI application
developers.
https://multipart.readthedocs.io/
Copyright (c) 2010-2025, Marcel Hellkamp
License: MIT (see LICENSE file)
"""
__author__... | test/test_push_parser.py | [
"test/test_push_parser.py::TestPushParser::test_init_bad_boundary"
] | 2026-03-09 | 2026-02-27 | MIT | LICENSE | 8cef6c08f010054e501586e2ea6dccf15d7a7301 | 4e0b303e07ad59a485653243274ee38b6cd541af | https://github.com/defnull/multipart/commit/8cef6c08f010054e501586e2ea6dccf15d7a7301 | https://github.com/defnull/multipart | multipart | [
"PushMultipartParser"
] | 7 | 1 | e821f804675e5b33 | defnull/multipart@8cef6c08f#multipart.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
tkem/cachetools | _DescriptorBase | Fix #387: Handle obj=None case for inspection in _DescriptorBase. | function | docstring | Descriptor base class implementing the basic descriptor protocol. | class _DescriptorBase:
"""Descriptor base class implementing the basic descriptor protocol."""
def __init__(self, deprecated=False):
self.__attrname = None
self.__deprecated = deprecated
def __set_name__(self, owner, name):
if self.__attrname is None:
self.__attrname = ... | class _DescriptorBase:
"""Descriptor base class implementing the basic descriptor protocol."""
def __init__(self, deprecated=False):
self.__attrname = None
self.__deprecated = deprecated
def __set_name__(self, owner, name):
if self.__attrname is None:
self.__attrname = ... | tests/test_cachedmethod.py | [
"tests/test_cachedmethod.py::AutospecTest::test_autospec_no_warnings"
] | 2026-03-05 | 2026-03-02 | MIT | LICENSE | 57d2e4813d9801f97034559e22428bac6f7c6c9b | 8011b71949e8d8d81a71359cca9477d67a2c9c0b | https://github.com/tkem/cachetools/commit/57d2e4813d9801f97034559e22428bac6f7c6c9b | https://github.com/tkem/cachetools | cachetools._cachedmethod | [
"_DescriptorBase"
] | 7 | 1 | ada727b29342f643 | tkem/cachetools@57d2e4813#_DescriptorBase | python | 2026-08-17 | goldset/0.1 | 1 | |
astanin/python-tabulate | _asciidoc_row | fix #408 - remove trailing whitespace from asciidoc output | function | docstring | handle header and data rows for asciidoc format | def _asciidoc_row(is_header, *args):
"""handle header and data rows for asciidoc format"""
def make_header_line(is_header, colwidths, colaligns):
# generate the column specifiers
alignment = {"left": "<", "right": ">", "center": "^", "decimal": ">"}
# use the column widths generated by... | def _asciidoc_row(is_header, *args):
"""handle header and data rows for asciidoc format"""
def make_header_line(is_header, colwidths, colaligns):
# generate the column specifiers
alignment = {"left": "<", "right": ">", "center": "^", "decimal": ">"}
# use the column widths generated by... | test/test_output.py | [
"test/test_output.py::test_asciidoc"
] | 2026-03-05 | 2026-03-05 | MIT | LICENSE | 3aa568c66987dbc97c079c6a2e4bd0ad362a949f | 2939dc1d17e13a71c256042d9ad46bfd9d8a07b8 | https://github.com/astanin/python-tabulate/commit/3aa568c66987dbc97c079c6a2e4bd0ad362a949f | https://github.com/astanin/python-tabulate | tabulate.__init__ | [
"_asciidoc_row"
] | 11 | 1 | fbfd9437b03a8480 | astanin/python-tabulate@3aa568c66#_asciidoc_row | python | 2026-08-18 | goldset/0.1 | 1 | |
astanin/python-tabulate | _format | fix #176 - implement Decimal fixed-point support | function | docstring | Format a value according to its deduced type. Empty values are deemed valid for any type.
Unicode is supported: | def _format(val, valtype, floatfmt, intfmt, missingval="", has_invisible=True):
"""Format a value according to its deduced type. Empty values are deemed valid for any type.
Unicode is supported:
>>> hrow = ['\u0431\u0443\u043a\u0432\u0430', '\u0446\u0438\u0444\u0440\u0430'] ; \
tbl = [['\u0430\u0... | def _format(val, valtype, floatfmt, intfmt, missingval="", has_invisible=True):
"""Format a value according to its deduced type. Empty values are deemed valid for any type.
Unicode is supported:
>>> hrow = ['\u0431\u0443\u043a\u0432\u0430', '\u0446\u0438\u0444\u0440\u0430'] ; \
tbl = [['\u0430\u0... | test/test_output.py | [
"test/test_output.py::test_floatfmt_decimal"
] | 2026-03-05 | 2026-03-05 | MIT | LICENSE | 5373ebfa9568db65cf6b9a4edfe22662d028ef12 | 8f32086665760bcb2bd729623dc58a8da259a68b | https://github.com/astanin/python-tabulate/commit/5373ebfa9568db65cf6b9a4edfe22662d028ef12 | https://github.com/astanin/python-tabulate | tabulate.__init__ | [
"_format"
] | 2 | 1 | 511bc4cdf1a66a5d | astanin/python-tabulate@5373ebfa9#_format | python | 2026-08-18 | goldset/0.1 | 1 | |
kaste/mockito-python | patch_dict | Fail fast for invalid falsy values in patch_dict | function | docstring | Patch/update a dict-like object in place.
This is a convenience function for test-time dictionary patching,
especially for mutable global maps like `os.environ`.
Usage::
patch_dict(os.environ, {'USER': 'foo'})
patch_dict(os.environ, [('USER', 'foo')])
patch_dict(os.environ, USER='foo')
patch_dict(os.... | def patch_dict(mapping_or_path, values=None, *, clear=False, remove=None, **kwargs):
"""Patch/update a dict-like object in place.
This is a convenience function for test-time dictionary patching,
especially for mutable global maps like ``os.environ``.
Usage::
patch_dict(os.environ, {'USER': '... | def patch_dict(mapping_or_path, values=None, *, clear=False, remove=None, **kwargs):
"""Patch/update a dict-like object in place.
This is a convenience function for test-time dictionary patching,
especially for mutable global maps like ``os.environ``.
Usage::
patch_dict(os.environ, {'USER': '... | tests/patch_dict_test.py | [
"tests/patch_dict_test.py::test_patch_dict_rejects_invalid_falsy_values_argument"
] | 2026-03-05 | 2026-03-05 | MIT | LICENSE | 6f7b73aac3d8f14c98abd7681759bdaee2f6663d | 1646c9e9693dc49c06d170c7a0ae137b2607302a | https://github.com/kaste/mockito-python/commit/6f7b73aac3d8f14c98abd7681759bdaee2f6663d | https://github.com/kaste/mockito-python | mockito.mockito | [
"patch_dict"
] | 2 | 1 | 4234d67733868993 | kaste/mockito-python@6f7b73aac#patch_dict | python | 2026-08-18 | goldset/0.1 | 1 | |
mlarocca/grokking_data_structures | Array | Fix Array constructor for unicode typecode 'u' | function | docstring | Return a new array whose items are restricted by typecode, and
that can contain at most `size` elements.
Arrays behave very much like Python list, except that
the type of objects stored in them is constrained. The type is specified
at object creation time by using a type code, which is a single character.
The followin... | class Array:
'''Return a new array whose items are restricted by typecode, and
that can contain at most `size` elements.
Arrays behave very much like Python list, except that
the type of objects stored in them is constrained. The type is specified
at object creation time by using a type... | class Array:
'''Return a new array whose items are restricted by typecode, and
that can contain at most `size` elements.
Arrays behave very much like Python list, except that
the type of objects stored in them is constrained. The type is specified
at object creation time by using a type... | python/tests/test_core.py | [
"python/tests/test_core.py::TestArray::test_get_item_valid"
] | 2026-03-04 | 2025-11-07 | Apache-2.0 | LICENSE | 7d0b1891a135ff024489751b4243951e1c5ee506 | f6f56d488ae4c4ec5bbc297b34ca13f595554278 | https://github.com/mlarocca/grokking_data_structures/commit/7d0b1891a135ff024489751b4243951e1c5ee506 | https://github.com/mlarocca/grokking_data_structures | python.arrays.core | [
"Array"
] | 3 | 1 | 2f9005996a00bddb | mlarocca/grokking_data_structures@7d0b1891a#Array | python | 2026-08-18 | goldset/0.1 | 1 | |
robertvoy/ComfyUI-Distributed | _find_media_references | fix: sync LoadVideo 'file' media refs for remote workers | function | docstring | Find media file references in image/video/audio inputs used by worker prompts. | def _find_media_references(prompt_obj):
"""Find media file references in image/video/audio inputs used by worker prompts."""
media_refs = set()
for node in prompt_obj.values():
if not isinstance(node, dict):
continue
inputs = node.get("inputs", {})
for key in ("image", "v... | def _find_media_references(prompt_obj):
"""Find media file references in image/video/audio/file inputs used by worker prompts."""
media_refs = set()
for node in prompt_obj.values():
if not isinstance(node, dict):
continue
inputs = node.get("inputs", {})
for key in ("image... | tests/api/test_media_sync.py | [
"tests/api/test_media_sync.py::FindMediaReferencesTests::test_finds_file_input_for_load_video"
] | 2026-02-28 | 2026-02-28 | Apache-2.0 | LICENSE | df606af80e769360fd859075aabe5b2eb4764c56 | 9058cf061d481fb0ca9678c3777555d495115597 | https://github.com/robertvoy/ComfyUI-Distributed/commit/df606af80e769360fd859075aabe5b2eb4764c56 | https://github.com/robertvoy/ComfyUI-Distributed | api.orchestration.media_sync | [
"_find_media_references"
] | 4 | 1 | 0c169524d83c9fa7 | robertvoy/ComfyUI-Distributed@df606af80#_find_media_references | python | 2026-08-18 | goldset/0.1 | 1 | |
joke2k/django-environ | Fix prometheus DB scheme aliases: underscores → hyphens (#585) | file | commit | Fix prometheus DB scheme aliases: underscores → hyphens (#585) | # This file is part of the django-environ.
#
# Copyright (c) 2024-present, Daniele Faraglia <daniele.faraglia@gmail.com>
# Copyright (c) 2021-2024, Serghei Iakovlev <oss@serghei.pl>
# Copyright (c) 2013-2021, Daniele Faraglia <daniele.faraglia@gmail.com>
#
# For the full copyright and license information, please view
#... | # This file is part of the django-environ.
#
# Copyright (c) 2024-present, Daniele Faraglia <daniele.faraglia@gmail.com>
# Copyright (c) 2021-2024, Serghei Iakovlev <oss@serghei.pl>
# Copyright (c) 2013-2021, Daniele Faraglia <daniele.faraglia@gmail.com>
#
# For the full copyright and license information, please view
#... | tests/test_db.py | [
"tests/test_db.py::test_db_parsing[prometheus-postgresql]"
] | 2026-02-20 | 2026-02-20 | MIT | LICENSE.txt | 278686ad07499706c1bd4efbb6a885fd68ce533d | 3317ae4c06434e21c7ead274ace7ac0b46ceb210 | https://github.com/joke2k/django-environ/commit/278686ad07499706c1bd4efbb6a885fd68ce533d | https://github.com/joke2k/django-environ | environ.environ | [
"Env"
] | 14 | 1 | 93c461f472f5ffb8 | joke2k/django-environ@278686ad0#environ/environ.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
berkerpeksag/astor | add_parens | Fix line wrapper producing invalid syntax for annotated assignments | function | docstring | Attempt to add parentheses around the line
in order to make it splittable. | def add_parens(line, maxline, indent, statements=statements, count=count):
"""Attempt to add parentheses around the line
in order to make it splittable.
"""
if line[0] in statements:
index = 1
if not line[0].endswith(' '):
index = 2
assert line[1] == ' '
... | def add_parens(line, maxline, indent, statements=statements, count=count):
"""Attempt to add parentheses around the line
in order to make it splittable.
"""
if line[0] in statements:
index = 1
if not line[0].endswith(' '):
index = 2
assert line[1] == ' '
... | tests/test_code_gen.py | [
"tests/test_code_gen.py::CodegenTestCase::test_long_annotated_assignment"
] | 2026-02-17 | 2026-02-17 | BSD-3-Clause | LICENSE | ea84a297ed068099c8c1aaf00e926c5f79ba2284 | 760582d96cfc4372d2bda4879e17c0871c908f7c | https://github.com/berkerpeksag/astor/commit/ea84a297ed068099c8c1aaf00e926c5f79ba2284 | https://github.com/berkerpeksag/astor | astor.source_repr | [
"add_parens"
] | 4 | 1 | a861da0665e4473e | berkerpeksag/astor@ea84a297e#add_parens | python | 2026-08-18 | goldset/0.1 | 1 | |
jd/tenacity | Fix ordinal suffix generation for numbers ending in 11, 12, 13 (#556) | file | commit | Fix ordinal suffix generation for numbers ending in 11, 12, 13 (#556) | # Copyright 2016 Julien Danjou
# Copyright 2016 Joshua Harlow
# Copyright 2013-2014 Ray Holder
#
# 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
#... | # Copyright 2016 Julien Danjou
# Copyright 2016 Joshua Harlow
# Copyright 2013-2014 Ray Holder
#
# 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
#... | tests/test_utils.py | [
"tests/test_utils.py::test_find_ordinal"
] | 2026-02-17 | 2026-02-07 | Apache-2.0 | LICENSE | 0bdf1d9e5f42b7179e7aae52cb70d26283a4c5ed | d4e868d6b8368c00b5a1fad54de36c2c8c3a0fb3 | https://github.com/jd/tenacity/commit/0bdf1d9e5f42b7179e7aae52cb70d26283a4c5ed | https://github.com/jd/tenacity | tenacity._utils | [
"find_ordinal"
] | 4 | 1 | 88042024eadfa374 | jd/tenacity@0bdf1d9e5#tenacity/_utils.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
joke2k/django-environ | Feature/add choice parameter and raise an exception if fetched value is not within (#555) | file | commit | Feature/add choice parameter and raise an exception if fetched value is not within (#555) | # This file is part of the django-environ.
#
# Copyright (c) 2024-present, Daniele Faraglia <daniele.faraglia@gmail.com>
# Copyright (c) 2021-2024, Serghei Iakovlev <oss@serghei.pl>
# Copyright (c) 2013-2021, Daniele Faraglia <daniele.faraglia@gmail.com>
#
# For the full copyright and license information, please view
#... | # This file is part of the django-environ.
#
# Copyright (c) 2024-present, Daniele Faraglia <daniele.faraglia@gmail.com>
# Copyright (c) 2021-2024, Serghei Iakovlev <oss@serghei.pl>
# Copyright (c) 2013-2021, Daniele Faraglia <daniele.faraglia@gmail.com>
#
# For the full copyright and license information, please view
#... | tests/test_env.py | [
"tests/test_env.py::TestEnv::test_str[STR_VAR-bar-False-choices2]"
] | 2026-02-17 | 2026-02-17 | MIT | LICENSE.txt | 24b299e002f3bcc14983eef4be770edb143338dc | c4414130f4cf11704e9f1ea446c68074f69c0b54 | https://github.com/joke2k/django-environ/commit/24b299e002f3bcc14983eef4be770edb143338dc | https://github.com/joke2k/django-environ | environ.environ | [
"Env"
] | 9 | 1 | 69f0ea87c18d32f0 | joke2k/django-environ@24b299e00#environ/environ.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
psf/requests | get_netrc_auth | Fix empty netrc entry usage (#7205) | function | docstring | Returns the Requests tuple auth for a given url from netrc. | def get_netrc_auth(url, raise_errors=False):
"""Returns the Requests tuple auth for a given url from netrc."""
netrc_file = os.environ.get("NETRC")
if netrc_file is not None:
netrc_locations = (netrc_file,)
else:
netrc_locations = (f"~/{f}" for f in NETRC_FILES)
try:
from n... | def get_netrc_auth(url, raise_errors=False):
"""Returns the Requests tuple auth for a given url from netrc."""
netrc_file = os.environ.get("NETRC")
if netrc_file is not None:
netrc_locations = (netrc_file,)
else:
netrc_locations = (f"~/{f}" for f in NETRC_FILES)
try:
from n... | tests/test_utils.py | [
"tests/test_utils.py::TestGetNetrcAuth::test_empty_default_credentials_ignored"
] | 2026-02-13 | 2026-02-11 | Apache-2.0 | LICENSE | 47914226c2968802f2cdee3f6f0f6e06e4472f64 | 1b40fdd004bfc8ba5301bcf8a6908264e9b6b877 | https://github.com/psf/requests/commit/47914226c2968802f2cdee3f6f0f6e06e4472f64 | https://github.com/psf/requests | requests.utils | [
"get_netrc_auth"
] | 2 | 1 | 8d0396d961f1377e | psf/requests@47914226c#get_netrc_auth | python | 2026-08-17 | goldset/0.1 | 1 | |
ikegami-yukino/jaconv | kana2alphabet | Fix bugs about small-kana in kana2alphabet | function | docstring | Convert Hiragana to hepburn-style alphabets
Parameters
----------
text : str
Hiragana string.
Return
------
str
Roman-input-style alphabets string.
Examples
-------- | def kana2alphabet(text):
"""Convert Hiragana to hepburn-style alphabets
Parameters
----------
text : str
Hiragana string.
Return
------
str
Roman-input-style alphabets string.
Examples
--------
>>> print(jaconv.kana2alphabet('まみさん'))
mamisan
"""
tex... | def kana2alphabet(text):
"""Convert Hiragana to hepburn-style alphabets
Parameters
----------
text : str
Hiragana string.
Return
------
str
Roman-input-style alphabets string.
Examples
--------
>>> print(jaconv.kana2alphabet('まみさん'))
mamisan
"""
tex... | test_jaconv.py | [
"test_jaconv.py::test_kana2alphabet"
] | 2026-02-08 | 2026-02-08 | MIT | LICENSE | 72690c3a1a2be0c92676b578773865186b2f527a | 3f5cc23fe01844c5ef4747569ecd6ebd1ed353de | https://github.com/ikegami-yukino/jaconv/commit/72690c3a1a2be0c92676b578773865186b2f527a | https://github.com/ikegami-yukino/jaconv | jaconv.jaconv | [
"kana2alphabet"
] | 8 | 1 | 6cf7ce0860562173 | ikegami-yukino/jaconv@72690c3a1#kana2alphabet | python | 2026-08-18 | goldset/0.1 | 1 | |
Textualize/rich | _cell_len | fix test | function | docstring | Get the cell length of a string (length as it appears in the terminal).
Args:
text: String to measure.
unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
Returns:
Length of string in terminal cells. | def _cell_len(text: str, unicode_version: str) -> int:
"""Get the cell length of a string (length as it appears in the terminal).
Args:
text: String to measure.
unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
Returns:
Length of ... | def _cell_len(text: str, unicode_version: str) -> int:
"""Get the cell length of a string (length as it appears in the terminal).
Args:
text: String to measure.
unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
Returns:
Length of ... | tests/test_cells.py | [
"tests/test_cells.py::test_split_graphemes[\\U0001f469\\u200d\\U0001f527-expected_spans5-2]"
] | 2026-02-01 | 2026-02-01 | MIT | LICENSE | 31930ddc842d9e1cd224327d5f6c22eff4a87f82 | 454fcfc92c66556f9538d420b5bd3ba95b1f57b7 | https://github.com/Textualize/rich/commit/31930ddc842d9e1cd224327d5f6c22eff4a87f82 | https://github.com/Textualize/rich | rich.cells | [
"_cell_len"
] | 4 | 1 | 4a00fbf83a40d51c | Textualize/rich@31930ddc8#_cell_len | python | 2026-08-17 | goldset/0.1 | 1 | |
facelessuser/coloraide | raytrace_box | Ray trace gamut mapping fix | function | docstring | Return the intersection of an axis aligned box using slab method.
https://en.wikipedia.org/wiki/Slab_method | def raytrace_box(
start: Vector,
end: Vector,
bmin: VectorLike = (0.0, 0.0, 0,0),
bmax: VectorLike = (1.0, 1.0, 1.0)
) -> Vector:
"""
Return the intersection of an axis aligned box using slab method.
https://en.wikipedia.org/wiki/Slab_method
"""
tfar = math.inf
tnear = -math.in... | def raytrace_box(
start: Vector,
end: Vector,
bmin: VectorLike = (0.0, 0.0, 0,0),
bmax: VectorLike = (1.0, 1.0, 1.0)
) -> Vector:
"""
Return the intersection of an axis aligned box using slab method.
https://en.wikipedia.org/wiki/Slab_method
"""
tfar = math.inf
tnear = -math.in... | tests/test_gamut.py | [
"tests/test_gamut.py::TestRayTrace::test_ray_trace_very_close_to_gamut"
] | 2026-01-28 | 2026-01-28 | MIT | LICENSE.md | 6d7ae0948bd9bed8948a55d411c7898b8208d7bd | a9bdbd0ef3ec1eb730428fb81ee681223f35ec3b | https://github.com/facelessuser/coloraide/commit/6d7ae0948bd9bed8948a55d411c7898b8208d7bd | https://github.com/facelessuser/coloraide | coloraide.gamut.fit_raytrace | [
"raytrace_box"
] | 11 | 1 | 4230d3494a74646a | facelessuser/coloraide@6d7ae0948#raytrace_box | python | 2026-08-18 | goldset/0.1 | 1 | |
Textualize/rich | get_character_cell_size | fix fonts | function | docstring | Get the cell size of a character.
Args:
character (str): A single character.
unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
Returns:
int: Number of cells (0, 1 or 2) occupied by that character. | def get_character_cell_size(character: str, unicode_version: str = "auto") -> int:
"""Get the cell size of a character.
Args:
character (str): A single character.
unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
Returns:
int: Num... | def get_character_cell_size(character: str, unicode_version: str = "auto") -> int:
"""Get the cell size of a character.
Args:
character (str): A single character.
unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
Returns:
int: Num... | tests/test_cells.py | [
"tests/test_cells.py::test_nerd_font"
] | 2026-01-24 | 2026-01-24 | MIT | LICENSE | 73ee8232e7ea72a90130ccf67d8ffefd4122e9f4 | 36fe3f7ca9becca4777861d5e6e625f5a4a37545 | https://github.com/Textualize/rich/commit/73ee8232e7ea72a90130ccf67d8ffefd4122e9f4 | https://github.com/Textualize/rich | rich.cells | [
"get_character_cell_size"
] | 2 | 1 | 2109f7e000c4e044 | Textualize/rich@73ee8232e#get_character_cell_size | python | 2026-08-17 | goldset/0.1 | 1 | |
rockem/busypie | fix: [#54] Using ignore_exception with until_asserted raising an AttributionError (#74) | file | commit | fix: [#54] Using ignore_exception with until_asserted raising an AttributionError (#74) | from builtins import Exception
from copy import deepcopy
from functools import partial
from typing import Any, List, Optional, Type
from busypie import runner
from busypie.checker import assert_check, check, negative_check
from busypie.durations import ONE_HUNDRED_MILLISECONDS, SECOND
from busypie.time import time_val... | from builtins import Exception
from copy import deepcopy
from functools import partial
from typing import Any, List, Optional, Type
from busypie import runner
from busypie.checker import assert_check, check, negative_check
from busypie.durations import ONE_HUNDRED_MILLISECONDS, SECOND
from busypie.time import time_val... | tests/test_asserted.py | [
"tests/test_asserted.py::test_ignore_all_exceptions_with_until_asserted"
] | 2026-01-24 | 2026-01-24 | Apache-2.0 | LICENSE | abb7ca1989d8cbb2cdefeee172adc4264f066dfb | 87cadd87daaa0e6221de76bc3ebeb7080bb47121 | https://github.com/rockem/busypie/commit/abb7ca1989d8cbb2cdefeee172adc4264f066dfb | https://github.com/rockem/busypie | busypie.condition | [
"Condition"
] | 5 | 1 | 4bec72ab255a6723 | rockem/busypie@abb7ca198#busypie/condition.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
awslabs/aws-lambda-builders | Fix #502: Capture Maven stderr in error messages (#822) | file | commit | Fix #502: Capture Maven stderr in error messages (#822) | """
Wrapper around calls to Maven through a subprocess.
"""
import logging
import subprocess
from aws_lambda_builders.utils import decode
LOG = logging.getLogger(__name__)
class MavenExecutionError(Exception):
MESSAGE = "Maven Failed: {message}"
def __init__(self, **kwargs):
Exception.__init__(sel... | """
Wrapper around calls to Maven through a subprocess.
"""
import logging
import subprocess
from aws_lambda_builders.utils import decode
LOG = logging.getLogger(__name__)
class MavenExecutionError(Exception):
MESSAGE = "Maven Failed: {message}"
def __init__(self, **kwargs):
Exception.__init__(sel... | tests/unit/workflows/java_maven/test_maven.py | [
"tests/unit/workflows/java_maven/test_maven.py::TestSubprocessMaven::test_build_raises_exception_if_retcode_not_0",
"tests/unit/workflows/java_maven/test_maven.py::TestSubprocessMaven::test_copy_dependency_raises_exception_if_retcode_not_0"
] | 2026-01-20 | 2026-01-16 | Apache-2.0 | LICENSE | 8ccbae9b53ba5f5e2d83e0c21d6ae08c3962f2b9 | 051c6ef2fd0079190c758f1622af7a68e48eb723 | https://github.com/awslabs/aws-lambda-builders/commit/8ccbae9b53ba5f5e2d83e0c21d6ae08c3962f2b9 | https://github.com/awslabs/aws-lambda-builders | aws_lambda_builders.workflows.java_maven.maven | [
"SubprocessMaven"
] | 8 | 2 | 4c83d6e1295ce5c5 | awslabs/aws-lambda-builders@8ccbae9b5#aws_lambda_builders/workflows/java_maven/maven.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | Fix issue #442: PHP use function statements no longer override function names | file | commit | Fix issue #442: PHP use function statements no longer override function names | '''
Language parser for PHP
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
class PHPLanguageStates(CodeStateMachine):
"""
PHP-specific state machine that properly handles modern PHP syntax
including classes, visibility modifiers and return types.
... | '''
Language parser for PHP
'''
import re
from .code_reader import CodeReader, CodeStateMachine
from .clike import CCppCommentsMixin
class PHPLanguageStates(CodeStateMachine):
"""
PHP-specific state machine that properly handles modern PHP syntax
including classes, visibility modifiers and return types.
... | test/test_languages/testPHP.py | [
"test/test_languages/testPHP.py::Test_parser_for_PHP::test_multiple_use_function_statements",
"test/test_languages/testPHP.py::Test_parser_for_PHP::test_use_function_statement_does_not_override_function_name"
] | 2026-01-16 | 2026-01-16 | MIT | LICENSE.txt | 1700bd91b4e70b833020b0358bbb5b5d04224399 | ec9ba1ecd2bcf35118a3662c939ab5643c6e80db | https://github.com/terryyin/lizard/commit/1700bd91b4e70b833020b0358bbb5b5d04224399 | https://github.com/terryyin/lizard | lizard_languages.php | [
"PHPLanguageStates"
] | 12 | 2 | 05504fedcff2c179 | terryyin/lizard@1700bd91b#lizard_languages/php.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
joke2k/faker | Fix grouping for `-i` CLI parameter (#2309) | file | commit | Fix grouping for `-i` CLI parameter (#2309) | import argparse
import itertools
import logging
import os
import random
import sys
import textwrap
from io import TextIOWrapper
from pathlib import Path
from typing import Dict, List, Optional, TextIO, TypeVar, Union
from . import VERSION, Faker, documentor, exceptions
from .config import AVAILABLE_LOCALES, DEFAULT_L... | import argparse
import itertools
import logging
import os
import random
import sys
import textwrap
from io import TextIOWrapper
from pathlib import Path
from typing import Dict, List, Optional, TextIO, TypeVar, Union
from . import VERSION, Faker, documentor, exceptions
from .config import AVAILABLE_LOCALES, DEFAULT_L... | tests/test_cli_arg_parsing.py | [
"tests/test_cli_arg_parsing.py::TestCLIArgParsing::test_cli_include_argument_parsing",
"tests/test_cli_arg_parsing.py::TestCLIArgParsing::test_cli_multiple_includes"
] | 2026-01-13 | 2025-12-29 | MIT | LICENSE.txt | c48adb7a58ab26ceea27cda51ecb764febaa7a7c | 1c0855ee7767de82514a748baa25838d08410b6a | https://github.com/joke2k/faker/commit/c48adb7a58ab26ceea27cda51ecb764febaa7a7c | https://github.com/joke2k/faker | faker.cli | [
"Command"
] | 5 | 2 | 31770894ca6a5746 | joke2k/faker@c48adb7a5#faker/cli.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
kbialek/deye-inverter-mqtt | DateTimeSensor | Fix for issue #266 | function | docstring | Sensor for system date&time stored in three Modbus registers. | class DateTimeSensor(AbstractSensor):
"""
Sensor for system date&time stored in three Modbus registers.
"""
def __init__(
self,
name: str,
reg_address: int,
mqtt_topic_suffix="",
print_format="{:.0f}",
groups=[],
):
super().__init__(name, mqtt... | class DateTimeSensor(AbstractSensor):
"""
Sensor for system date&time stored in three Modbus registers.
"""
def __init__(
self,
name: str,
reg_address: int,
mqtt_topic_suffix="",
print_format="{:.0f}",
groups=[],
):
super().__init__(name, mqtt... | tests/deye_sensor_test.py | [
"tests/deye_sensor_test.py::DeyeSensorTest::test_datetime_sensor_wrong_input"
] | 2026-01-03 | 2025-12-17 | Apache-2.0 | LICENSE | 84e56362cb4ca89563c00c8d07430d0f59144dda | 0c4efe43beba3dd6db092075cb76a2e90a946070 | https://github.com/kbialek/deye-inverter-mqtt/commit/84e56362cb4ca89563c00c8d07430d0f59144dda | https://github.com/kbialek/deye-inverter-mqtt | deye_sensor | [
"DateTimeSensor"
] | 7 | 1 | cedc9a9f5c5001d6 | kbialek/deye-inverter-mqtt@84e56362c#DateTimeSensor | python | 2026-08-18 | goldset/0.1 | 1 | |
more-itertools/more-itertools | nth_combination_with_replacement | Simplify nth_combination_with_replacement. Fix incorrect exception. | function | docstring | Equivalent to
`list(combinations_with_replacement(iterable, r))[index]`.
The subsequences with repetition of *iterable* that are of length *r* can
be ordered lexicographically. :func:`nth_combination_with_replacement`
computes the subsequence at sort position *index* directly, without
computing the previous subsequenc... | def nth_combination_with_replacement(iterable, r, index):
"""Equivalent to
``list(combinations_with_replacement(iterable, r))[index]``.
The subsequences with repetition of *iterable* that are of length *r* can
be ordered lexicographically. :func:`nth_combination_with_replacement`
computes the subs... | def nth_combination_with_replacement(iterable, r, index):
"""Equivalent to
``list(combinations_with_replacement(iterable, r))[index]``.
The subsequences with repetition of *iterable* that are of length *r* can
be ordered lexicographically. :func:`nth_combination_with_replacement`
computes the subs... | tests/test_more.py | [
"tests/test_more.py::NthCombinationWithReplacementTests::test_basic"
] | 2026-01-02 | 2026-01-02 | MIT | LICENSE | 06f31819121eb0620d3165fda73a44cbf71b140d | def2d821c0a15ede86578660e7dc48e44bad9579 | https://github.com/more-itertools/more-itertools/commit/06f31819121eb0620d3165fda73a44cbf71b140d | https://github.com/more-itertools/more-itertools | more_itertools.more | [
"nth_combination_with_replacement"
] | 11 | 1 | 0e5bddcf06a80203 | more-itertools/more-itertools@06f318191#nth_combination_with_replacement | python | 2026-08-17 | goldset/0.1 | 1 | |
more-itertools/more-itertools | nth_permutation | Simplify nth_permutation. Fix incorrect exception. | function | docstring | Equivalent to `list(permutations(iterable, r))[index]``
The subsequences of *iterable* that are of length *r* where order is
important can be ordered lexicographically. :func:`nth_permutation`
computes the subsequence at sort position *index* directly, without
computing the previous subsequences.
`ValueError` will be... | def nth_permutation(iterable, r, index):
"""Equivalent to ``list(permutations(iterable, r))[index]```
The subsequences of *iterable* that are of length *r* where order is
important can be ordered lexicographically. :func:`nth_permutation`
computes the subsequence at sort position *index* directly, with... | def nth_permutation(iterable, r, index):
"""Equivalent to ``list(permutations(iterable, r))[index]```
The subsequences of *iterable* that are of length *r* where order is
important can be ordered lexicographically. :func:`nth_permutation`
computes the subsequence at sort position *index* directly, with... | tests/test_recipes.py | [
"tests/test_recipes.py::NthPermutationTests::test_invalid_index"
] | 2026-01-02 | 2026-01-01 | MIT | LICENSE | def2d821c0a15ede86578660e7dc48e44bad9579 | 6b32fbfba127d6b4aaf57d6b254b2ab5fc80ae76 | https://github.com/more-itertools/more-itertools/commit/def2d821c0a15ede86578660e7dc48e44bad9579 | https://github.com/more-itertools/more-itertools | more_itertools.more | [
"nth_permutation"
] | 15 | 1 | 5669b01cd6d103f3 | more-itertools/more-itertools@def2d821c#nth_permutation | python | 2026-08-17 | goldset/0.1 | 1 | |
more-itertools/more-itertools | random_product | Fix random_product() as well | function | docstring | Draw an item at random from each of the input iterables.
If *repeat* is provided as a keyword argument, that many items will be
drawn from each iterable.
This equivalent to taking a random selection from
`itertools.product(*args, repeat=repeat)`. | def random_product(*iterables, repeat=1):
"""Draw an item at random from each of the input iterables.
>>> random_product('abc', range(4), 'XYZ') # doctest:+SKIP
('c', 3, 'Z')
If *repeat* is provided as a keyword argument, that many items will be
drawn from each iterable.
>>> rand... | def random_product(*iterables, repeat=1):
"""Draw an item at random from each of the input iterables.
>>> random_product('abc', range(4), 'XYZ') # doctest:+SKIP
('c', 3, 'Z')
If *repeat* is provided as a keyword argument, that many items will be
drawn from each iterable.
>>> rand... | tests/test_recipes.py | [
"tests/test_recipes.py::RandomProductTests::test_list_with_repeat"
] | 2025-12-30 | 2025-12-30 | MIT | LICENSE | b0aa91efbb452eeb8ffa0447047519c6e84d5292 | 073d23421b60e05a99872e7b174902f4aa151f31 | https://github.com/more-itertools/more-itertools/commit/b0aa91efbb452eeb8ffa0447047519c6e84d5292 | https://github.com/more-itertools/more-itertools | more_itertools.recipes | [
"random_product"
] | 2 | 1 | 5e9a38e5b7aa46ce | more-itertools/more-itertools@b0aa91efb#random_product | python | 2026-08-17 | goldset/0.1 | 1 | |
awslabs/aws-lambda-builders | fix: remove deprecated --without option from ruby bundler (#808) | file | commit | fix: remove deprecated --without option from ruby bundler (#808) | """
Actions for Ruby dependency resolution with Bundler
"""
import logging
from aws_lambda_builders.actions import ActionFailedError, BaseAction, Purpose
from .bundler import BundlerExecutionError
LOG = logging.getLogger(__name__)
class RubyBundlerInstallAction(BaseAction):
"""
A Lambda Builder Action whi... | """
Actions for Ruby dependency resolution with Bundler
"""
import logging
from aws_lambda_builders.actions import ActionFailedError, BaseAction, Purpose
from .bundler import BundlerExecutionError
LOG = logging.getLogger(__name__)
class RubyBundlerInstallAction(BaseAction):
"""
A Lambda Builder Action whi... | tests/unit/workflows/ruby_bundler/test_actions.py | [
"tests/unit/workflows/ruby_bundler/test_actions.py::TestRubyBundlerInstallAction::test_runs_bundle_install",
"tests/unit/workflows/ruby_bundler/test_actions.py::TestRubyBundlerVendorAction::test_runs_bundle_install_deployment"
] | 2025-12-10 | 2025-12-08 | Apache-2.0 | LICENSE | efda1dd6a6cbe5dc3fe077f38c3b3d04d8cd76cd | 719e7e936853abdff4cd946a19d9a371bb8315ef | https://github.com/awslabs/aws-lambda-builders/commit/efda1dd6a6cbe5dc3fe077f38c3b3d04d8cd76cd | https://github.com/awslabs/aws-lambda-builders | aws_lambda_builders.workflows.ruby_bundler.actions | [
"RubyBundlerInstallAction",
"RubyBundlerVendorAction"
] | 12 | 2 | 47f9c53c06315ed5 | awslabs/aws-lambda-builders@efda1dd6a#aws_lambda_builders/workflows/ruby_bundler/actions.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
andialbrecht/sqlparse | StatementSplitter | Fix splitting of BEGIN TRANSACTION statements (fixes #826). | function | docstring | Filter that split stream at individual statements | class StatementSplitter:
"""Filter that split stream at individual statements"""
def __init__(self):
self._reset()
def _reset(self):
"""Set the filter attributes to its default values"""
self._in_declare = False
self._in_case = False
self._is_create = False
... | class StatementSplitter:
"""Filter that split stream at individual statements"""
def __init__(self):
self._reset()
def _reset(self):
"""Set the filter attributes to its default values"""
self._in_declare = False
self._in_case = False
self._is_create = False
... | tests/test_split.py | [
"tests/test_split.py::test_split_begin_transaction"
] | 2025-11-29 | 2025-11-28 | BSD-3-Clause | LICENSE | 5ca50a2ee9b39e9efeea33e01f132d628144fb69 | acd8e5817b5be5f9b9a7b159c1bacc45179f4e44 | https://github.com/andialbrecht/sqlparse/commit/5ca50a2ee9b39e9efeea33e01f132d628144fb69 | https://github.com/andialbrecht/sqlparse | sqlparse.engine.statement_splitter | [
"StatementSplitter"
] | 13 | 1 | dc83b6c74d2079a5 | andialbrecht/sqlparse@5ca50a2ee#StatementSplitter | python | 2026-08-18 | goldset/0.1 | 1 | |
severity1/claude-code-auto-memory | extract_files_from_bash | Fix bash command parsing to stop at shell operators | function | docstring | Extract file paths from Bash commands that modify files.
Detects: rm, rm -rf, mv, git rm, git mv, unlink
Returns list of file paths that should be tracked. | def extract_files_from_bash(command: str, project_dir: str) -> list[str]:
"""Extract file paths from Bash commands that modify files.
Detects: rm, rm -rf, mv, git rm, git mv, unlink
Returns list of file paths that should be tracked.
"""
if not command:
return []
# Normalize command (st... | def extract_files_from_bash(command: str, project_dir: str) -> list[str]:
"""Extract file paths from Bash commands that modify files.
Detects: rm, rm -rf, mv, git rm, git mv, unlink
Returns list of file paths that should be tracked.
"""
if not command:
return []
# Normalize command (st... | tests/test_hooks.py | [
"tests/test_hooks.py::TestPostToolUseHook::test_stops_at_shell_operators"
] | 2025-11-29 | 2025-11-29 | MIT | LICENSE | 45ff2fb6dddbe2e3181e5d37b78f5812b4bbca93 | 2b76c8e9306663f3ac1119c1723821d142da7f92 | https://github.com/severity1/claude-code-auto-memory/commit/45ff2fb6dddbe2e3181e5d37b78f5812b4bbca93 | https://github.com/severity1/claude-code-auto-memory | scripts.post-tool-use | [
"extract_files_from_bash"
] | 16 | 1 | c304ae845892b914 | severity1/claude-code-auto-memory@45ff2fb6d#extract_files_from_bash | python | 2026-08-18 | goldset/0.1 | 1 | |
andialbrecht/sqlparse | StatementSplitter | Fix handling of semicolons inside BEGIN...END blocks (fixes #809). | function | docstring | Filter that split stream at individual statements | class StatementSplitter:
"""Filter that split stream at individual statements"""
def __init__(self):
self._reset()
def _reset(self):
"""Set the filter attributes to its default values"""
self._in_declare = False
self._in_case = False
self._is_create = False
... | class StatementSplitter:
"""Filter that split stream at individual statements"""
def __init__(self):
self._reset()
def _reset(self):
"""Set the filter attributes to its default values"""
self._in_declare = False
self._in_case = False
self._is_create = False
... | tests/test_split.py | [
"tests/test_split.py::test_split_begin_end_semicolons"
] | 2025-11-28 | 2025-11-27 | BSD-3-Clause | LICENSE | 1a3bfbd50b82c05d9adcc51bacba059671dc1bc7 | e92a032c81d51a6645b4f8c32470481894818ba0 | https://github.com/andialbrecht/sqlparse/commit/1a3bfbd50b82c05d9adcc51bacba059671dc1bc7 | https://github.com/andialbrecht/sqlparse | sqlparse.engine.statement_splitter | [
"StatementSplitter"
] | 21 | 1 | fde960d6e0f0debb | andialbrecht/sqlparse@1a3bfbd50#StatementSplitter | python | 2026-08-18 | goldset/0.1 | 1 | |
sean2077/jsonpath-python | fix: resolve issue #15 where filters with bracket notation returned empty results | file | commit | fix: resolve issue #15 where filters with bracket notation returned empty results | import logging
import os
import re
import sys
from collections import defaultdict
from typing import Union
def create_logger(name: str = None, level: Union[int, str] = logging.INFO):
"""Get or create a logger used for local debug."""
formater = logging.Formatter(f"%(asctime)s-%(levelname)s-[{name}] %(message... | import logging
import os
import re
import sys
from collections import defaultdict
from typing import Union
def create_logger(name: str = None, level: Union[int, str] = logging.INFO):
"""Get or create a logger used for local debug."""
formater = logging.Formatter(f"%(asctime)s-%(levelname)s-[{name}] %(message... | tests/test_issues.py | [
"tests/test_issues.py::test_issue_15_bracket_notation_in_filter"
] | 2025-11-23 | 2025-11-23 | MIT | LICENSE | 100bf6fda10d9802cff7223e443a11fb63f1409a | 6caa9d4e0e9a95363edc6024b41d5b8ea5e785c0 | https://github.com/sean2077/jsonpath-python/commit/100bf6fda10d9802cff7223e443a11fb63f1409a | https://github.com/sean2077/jsonpath-python | jsonpath.jsonpath | [
"JSONPath"
] | 23 | 1 | 84cf1610334e7f71 | sean2077/jsonpath-python@100bf6fda#jsonpath/jsonpath.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
sean2077/jsonpath-python | fix: resolve issue #16 support quoted keys in filters and paths | file | commit | fix: resolve issue #16 support quoted keys in filters and paths | import logging
import os
import re
import sys
from collections import defaultdict
from typing import Union
def create_logger(name: str = None, level: Union[int, str] = logging.INFO):
"""Get or create a logger used for local debug."""
formater = logging.Formatter(f"%(asctime)s-%(levelname)s-[{name}] %(message... | import logging
import os
import re
import sys
from collections import defaultdict
from typing import Union
def create_logger(name: str = None, level: Union[int, str] = logging.INFO):
"""Get or create a logger used for local debug."""
formater = logging.Formatter(f"%(asctime)s-%(levelname)s-[{name}] %(message... | tests/test_issues.py | [
"tests/test_issues.py::test_issue_16_quoted_keys"
] | 2025-11-23 | 2025-11-23 | MIT | LICENSE | 6caa9d4e0e9a95363edc6024b41d5b8ea5e785c0 | 47bba251233b8f96963dc22e2e83238b417e332a | https://github.com/sean2077/jsonpath-python/commit/6caa9d4e0e9a95363edc6024b41d5b8ea5e785c0 | https://github.com/sean2077/jsonpath-python | jsonpath.jsonpath | [
"JSONPath"
] | 19 | 1 | 5ad8c686f74de7f6 | sean2077/jsonpath-python@6caa9d4e0#jsonpath/jsonpath.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
sean2077/jsonpath-python | fix: resolve issue #17 false positive errors and parsing bugs | file | commit | fix: resolve issue #17 false positive errors and parsing bugs | import logging
import os
import re
import sys
from collections import defaultdict
from typing import Union
def create_logger(name: str = None, level: Union[int, str] = logging.INFO):
"""Get or create a logger used for local debug."""
formater = logging.Formatter(f"%(asctime)s-%(levelname)s-[{name}] %(message... | import logging
import os
import re
import sys
from collections import defaultdict
from typing import Union
def create_logger(name: str = None, level: Union[int, str] = logging.INFO):
"""Get or create a logger used for local debug."""
formater = logging.Formatter(f"%(asctime)s-%(levelname)s-[{name}] %(message... | tests/test_issues.py | [
"tests/test_issues.py::test_issue_17_bracket_dot_normalization"
] | 2025-11-23 | 2025-11-23 | MIT | LICENSE | 47bba251233b8f96963dc22e2e83238b417e332a | 18eab0b6f4e3b5e36c307786104edb14aeeecf54 | https://github.com/sean2077/jsonpath-python/commit/47bba251233b8f96963dc22e2e83238b417e332a | https://github.com/sean2077/jsonpath-python | jsonpath.jsonpath | [
"JSONPath"
] | 7 | 1 | e42421b0b5c12945 | sean2077/jsonpath-python@47bba2512#jsonpath/jsonpath.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
Textualize/rich | Fix raw markup printed on prompt errors sometimes | file | commit | Fix raw markup printed on prompt errors sometimes | from typing import Any, Generic, List, Optional, TextIO, TypeVar, Union, overload
from . import get_console
from .console import Console
from .text import Text, TextType
PromptType = TypeVar("PromptType")
DefaultType = TypeVar("DefaultType")
class PromptError(Exception):
"""Exception base class for prompt relat... | from typing import Any, Generic, List, Optional, TextIO, TypeVar, Union, overload
from . import get_console
from .console import Console
from .text import Text, TextType
PromptType = TypeVar("PromptType")
DefaultType = TypeVar("DefaultType")
class PromptError(Exception):
"""Exception base class for prompt relat... | tests/test_prompt.py | [
"tests/test_prompt.py::test_prompt_confirm_markup"
] | 2025-11-13 | 2025-10-09 | MIT | LICENSE | 95fe8ff59249d9ac0534a82af7c746826a5999f4 | 4d6d631a3d2deddf8405522d4b8c976a6d35726c | https://github.com/Textualize/rich/commit/95fe8ff59249d9ac0534a82af7c746826a5999f4 | https://github.com/Textualize/rich | rich.prompt | [
"PromptBase"
] | 2 | 1 | 8408c0c8c46c15cb | Textualize/rich@95fe8ff59#rich/prompt.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
more-itertools/more-itertools | exactly_n | Fix bug for negative inputs to exactly_n(). Optimize code. | function | docstring | Return `True` if exactly `n` items in the iterable are `True`
according to the *predicate* function.
The iterable will be advanced until `n + 1` truthy items are encountered,
so avoid calling it on infinite iterables. | def exactly_n(iterable, n, predicate=bool):
"""Return ``True`` if exactly ``n`` items in the iterable are ``True``
according to the *predicate* function.
>>> exactly_n([True, True, False], 2)
True
>>> exactly_n([True, True, False], 1)
False
>>> exactly_n([0, 1, 2, 3, 4, ... | def exactly_n(iterable, n, predicate=bool):
"""Return ``True`` if exactly ``n`` items in the iterable are ``True``
according to the *predicate* function.
>>> exactly_n([True, True, False], 2)
True
>>> exactly_n([True, True, False], 1)
False
>>> exactly_n([0, 1, 2, 3, 4, ... | tests/test_more.py | [
"tests/test_more.py::ExactlyNTests::test_false"
] | 2025-10-28 | 2025-10-25 | MIT | LICENSE | adeda34bd11ff636f5f19238cf422a73e1455483 | f75535b5ed95394a3a24c1495e1f8508a06d56ab | https://github.com/more-itertools/more-itertools/commit/adeda34bd11ff636f5f19238cf422a73e1455483 | https://github.com/more-itertools/more-itertools | more_itertools.more | [
"exactly_n"
] | 15 | 1 | 785b3f7ba4e1f07c | more-itertools/more-itertools@adeda34bd#exactly_n | python | 2026-08-17 | goldset/0.1 | 1 | |
gepa-ai/gepa | EpochShuffledBatchSampler | Fix batch sampler so it updates when data-loader size increases and add tests to validate logic works | function | docstring | Mirrors the original batching logic:
- Shuffle ids each epoch
- Pad to minibatch size with least frequent ids
- Deterministic via state.rng1 | class EpochShuffledBatchSampler(BatchSampler[DataId, DataInst]):
"""
Mirrors the original batching logic:
- Shuffle ids each epoch
- Pad to minibatch size with least frequent ids
- Deterministic via state.rng1
"""
def __init__(self, minibatch_size: int, rng: random.Random | None = None):
... | class EpochShuffledBatchSampler(BatchSampler[DataId, DataInst]):
"""
Mirrors the original batching logic:
- Shuffle ids each epoch
- Pad to minibatch size with least frequent ids
- Deterministic via state.rng1
"""
def __init__(self, minibatch_size: int, rng: random.Random | None = None):
... | tests/test_batch_sampler.py | [
"tests/test_batch_sampler.py::test_epoch_sampler_errors_when_loader_empty",
"tests/test_batch_sampler.py::test_epoch_sampler_refreshes_when_loader_expands"
] | 2025-10-23 | 2025-10-23 | MIT | LICENSE | 2f825d627c8e7370d6a4effad146c70c75ffa185 | 7604b32bea8e96b9ad594f6056075b484b680dba | https://github.com/gepa-ai/gepa/commit/2f825d627c8e7370d6a4effad146c70c75ffa185 | https://github.com/gepa-ai/gepa | gepa.strategies.batch_sampler | [
"EpochShuffledBatchSampler"
] | 23 | 2 | 447fa5bae7a5125a | gepa-ai/gepa@2f825d627#EpochShuffledBatchSampler | python | 2026-08-18 | goldset/0.1 | 1 | |
Ch00k/ffmpy | FFRuntimeError | Fix exception raising for all types of stdout/stderr (#90) | function | docstring | Raise when FFmpeg/FFprobe command line execution returns a non-zero exit code.
The resulting exception object will contain the attributes relates to command line execution:
`cmd`, `exit_code`, `stdout`, `stderr`. | class FFRuntimeError(Exception):
"""Raise when FFmpeg/FFprobe command line execution returns a non-zero exit code.
The resulting exception object will contain the attributes relates to command line execution:
``cmd``, ``exit_code``, ``stdout``, ``stderr``.
"""
def __init__(self, cmd: str, exit_cod... | class FFRuntimeError(Exception):
"""Raise when FFmpeg/FFprobe command line execution returns a non-zero exit code.
The resulting exception object will contain the attributes relates to command line execution:
``cmd``, ``exit_code``, ``stdout``, ``stderr``.
"""
def __init__(
self,
c... | tests/test_cmd_execution.py | [
"tests/test_cmd_execution.py::test_runtime_error_with_text_mode"
] | 2025-10-22 | 2025-10-11 | MIT | LICENSE | 5941c92a4305a0924cd2554617c22d068f65c5fd | 57c12058a525c30f61ee2a7c8c91cd11191c8dd4 | https://github.com/Ch00k/ffmpy/commit/5941c92a4305a0924cd2554617c22d068f65c5fd | https://github.com/Ch00k/ffmpy | ffmpy.ffmpy | [
"FFRuntimeError"
] | 16 | 1 | 528b4f140f4741ab | Ch00k/ffmpy@5941c92a4#FFRuntimeError | python | 2026-08-18 | goldset/0.1 | 1 | |
didix21/mdutils | fix: Text starting with ** (bold) breaks new_list method | file | commit | fix: Text starting with ** (bold) breaks new_list method | # Python
#
# This module implements tests for Header class.
#
# This file is part of mdutils. https://github.com/didix21/mdutils
#
# MIT License: (C) 2020 Dídac Coll
import re
class MDListHelper:
def __init__(self):
self.n_tabs = 0
def _get_unordered_markdown_list(self, items, marker: str) -> str:
... | # Python
#
# This module implements tests for Header class.
#
# This file is part of mdutils. https://github.com/didix21/mdutils
#
# MIT License: (C) 2020 Dídac Coll
import re
class MDListHelper:
def __init__(self):
self.n_tabs = 0
def _get_unordered_markdown_list(self, items, marker: str) -> str:
... | tests/test_mdutils.py | [
"tests/test_mdutils.py::TestMdUtils::test_new_list_bold_items"
] | 2025-10-18 | 2025-07-10 | MIT | LICENSE.txt | ad4b720b67b96439247fa58e0d24b1fddd67f6c6 | 2a3c2fb11c5f88bb545114d03742c86be6f9dcb3 | https://github.com/didix21/mdutils/commit/ad4b720b67b96439247fa58e0d24b1fddd67f6c6 | https://github.com/didix21/mdutils | mdutils.tools.MDList | [
"MDListHelper"
] | 2 | 1 | 72d512894a14ad49 | didix21/mdutils@ad4b720b6#mdutils/tools/MDList.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
gepa-ai/gepa | Fix bug with merge overalp logic and add test case to cover correctness | file | commit | Fix bug with merge overalp logic and add test case to cover correctness | # Copyright (c) 2025 Lakshya A Agrawal and the GEPA contributors
# https://github.com/gepa-ai/gepa
import math
import random
from copy import deepcopy
from typing import Any, Callable
from gepa.core.adapter import DataInst, RolloutOutput
from gepa.core.data_loader import DataId, DataLoader
from gepa.core.state import... | # Copyright (c) 2025 Lakshya A Agrawal and the GEPA contributors
# https://github.com/gepa-ai/gepa
import math
import random
from copy import deepcopy
from typing import Any, Callable
from gepa.core.adapter import DataInst, RolloutOutput
from gepa.core.data_loader import DataId, DataLoader
from gepa.core.state import... | tests/proposer/test_merge.py | [
"tests/proposer/test_merge.py::test_merge_proposer_skips_pairs_below_overlap_floor"
] | 2025-10-15 | 2025-10-14 | MIT | LICENSE | 040ca675c7dac5f463fc3ece854f332388d83bc0 | 0189a8ed0a46dc4fe4e256eddc8f3b8a612a4ac4 | https://github.com/gepa-ai/gepa/commit/040ca675c7dac5f463fc3ece854f332388d83bc0 | https://github.com/gepa-ai/gepa | gepa.proposer.merge | [
"MergeProposer"
] | 2 | 1 | 9d2c99be9f1a7801 | gepa-ai/gepa@040ca675c#src/gepa/proposer/merge.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
more-itertools/more-itertools | product_index | Fix product_index() with iterator input | function | docstring | Equivalent to `list(product(*args)).index(element)`
The products of *args* can be ordered lexicographically.
:func:`product_index` computes the first index of *element* without
computing the previous products.
`ValueError` will be raised if the given *element* isn't in the product
of *args*. | def product_index(element, *args):
"""Equivalent to ``list(product(*args)).index(element)``
The products of *args* can be ordered lexicographically.
:func:`product_index` computes the first index of *element* without
computing the previous products.
>>> product_index([8, 2], range(10), range(5... | def product_index(element, *args):
"""Equivalent to ``list(product(*args)).index(element)``
The products of *args* can be ordered lexicographically.
:func:`product_index` computes the first index of *element* without
computing the previous products.
>>> product_index([8, 2], range(10), range(5... | tests/test_more.py | [
"tests/test_more.py::ProductIndexTests::test_iterator_input"
] | 2025-10-10 | 2025-10-09 | MIT | LICENSE | cf186b5de4797602fef76c3391da2d110b88a954 | aa8c480086052d4c2a64490d3214e67b7c6e674b | https://github.com/more-itertools/more-itertools/commit/cf186b5de4797602fef76c3391da2d110b88a954 | https://github.com/more-itertools/more-itertools | more_itertools.more | [
"product_index"
] | 3 | 1 | d56a47ac809a80e8 | more-itertools/more-itertools@cf186b5de#product_index | python | 2026-08-17 | goldset/0.1 | 1 | |
gepa-ai/gepa | fix: gepa state initialization from run_dir | file | commit | fix: gepa state initialization from run_dir | # Copyright (c) 2025 Lakshya A Agrawal and the GEPA contributors
# https://github.com/gepa-ai/gepa
import json
import os
from typing import Any, Callable, Generic
from gepa.core.adapter import RolloutOutput
from gepa.gepa_utils import idxmax, json_default
class GEPAState(Generic[RolloutOutput]):
program_candida... | # Copyright (c) 2025 Lakshya A Agrawal and the GEPA contributors
# https://github.com/gepa-ai/gepa
import json
import os
from typing import Any, Callable, Generic
from gepa.core.adapter import RolloutOutput
from gepa.gepa_utils import idxmax, json_default
class GEPAState(Generic[RolloutOutput]):
program_candida... | tests/test_state.py | [
"tests/test_state.py::test_gepa_state_save_and_initialize"
] | 2025-09-24 | 2025-09-24 | MIT | LICENSE | ba06c3bf898d66eeb7d724b0aabaf19272956a4a | ae74d6524ba97a8dd1fa467bc04b51e71e82a7af | https://github.com/gepa-ai/gepa/commit/ba06c3bf898d66eeb7d724b0aabaf19272956a4a | https://github.com/gepa-ai/gepa | gepa.core.state | [
"initialize_gepa_state"
] | 2 | 1 | ba642d9b2d9ad148 | gepa-ai/gepa@ba06c3bf8#src/gepa/core/state.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
terryyin/lizard | fix: Function nesting | file | commit | fix: Function nesting | '''
Language parser for Structured Text.
'''
import re
# import itertools
from .code_reader import CodeStateMachine, CodeReader
class StCommentsMixin(object): # pylint: disable=R0903
@staticmethod
def get_comment_from_token(token):
if token.startswith("(*") or token.startswith("//"):
re... | '''
Language parser for Structured Text.
'''
import re
# import itertools
from .code_reader import CodeStateMachine, CodeReader
class StCommentsMixin(object): # pylint: disable=R0903
@staticmethod
def get_comment_from_token(token):
if token.startswith("(*") or token.startswith("//"):
re... | test/test_languages/testSt.py | [
"test/test_languages/testSt.py::Test_st_lizard::test_nested_actions"
] | 2025-09-05 | 2025-09-05 | MIT | LICENSE.txt | 42bb5335c4931d95274ec0dff1f6aa0ddae4075a | 9bd29705f945e25c65f7a8da0f03288f0bd36444 | https://github.com/terryyin/lizard/commit/42bb5335c4931d95274ec0dff1f6aa0ddae4075a | https://github.com/terryyin/lizard | lizard_languages.st | [
"StStates"
] | 2 | 1 | e329345ab6bd4702 | terryyin/lizard@42bb5335c#lizard_languages/st.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
espressif/esp-idf-kconfig | fix: enhance error message if envvar is misused in source option | file | commit | fix: enhance error message if envvar is misused in source option | #!/usr/bin/env python
#
# Command line tool to check kconfig files
#
# SPDX-FileCopyrightText: 2018-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import argparse
import os
import re
from typing import Optional
from typing import Tuple
from .check_deprecated_options import _prepare_dep... | #!/usr/bin/env python
#
# Command line tool to check kconfig files
#
# SPDX-FileCopyrightText: 2018-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import argparse
import os
import re
from typing import Optional
from typing import Tuple
from .check_deprecated_options import _prepare_dep... | test/kconfcheck/test_kconfcheck.py | [
"test/kconfcheck/test_kconfcheck.py::TestSourceChecker::test_source_file_name"
] | 2025-09-04 | 2025-09-04 | Apache-2.0 | LICENSE | 34c0a8cb47694a3033f00ccfaeeca917b79c9ad9 | 031bafc9b49ce2ae8dfb1f88f75e5b6942b60ca2 | https://github.com/espressif/esp-idf-kconfig/commit/34c0a8cb47694a3033f00ccfaeeca917b79c9ad9 | https://github.com/espressif/esp-idf-kconfig | kconfcheck.core | [
"SourceChecker"
] | 19 | 1 | 006ed9940c7477cf | espressif/esp-idf-kconfig@34c0a8cb4#kconfcheck/core.py | python | 2026-08-18 | goldset/0.1 | 1 | ||
geographiclib/geographiclib-python | Fix bug in geodesic inverse solution for very prolate ellipsoids. | file | commit | Fix bug in geodesic inverse solution for very prolate ellipsoids. | """Define the :class:`~geographiclib.geodesic.Geodesic` class
The ellipsoid parameters are defined by the constructor. The direct and
inverse geodesic problems are solved by
* :meth:`~geographiclib.geodesic.Geodesic.Inverse` Solve the inverse
geodesic problem
* :meth:`~geographiclib.geodesic.Geodesic.Direct`... | """Define the :class:`~geographiclib.geodesic.Geodesic` class
The ellipsoid parameters are defined by the constructor. The direct and
inverse geodesic problems are solved by
* :meth:`~geographiclib.geodesic.Geodesic.Inverse` Solve the inverse
geodesic problem
* :meth:`~geographiclib.geodesic.Geodesic.Direct`... | geographiclib/test/test_geodesic.py | [
"geographiclib/test/test_geodesic.py::GeodSolveTest::test_GeodSolve100"
] | 2025-08-21 | 2025-08-21 | MIT | LICENSE | 07fde3b06fb89d749eec0f53d8b6f1fcd4b413eb | a1a9d0abb3d085bbaad0100d502129209b6ca5ca | https://github.com/geographiclib/geographiclib-python/commit/07fde3b06fb89d749eec0f53d8b6f1fcd4b413eb | https://github.com/geographiclib/geographiclib-python | geographiclib.geodesic | [
"Geodesic"
] | 2 | 1 | 1677b3ef1c86c463 | geographiclib/geographiclib-python@07fde3b06#geographiclib/geodesic.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.