repo_id
stringclasses
400 values
commit_sha
stringclasses
400 values
commit_index
int32
0
951
in_repo_split
stringclasses
1 value
cross_repo_split
stringclasses
1 value
test_file
stringlengths
7
121
test_function
stringlengths
1
108
assertion_type
stringclasses
32 values
difficulty
stringclasses
8 values
context_lines
int32
3
600
prefix
large_stringlengths
44
113k
target
large_stringlengths
1
498
anchor_sha
stringclasses
400 values
anchor_index
int32
0
951
qna_source
stringclasses
1 value
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_recorder.py
no_test_sysvar_entity_un_recorded
assert
string_literal
127
from __future__ import annotations import pytest from pytest_homeassistant_custom_component.components.recorder.common import async_wait_recording_done from aiohomematic.const import DeviceFirmwareState, EventKey from custom_components.homematicip_local.const import EVENT_MODEL from custom_components.homematicip_loca...
"sv_logic"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_recorder.py
no_test_event_entity_un_recorded
assert
variable
47
from __future__ import annotations import pytest from pytest_homeassistant_custom_component.components.recorder.common import async_wait_recording_done from aiohomematic.const import DeviceFirmwareState, EventKey from custom_components.homematicip_local.const import EVENT_MODEL from custom_components.homematicip_loca...
STATE_UNKNOWN
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_recorder.py
no_test_generic_entity_un_recorded
assert
string_literal
88
from __future__ import annotations import pytest from pytest_homeassistant_custom_component.components.recorder.common import async_wait_recording_done from aiohomematic.const import DeviceFirmwareState, EventKey from custom_components.homematicip_local.const import EVENT_MODEL from custom_components.homematicip_loca...
"HmIP-SWDO-I"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_recorder.py
no_test_event_entity_un_recorded
assert
string_literal
48
from __future__ import annotations import pytest from pytest_homeassistant_custom_component.components.recorder.common import async_wait_recording_done from aiohomematic.const import DeviceFirmwareState, EventKey from custom_components.homematicip_local.const import EVENT_MODEL from custom_components.homematicip_loca...
"VCU2128127:1"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_recorder.py
no_test_event_entity_un_recorded
assert
complex_expr
65
from __future__ import annotations import pytest from pytest_homeassistant_custom_component.components.recorder.common import async_wait_recording_done from aiohomematic.const import DeviceFirmwareState, EventKey from custom_components.homematicip_local.const import EVENT_MODEL from custom_components.homematicip_loca...
state.attributes
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_recorder.py
no_test_update_entity_un_recorded
assert
complex_expr
160
from __future__ import annotations import pytest from pytest_homeassistant_custom_component.components.recorder.common import async_wait_recording_done from aiohomematic.const import DeviceFirmwareState, EventKey from custom_components.homematicip_local.const import EVENT_MODEL from custom_components.homematicip_loca...
DeviceFirmwareState.UP_TO_DATE
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_repairs.py
test_async_create_fix_flow_and_confirm_with_callback
assert
string_literal
26
from __future__ import annotations from unittest.mock import AsyncMock, patch import pytest from custom_components.homematicip_local import repairs as hm_repairs class TestRepairsFlow: @pytest.mark.asyncio async def test_async_create_fix_flow_and_confirm_with_callback(self, hass) -> None: """It sho...
"form"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_repairs.py
test_async_create_fix_flow_and_confirm_with_callback
assert
string_literal
29
from __future__ import annotations from unittest.mock import AsyncMock, patch import pytest from custom_components.homematicip_local import repairs as hm_repairs class TestRepairsFlow: @pytest.mark.asyncio async def test_async_create_fix_flow_and_confirm_with_callback(self, hass) -> None: """It sho...
"intf123"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_repairs.py
test_async_create_fix_flow_and_confirm_with_callback
assert
string_literal
30
from __future__ import annotations from unittest.mock import AsyncMock, patch import pytest from custom_components.homematicip_local import repairs as hm_repairs class TestRepairsFlow: @pytest.mark.asyncio async def test_async_create_fix_flow_and_confirm_with_callback(self, hass) -> None: """It sho...
"ABC0001"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_repairs.py
test_async_create_fix_flow_and_confirm_with_callback
assert
string_literal
27
from __future__ import annotations from unittest.mock import AsyncMock, patch import pytest from custom_components.homematicip_local import repairs as hm_repairs class TestRepairsFlow: @pytest.mark.asyncio async def test_async_create_fix_flow_and_confirm_with_callback(self, hass) -> None: """It sho...
"set_name"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_repairs.py
test_async_create_fix_flow_and_confirm_with_callback
assert
string_literal
38
from __future__ import annotations from unittest.mock import AsyncMock, patch import pytest from custom_components.homematicip_local import repairs as hm_repairs class TestRepairsFlow: @pytest.mark.asyncio async def test_async_create_fix_flow_and_confirm_with_callback(self, hass) -> None: """It sho...
"create_entry"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_sensor.py
test_sensor_to_trans
assert
string_literal
34
from __future__ import annotations import pytest from homeassistant.const import STATE_UNKNOWN from tests import const, helper from tests.helper import Factory TEST_DEVICES: dict[str, str] = { "VCU7837366": "HB-UNI-Sensor1.json", } class TestSensor: @pytest.mark.asyncio async def test_sensor_to_trans(...
"1.0"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_sensor.py
test_sensor_to_trans
assert
string_literal
41
from __future__ import annotations import pytest from homeassistant.const import STATE_UNKNOWN from tests import const, helper from tests.helper import Factory TEST_DEVICES: dict[str, str] = { "VCU7837366": "HB-UNI-Sensor1.json", } class TestSensor: @pytest.mark.asyncio async def test_sensor_to_trans(...
"0.0"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_sensor.py
test_sensor_to_trans
assert
variable
27
from __future__ import annotations import pytest from homeassistant.const import STATE_UNKNOWN from tests import const, helper from tests.helper import Factory TEST_DEVICES: dict[str, str] = { "VCU7837366": "HB-UNI-Sensor1.json", } class TestSensor: @pytest.mark.asyncio async def test_sensor_to_trans(...
STATE_UNKNOWN
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services.py
test_registers_and_dispatches_all
assert
numeric_literal
140
from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from unittest.mock import AsyncMock import pytest import custom_components.homematicip_local.services as hm_services from homeassistant.core import HomeAssistant class TestAsyncSetupServi...
123
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services.py
test_registers_and_dispatches_all
assert
collection
112
from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from unittest.mock import AsyncMock import pytest import custom_components.homematicip_local.services as hm_services from homeassistant.core import HomeAssistant class TestAsyncSetupServi...
["peer"]
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services.py
test_registers_and_dispatches_all
assert
collection
129
from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from unittest.mock import AsyncMock import pytest import custom_components.homematicip_local.services as hm_services from homeassistant.core import HomeAssistant class TestAsyncSetupServi...
{"p": 1}
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services.py
test_removes_all_when_no_entries
assert
func_call
33
from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from unittest.mock import AsyncMock import pytest import custom_components.homematicip_local.services as hm_services from homeassistant.core import HomeAssistant class TestAsyncUnloadServ...
len(list(hm_services.HmipLocalServices))
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_create_ccu_backup_success
assert
numeric_literal
86
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
14
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_get_device_value_none
assert
none_literal
81
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
None
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_create_ccu_backup_success
assert
bool_literal
84
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
True
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_get_link_paramset_success
assert
collection
80
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
{"PARAM1": 1}
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_get_device_value_success
assert
collection
81
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
{"result": 42}
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_get_hm_device_by_service_data_by_channel_address
assert
variable
77
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
mock_hm_device
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_create_ccu_backup_success
assert
string_literal
85
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
"test_backup.sbk"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_get_control_unit_success
assert
variable
72
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
mock_control_unit
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_services_handlers.py
test_add_link_exception
pytest.raises
variable
79
from __future__ import annotations from pathlib import Path from typing import Any from unittest.mock import AsyncMock, Mock, patch import pytest from aiohomematic.const import ForcedDeviceAvailability, ParamsetKey from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.co...
HomeAssistantError)
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_smoke.py
test_domain_constant
assert
string_literal
10
from __future__ import annotations from custom_components.homematicip_local.const import DOMAIN class TestSmokeTests: def test_domain_constant(self) -> None: """Ensure the integration exposes the expected DOMAIN string.""" assert DOMAIN ==
"homematicip_local"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_transforms_and_removes
assert
numeric_literal
29
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
2
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_transforms_and_removes
assert
numeric_literal
34
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
1
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_passthrough
assert
variable
22
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
obj
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_true_and_false
assert
bool_literal
22
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
True
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_parses_manifest
assert
none_literal
45
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
None
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_true_and_false
assert
bool_literal
23
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
False
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_transforms_and_removes
assert
variable
31
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
cleaned
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_parses_manifest
assert
string_literal
41
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
"2025.10.5"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_transforms_and_removes
assert
string_literal
28
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
"short_press"
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_support.py
test_parses
assert
collection
26
from __future__ import annotations from types import SimpleNamespace import voluptuous as vol from aiohomematic.const import IDENTIFIER_SEPARATOR, EventKey from custom_components.homematicip_local.support import ( cleanup_click_event_data, get_aiohomematic_version, get_data_point, get_device_address_...
("INTF", "ADDRESS")
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_switch.py
test_switch
assert
numeric_literal
41
from __future__ import annotations import asyncio from typing import cast import pytest from aiohomematic.model.hub import SysvarDpSwitch from homeassistant.const import STATE_OFF, STATE_ON from tests import const, helper from tests.helper import Factory TEST_DEVICES: dict[str, str] = { "VCU2128127": "HmIP-BSM...
0
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_switch.py
test_switch
assert
numeric_literal
43
from __future__ import annotations import asyncio from typing import cast import pytest from aiohomematic.model.hub import SysvarDpSwitch from homeassistant.const import STATE_OFF, STATE_ON from tests import const, helper from tests.helper import Factory TEST_DEVICES: dict[str, str] = { "VCU2128127": "HmIP-BSM...
1
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_switch.py
test_hmsysvarswitch
assert
numeric_literal
42
from __future__ import annotations import asyncio from typing import cast import pytest from aiohomematic.model.hub import SysvarDpSwitch from homeassistant.const import STATE_OFF, STATE_ON from tests import const, helper from tests.helper import Factory TEST_DEVICES: dict[str, str] = { "VCU2128127": "HmIP-BSM...
2
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_switch.py
test_switch
assert
variable
40
from __future__ import annotations import asyncio from typing import cast import pytest from aiohomematic.model.hub import SysvarDpSwitch from homeassistant.const import STATE_OFF, STATE_ON from tests import const, helper from tests.helper import Factory TEST_DEVICES: dict[str, str] = { "VCU2128127": "HmIP-BSM...
STATE_ON
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_switch.py
test_hmsysvarswitch
assert
variable
32
from __future__ import annotations import asyncio from typing import cast import pytest from aiohomematic.model.hub import SysvarDpSwitch from homeassistant.const import STATE_OFF, STATE_ON from tests import const, helper from tests.helper import Factory TEST_DEVICES: dict[str, str] = { "VCU2128127": "HmIP-BSM...
STATE_OFF
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_update.py
test_async_added_to_hass
assert
numeric_literal
130
from __future__ import annotations from pathlib import Path from unittest.mock import AsyncMock, MagicMock, Mock, patch import pytest from aiohomematic.const import CCUType from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.update import ( ATTR_FIRMWARE_UPDATE_STA...
2
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_update.py
test_async_setup_entry_hub_update_callback
assert
numeric_literal
174
from __future__ import annotations from pathlib import Path from unittest.mock import AsyncMock, MagicMock, Mock, patch import pytest from aiohomematic.const import CCUType from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.update import ( ATTR_FIRMWARE_UPDATE_STA...
1
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_update.py
test_async_setup_entry_hub_update_callback_empty
assert
numeric_literal
159
from __future__ import annotations from pathlib import Path from unittest.mock import AsyncMock, MagicMock, Mock, patch import pytest from aiohomematic.const import CCUType from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.update import ( ATTR_FIRMWARE_UPDATE_STA...
0
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_update.py
test_init
assert
collection
141
from __future__ import annotations from pathlib import Path from unittest.mock import AsyncMock, MagicMock, Mock, patch import pytest from aiohomematic.const import CCUType from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.update import ( ATTR_FIRMWARE_UPDATE_STA...
[]
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_update.py
test_available_true
assert
bool_literal
127
from __future__ import annotations from pathlib import Path from unittest.mock import AsyncMock, MagicMock, Mock, patch import pytest from aiohomematic.const import CCUType from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.update import ( ATTR_FIRMWARE_UPDATE_STA...
True
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_update.py
test_in_progress_none
assert
none_literal
127
from __future__ import annotations from pathlib import Path from unittest.mock import AsyncMock, MagicMock, Mock, patch import pytest from aiohomematic.const import CCUType from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.update import ( ATTR_FIRMWARE_UPDATE_STA...
None
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SukramJ/homematicip_local
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
train
train
tests/test_update.py
test_available_false
assert
bool_literal
127
from __future__ import annotations from pathlib import Path from unittest.mock import AsyncMock, MagicMock, Mock, patch import pytest from aiohomematic.const import CCUType from aiohomematic.exceptions import BaseHomematicException from custom_components.homematicip_local.update import ( ATTR_FIRMWARE_UPDATE_STA...
False
fd7a8e7b59fd39e5b6b79acb3a318de9e5a70f6f
109
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/integration/test_pytest_plugin.py
test_all_fixtures_work_together
assert
numeric_literal
48
import pytest class TestPytestPluginIntegration: def test_all_fixtures_work_together( self, confidence_checker, self_check_protocol, reflexion_pattern, token_budget ): """ Test that all PM Agent fixtures can be used together This simulates a complete PM Agent workflow ...
0
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/integration/test_pytest_plugin.py
test_all_fixtures_work_together
assert
numeric_literal
25
import pytest class TestPytestPluginIntegration: def test_all_fixtures_work_together( self, confidence_checker, self_check_protocol, reflexion_pattern, token_budget ): """ Test that all PM Agent fixtures can be used together This simulates a complete PM Agent workflow ...
0.9
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/integration/test_pytest_plugin.py
test_confidence_checker_fixture_available
assert
none_literal
8
import pytest class TestPytestPluginIntegration: def test_confidence_checker_fixture_available(self, confidence_checker): """Test that confidence_checker fixture is available""" assert confidence_checker is not
None
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/integration/test_pytest_plugin.py
test_all_fixtures_work_together
assert
bool_literal
45
import pytest class TestPytestPluginIntegration: def test_all_fixtures_work_together( self, confidence_checker, self_check_protocol, reflexion_pattern, token_budget ): """ Test that all PM Agent fixtures can be used together This simulates a complete PM Agent workflow ...
True
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/integration/test_pytest_plugin.py
test_pm_context_fixture_available
assert
variable
9
import pytest class TestPytestPluginIntegration: def test_pm_context_fixture_available(self, pm_context): """Test that pm_context fixture is available""" assert pm_context is not None assert "memory_dir" in
pm_context
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_cli_install.py
test_cli_integration
assert
numeric_literal
23
import pytest from pathlib import Path from superclaude.cli.install_commands import ( install_commands, list_available_commands, list_installed_commands, ) def test_cli_integration(): """ Integration test: verify CLI can import and use install functions This tests that the CLI main.py can succ...
0
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_cli_install.py
test_research_command_exists
assert
numeric_literal
23
import pytest from pathlib import Path from superclaude.cli.install_commands import ( install_commands, list_available_commands, list_installed_commands, ) class TestInstallCommands: def test_research_command_exists(self, tmp_path): """Test that research command specifically gets installed""" ...
100
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_cli_install.py
test_install_commands_to_temp_dir
assert
bool_literal
18
import pytest from pathlib import Path from superclaude.cli.install_commands import ( install_commands, list_available_commands, list_installed_commands, ) class TestInstallCommands: def test_install_commands_to_temp_dir(self, tmp_path): """Test installing commands to a temporary directory""" ...
True
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_cli_install.py
test_install_commands_to_temp_dir
assert
variable
19
import pytest from pathlib import Path from superclaude.cli.install_commands import ( install_commands, list_available_commands, list_installed_commands, ) class TestInstallCommands: def test_install_commands_to_temp_dir(self, tmp_path): """Test installing commands to a temporary directory""" ...
message
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_cli_install.py
test_list_available_commands
assert
variable
18
import pytest from pathlib import Path from superclaude.cli.install_commands import ( install_commands, list_available_commands, list_installed_commands, ) class TestInstallCommands: def test_list_available_commands(self): """Test listing available commands""" commands = list_available...
commands
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_cli_install.py
test_install_commands_skip_existing
assert
variable
23
import pytest from pathlib import Path from superclaude.cli.install_commands import ( install_commands, list_available_commands, list_installed_commands, ) class TestInstallCommands: def test_install_commands_skip_existing(self, tmp_path): """Test that existing commands are skipped without --f...
message2
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_cli_install.py
test_install_commands_force_reinstall
assert
string_literal
23
import pytest from pathlib import Path from superclaude.cli.install_commands import ( install_commands, list_available_commands, list_installed_commands, ) class TestInstallCommands: def test_install_commands_force_reinstall(self, tmp_path): """Test force reinstall of existing commands""" ...
"modified"
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_confidence_checks_recorded
assert
numeric_literal
14
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_confidence_checks_recorded(self, sample_context): """Test that confidence checks are recorded in context""" checker = ConfidenceChecker() checker.assess(sample_context) ...
5
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_confidence_check_marker_integration
assert
numeric_literal
23
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker @pytest.mark.confidence_check def test_confidence_check_marker_integration(confidence_checker): """ Test that confidence_check marker works with pytest plugin fixture This test should skip if confidence < 70% """ context =...
0.7
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_high_confidence_scenario
assert
numeric_literal
22
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_high_confidence_scenario(self, sample_context): """ Test that a well-prepared context returns high confidence (≥90%) All checks pass: - No duplicates (25%) - A...
0.9
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_high_confidence_scenario
assert
numeric_literal
23
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_high_confidence_scenario(self, sample_context): """ Test that a well-prepared context returns high confidence (≥90%) All checks pass: - No duplicates (25%) - A...
1.0
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_low_confidence_scenario
assert
numeric_literal
17
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_low_confidence_scenario(self, low_confidence_context): """ Test that an unprepared context returns low confidence (<70%) No checks pass: 0% """ checker = Confi...
0.0
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_has_official_docs_with_flag
assert
bool_literal
14
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_has_official_docs_with_flag(self): """Test official docs check with direct flag""" checker = ConfidenceChecker() context = {"official_docs_verified": True} result = ch...
True
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_no_duplicates_check
assert
bool_literal
17
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_no_duplicates_check(self): """Test duplicate check validation""" checker = ConfidenceChecker() # With flag context_pass = {"duplicate_check_complete": True} as...
False
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_medium_confidence_scenario
assert
variable
25
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_medium_confidence_scenario(self): """ Test medium confidence scenario (70-89%) Some checks pass, some don't """ checker = ConfidenceChecker() context =...
confidence
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_confidence_checks_recorded
assert
variable
12
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_confidence_checks_recorded(self, sample_context): """Test that confidence checks are recorded in context""" checker = ConfidenceChecker() checker.assess(sample_context) ...
sample_context
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_confidence.py
test_get_recommendation_high
assert
variable
12
import pytest from superclaude.pm_agent.confidence import ConfidenceChecker class TestConfidenceChecker: def test_get_recommendation_high(self): """Test recommendation for high confidence""" checker = ConfidenceChecker() recommendation = checker.get_recommendation(0.95) assert "H...
recommendation
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_reflexion.py
test_reflexion_marker_integration
assert
none_literal
13
import pytest from superclaude.pm_agent.reflexion import ReflexionPattern @pytest.mark.reflexion def test_reflexion_marker_integration(reflexion_pattern): """ Test that reflexion marker works with pytest plugin fixture If this test fails, reflexion should record the failure """ # Test that fixture...
None
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_self_check.py
test_self_check_marker_integration
assert
numeric_literal
15
import pytest from superclaude.pm_agent.self_check import SelfCheckProtocol @pytest.mark.self_check def test_self_check_marker_integration(self_check_protocol, sample_implementation): """ Test that self_check marker works with pytest plugin fixture This test validates the fixture provided by pytest plugin...
0
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_self_check.py
test_check_requirements_met
assert
numeric_literal
25
import pytest from superclaude.pm_agent.self_check import SelfCheckProtocol class TestSelfCheckProtocol: def test_check_requirements_met(self): """Test requirements validation""" protocol = SelfCheckProtocol() # All requirements met impl_complete = { "requirements": ["...
1
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_self_check.py
test_check_evidence_exists
assert
numeric_literal
25
import pytest from superclaude.pm_agent.self_check import SelfCheckProtocol class TestSelfCheckProtocol: def test_check_evidence_exists(self): """Test evidence requirement validation""" protocol = SelfCheckProtocol() # All evidence present impl_with_evidence = { "evide...
3
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_self_check.py
test_self_check_marker_integration
assert
bool_literal
14
import pytest from superclaude.pm_agent.self_check import SelfCheckProtocol @pytest.mark.self_check def test_self_check_marker_integration(self_check_protocol, sample_implementation): """ Test that self_check marker works with pytest plugin fixture This test validates the fixture provided by pytest plugin...
True
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_self_check.py
test_validate_failing_implementation
assert
bool_literal
16
import pytest from superclaude.pm_agent.self_check import SelfCheckProtocol class TestSelfCheckProtocol: def test_validate_failing_implementation(self, failing_implementation): """ Test validation of a failing implementation Should fail multiple checks """ protocol = SelfC...
False
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_self_check.py
test_check_requirements_met
assert
variable
26
import pytest from superclaude.pm_agent.self_check import SelfCheckProtocol class TestSelfCheckProtocol: def test_check_requirements_met(self): """Test requirements validation""" protocol = SelfCheckProtocol() # All requirements met impl_complete = { "requirements": ["...
unmet
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_token_budget.py
test_token_usage_tracking
assert
numeric_literal
13
import pytest from superclaude.pm_agent.token_budget import TokenBudgetManager class TestTokenBudgetManager: def test_token_usage_tracking(self): """Test token usage tracking if implemented""" manager = TokenBudgetManager(complexity="simple") # Check if usage tracking is available ...
0
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_token_budget.py
test_complexity_marker_simple
assert
numeric_literal
12
import pytest from superclaude.pm_agent.token_budget import TokenBudgetManager @pytest.mark.complexity("simple") def test_complexity_marker_simple(token_budget): """ Test that complexity marker works with pytest plugin fixture This test should have a simple (200 token) budget """ assert token_bud...
200
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_token_budget.py
test_complexity_marker_medium
assert
numeric_literal
12
import pytest from superclaude.pm_agent.token_budget import TokenBudgetManager @pytest.mark.complexity("medium") def test_complexity_marker_medium(token_budget): """ Test that complexity marker works with medium budget This test should have a medium (1000 token) budget """ assert token_budget.lim...
1000
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_token_budget.py
test_complexity_marker_complex
assert
numeric_literal
12
import pytest from superclaude.pm_agent.token_budget import TokenBudgetManager @pytest.mark.complexity("complex") def test_complexity_marker_complex(token_budget): """ Test that complexity marker works with complex budget This test should have a complex (2500 token) budget """ assert token_budget...
2500
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_token_budget.py
test_complexity_marker_simple
assert
string_literal
13
import pytest from superclaude.pm_agent.token_budget import TokenBudgetManager @pytest.mark.complexity("simple") def test_complexity_marker_simple(token_budget): """ Test that complexity marker works with pytest plugin fixture This test should have a simple (200 token) budget """ assert token_budg...
"simple"
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
SuperClaude-Org/SuperClaude_Framework
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
train
train
tests/unit/test_token_budget.py
test_complexity_marker_medium
assert
string_literal
13
import pytest from superclaude.pm_agent.token_budget import TokenBudgetManager @pytest.mark.complexity("medium") def test_complexity_marker_medium(token_budget): """ Test that complexity marker works with medium budget This test should have a medium (1000 token) budget """ assert token_budget.limi...
"medium"
8c0559ca9a99a14c7337b48e888959b47dc8acb8
4
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/integration_tests/ralph/test_ralph_real_world.py
test_real_edit_file_multiple_replacements
assert
numeric_literal
192
import os import shutil import subprocess import tempfile from pathlib import Path from datetime import datetime from typing import Dict, List import pytest from upsonic.ralph.config import RalphConfig from upsonic.ralph.state.models import RalphState from upsonic.ralph.state.manager import StateManager from upsonic....
4
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/integration_tests/ralph/test_ralph_real_world.py
test_real_fix_plan_task_workflow
assert
numeric_literal
198
import os import shutil import subprocess import tempfile from pathlib import Path from datetime import datetime from typing import Dict, List import pytest from upsonic.ralph.config import RalphConfig from upsonic.ralph.state.models import RalphState from upsonic.ralph.state.manager import StateManager from upsonic....
5
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/integration_tests/ralph/test_ralph_real_world.py
test_real_build_command_success
assert
numeric_literal
195
import os import shutil import subprocess import tempfile from pathlib import Path from datetime import datetime from typing import Dict, List import pytest from upsonic.ralph.config import RalphConfig from upsonic.ralph.state.models import RalphState from upsonic.ralph.state.manager import StateManager from upsonic....
0
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/integration_tests/ralph/test_ralph_real_world.py
test_real_all_validations_pass
assert
numeric_literal
197
import os import shutil import subprocess import tempfile from pathlib import Path from datetime import datetime from typing import Dict, List import pytest from upsonic.ralph.config import RalphConfig from upsonic.ralph.state.models import RalphState from upsonic.ralph.state.manager import StateManager from upsonic....
3
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/integration_tests/ralph/test_ralph_real_world.py
test_real_validation_stops_on_first_failure
assert
numeric_literal
204
import os import shutil import subprocess import tempfile from pathlib import Path from datetime import datetime from typing import Dict, List import pytest from upsonic.ralph.config import RalphConfig from upsonic.ralph.state.models import RalphState from upsonic.ralph.state.manager import StateManager from upsonic....
2
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/comprehensive_event_streaming_example.py
test_cache_events
assert
numeric_literal
127
import asyncio import os import pytest from typing import Dict, List, Set from upsonic import Agent, Task from upsonic.tools import tool from upsonic.storage import InMemoryStorage, Memory from upsonic.run.events.events import ( # Pipeline events PipelineStartEvent, PipelineEndEvent, # Step event...
1
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_agent_run_output.py
test_basic_creation
assert
numeric_literal
44
import pytest from typing import List, Dict, Any, Optional from time import sleep from upsonic.run.agent.output import AgentRunOutput from upsonic.run.base import RunStatus from upsonic.run.agent.input import AgentRunInput from upsonic.tasks.tasks import Task from upsonic.messages.messages import ModelMessage, ModelRe...
0
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_agent_run_output.py
test_active_requirements_property
assert
numeric_literal
40
import pytest from typing import List, Dict, Any, Optional from time import sleep from upsonic.run.agent.output import AgentRunOutput from upsonic.run.base import RunStatus from upsonic.run.agent.input import AgentRunInput from upsonic.tasks.tasks import Task from upsonic.messages.messages import ModelMessage, ModelRe...
1
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_agent_run_output.py
test_start_new_run
assert
numeric_literal
35
import pytest from typing import List, Dict, Any, Optional from time import sleep from upsonic.run.agent.output import AgentRunOutput from upsonic.run.base import RunStatus from upsonic.run.agent.input import AgentRunInput from upsonic.tasks.tasks import Task from upsonic.messages.messages import ModelMessage, ModelRe...
2
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_agent_run_output.py
test_start_new_run
assert
numeric_literal
45
import pytest from typing import List, Dict, Any, Optional from time import sleep from upsonic.run.agent.output import AgentRunOutput from upsonic.run.base import RunStatus from upsonic.run.agent.input import AgentRunInput from upsonic.tasks.tasks import Task from upsonic.messages.messages import ModelMessage, ModelRe...
3
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_agent_run_output.py
test_usage_tracking
assert
numeric_literal
42
import pytest from typing import List, Dict, Any, Optional from time import sleep from upsonic.run.agent.output import AgentRunOutput from upsonic.run.base import RunStatus from upsonic.run.agent.input import AgentRunInput from upsonic.tasks.tasks import Task from upsonic.messages.messages import ModelMessage, ModelRe...
5
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_agent_streaming.py
test_agent_stream_async
assert
numeric_literal
30
import pytest from io import StringIO from contextlib import redirect_stdout from upsonic import Agent, Task pytestmark = pytest.mark.timeout(120) @pytest.mark.asyncio async def test_agent_stream_async(): """Test Agent streaming with astream method.""" agent = Agent(model="openai/gpt-4o", name="Streaming Age...
0
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_reflection.py
test_reflection_config_attributes
assert
numeric_literal
31
import pytest from upsonic import Agent, Task from upsonic.reflection import ReflectionConfig from io import StringIO from contextlib import redirect_stdout pytestmark = pytest.mark.timeout(120) @pytest.mark.asyncio async def test_reflection_config_attributes(): """Test that reflection config attributes are prope...
5
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_reflection.py
test_reflection_without_config
assert
numeric_literal
27
import pytest from upsonic import Agent, Task from upsonic.reflection import ReflectionConfig from io import StringIO from contextlib import redirect_stdout pytestmark = pytest.mark.timeout(120) @pytest.mark.asyncio async def test_reflection_without_config(): """Test reflection with default config (no explicit co...
3
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor
Upsonic/Upsonic
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
train
train
tests/smoke_tests/agent/test_stream_events.py
test_basic_text_streaming
assert
numeric_literal
137
import asyncio import os import pytest from typing import List, Dict, Any from upsonic import Agent, Task from upsonic.tools import tool from upsonic.run.events.events import ( # Base AgentEvent, # Pipeline events PipelineStartEvent, PipelineEndEvent, # Step events StepStartEvent...
0
01d5121af8dd9ce6572ed0d006bcdcda0a176a20
45
v2_extractor_at_anchor