Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algal/sparky
/ functions
Functions
744 in github.com/algal/sparky
⨍
Functions
744
◇
Types & classes
135
↳
Endpoints
20
Method
test_capture_returns_none_without_camera
(self)
tests/test_face_tracking.py:157
Method
test_capture_speech_activation_suppressed_reason
Characterize callback-suppressed activation reason labeling.
tests/test_vad_capture.py:313
Method
test_capture_speech_read_error_reason
Characterize read-error reason labeling.
tests/test_vad_capture.py:334
Method
test_capture_speech_timeout
Test capture_speech returns None on timeout without speech.
tests/test_vad_capture.py:248
Method
test_capture_speech_timeout_after_activation_reason
Characterize timeout-after-activation reason labeling.
tests/test_vad_capture.py:292
Method
test_capture_speech_timeout_no_activation_reason
Characterize timeout-without-activation reason labeling.
tests/test_vad_capture.py:272
Method
test_capture_timeout_uses_wall_clock_not_chunk_count
Timeout should be based on elapsed wall-clock time, not nominal timeout_chunks.
tests/test_vad_capture.py:356
Method
test_case_insensitive
(self)
tests/test_wake_sleep.py:115
Method
test_clamped_above
(self)
tests/test_thinking.py:31
Method
test_clamped_below
(self)
tests/test_thinking.py:28
Method
test_clear
(self)
tests/test_webrtc_apm.py:78
Method
test_clear
(self)
tests/test_echo_canceller.py:185
Method
test_clear
(self)
tests/test_webrtc_aecm.py:42
Method
test_clips_to_range
(self)
tests/test_direct_tts.py:28
Method
test_close_after_text_raises_without_retry
After text is yielded, ConnectionClosed should propagate (no replay retry).
tests/test_openclaw_gateway_client.py:561
Method
test_compression_ratio_bounds
(self)
tests/test_stt_engine.py:142
Method
test_concurrent_feed_and_process
(self)
tests/test_webrtc_apm.py:203
Method
test_concurrent_feed_and_process
Concurrent speaker feed + mic processing shouldn't crash.
tests/test_echo_canceller.py:306
Method
test_concurrent_feed_and_process
(self)
tests/test_webrtc_aecm.py:99
Method
test_confidence_fields
Parakeet fills placeholder confidence values.
tests/test_stt_engine.py:104
Method
test_construction
(self)
tests/test_webrtc_apm.py:46
Method
test_construction
(self)
tests/test_webrtc_aecm.py:30
Method
test_construction_invalid_rate
(self)
tests/test_webrtc_apm.py:51
Method
test_constructor_stores_engine
(self)
tests/test_direct_tts.py:58
Method
test_constructor_stores_orpheus
(self)
tests/test_direct_tts.py:65
Method
test_constructor_stores_params
(self)
tests/test_face_tracking.py:13
Method
test_constructor_stores_riva
(self)
tests/test_direct_tts.py:76
Method
test_create_from_config_basic
(self)
tests/test_openclaw_gateway_client.py:776
Method
test_create_from_config_defaults
(self)
tests/test_openclaw_gateway_client.py:788
Method
test_cumulative_deltas_converted_to_incremental
Multiple cumulative deltas should yield only the new portions.
tests/test_openclaw_gateway_client.py:236
Method
test_cumulative_text_reset_after_tool
After tool use, cumulative text resets for the next LLM step.
tests/test_openclaw_gateway_client.py:336
Method
test_custom_config
(self)
tests/test_spontaneous_gestures.py:81
Method
test_custom_intervals
(self)
tests/test_spontaneous_speech.py:31
Method
test_custom_params
(self)
tests/test_echo_canceller.py:60
Method
test_custom_phrases
(self)
tests/test_wake_sleep.py:140
Method
test_default_config
(self)
tests/test_spontaneous_gestures.py:72
Method
test_default_intervals
(self)
tests/test_spontaneous_speech.py:23
Method
test_default_params
(self)
tests/test_echo_canceller.py:53
Method
test_destroy
(self)
tests/test_webrtc_apm.py:56
Method
test_dict_blocks
(self)
tests/test_openclaw_gateway_client.py:631
Method
test_disabled_by_config
When wake_word.enabled is false, wake_word_model should be None after init.
tests/test_wake_sleep.py:153
Method
test_disabled_by_env_var
DISABLE_SLEEP=1 should override config.
tests/test_wake_sleep.py:172
Method
test_echo_reduces_energy
When mic = speaker (pure echo), output energy should decrease.
tests/test_echo_canceller.py:106
Method
test_echo_reduction_is_substantial
Verify the cancellation is not just marginal — should reduce energy significantly (at least 50% = 3dB) in a pure echo scenario after
tests/test_webrtc_apm.py:161
Method
test_echo_tends_to_reduce_energy_after_warmup
Synthetic echo test: feed identical sine wave as both speaker and mic. After warmup, APM should reduce echo energy.
tests/test_webrtc_apm.py:119
Method
test_echo_tends_to_reduce_energy_after_warmup
(self)
tests/test_webrtc_aecm.py:65
Method
test_emotions_not_empty
(self)
tests/test_spontaneous_gestures.py:32
Method
test_empty_array
(self)
tests/test_direct_tts.py:38
Method
test_empty_content
(self)
tests/test_openclaw_gateway_client.py:666
Method
test_empty_final_no_tail
Final with no text should not yield a tail delta.
tests/test_openclaw_gateway_client.py:290
Method
test_empty_input_passthrough
(self)
tests/test_echo_canceller.py:87
Method
test_empty_model_name_raises
Empty model name should raise RuntimeError.
tests/test_wake_sleep.py:76
Method
test_empty_phrases_no_match
(self)
tests/test_wake_sleep.py:131
Method
test_empty_text_no_match
(self)
tests/test_wake_sleep.py:136
Method
test_empty_token_omits_auth
(self)
tests/test_openclaw_gateway_client.py:170
Method
test_enabled_by_config
When wake_word.enabled is true, model should load.
tests/test_wake_sleep.py:163
Method
test_encode_frame_produces_valid_block
(self)
tests/test_face_tracking.py:171
Method
test_encode_frame_respects_max_size
Encoded image should not exceed max_size in either dimension.
tests/test_face_tracking.py:182
Method
test_engine_attribute
(self, engine)
tests/test_stt_engine.py:55
Method
test_engine_attribute
(self, engine)
tests/test_stt_engine.py:100
Method
test_evaluate_returns_correct_shape
(self)
tests/test_thinking.py:41
Method
test_exact_match
(self)
tests/test_wake_sleep.py:111
Method
test_expected_actions_present
(self)
tests/test_gentle_actions.py:122
Method
test_fast_inference
Parakeet on GPU should transcribe 2s audio in under 500ms.
tests/test_stt_engine.py:111
Method
test_feed_pcm
(self)
tests/test_echo_canceller.py:160
Method
test_feed_wav
(self)
tests/test_echo_canceller.py:166
Method
test_feed_wav_resample
24kHz WAV should be resampled to 16kHz.
tests/test_echo_canceller.py:174
Method
test_file_path_model_loads
Explicit .onnx file path should load.
tests/test_wake_sleep.py:84
Method
test_final_tail_extraction
chat_final with text beyond last delta yields a tail CHAT_DELTA.
tests/test_openclaw_gateway_client.py:257
Method
test_final_text_matches_last_delta_no_tail
If final text == last delta text, no extra tail delta.
tests/test_openclaw_gateway_client.py:303
Method
test_flush_input_buffer_resampling_wrapper_is_noop
Flush is a no-op through ResamplingPyAudioStream (no get_read_available). ResamplingPyAudioStream intentionally does NOT expose get_read_avai
tests/test_vad_capture.py:429
Method
test_get_date
Test get_date returns current date.
tests/test_tool_handlers.py:31
Method
test_get_latest_frame_initially_none
(self)
tests/test_face_tracking.py:84
Method
test_get_read_available_proxy
(self)
tests/test_echo_canceller.py:293
Method
test_get_time
Test get_time returns current time.
tests/test_tool_handlers.py:21
Method
test_get_tool_handler_exists
Test get_tool_handler retrieves existing tools.
tests/test_tool_handlers.py:87
Method
test_get_tool_handler_not_exists
Test get_tool_handler returns None for non-existent tools.
tests/test_tool_handlers.py:95
Method
test_go_to_sleep_match
(self)
tests/test_wake_sleep.py:127
Method
test_half
(self)
tests/test_thinking.py:25
Method
test_idempotent
Calling _ensure_cuda_ld_path twice should not corrupt LD_LIBRARY_PATH.
tests/test_stt_engine.py:184
Method
test_idempotent_connect
(self)
tests/test_openclaw_node_client.py:154
Method
test_idempotent_connect
(self)
tests/test_openclaw_gateway_client.py:184
Method
test_infinite_duration
(self)
tests/test_thinking.py:37
Method
test_initial_offsets_are_zero
(self)
tests/test_face_tracking.py:76
Method
test_initial_state
(self)
tests/test_echo_canceller.py:66
Method
test_inject_failure
chat.inject returns False on error response.
tests/test_openclaw_gateway_client.py:837
Method
test_inject_skips_unrelated_frames
chat.inject must skip unrelated frames (health ticks, etc.) and find its ACK.
tests/test_openclaw_gateway_client.py:855
Method
test_inject_success
chat.inject returns True on ok response.
tests/test_openclaw_gateway_client.py:811
Method
test_inject_without_label
chat.inject omits label when not provided.
tests/test_openclaw_gateway_client.py:827
Method
test_inject_wrong_response_id_returns_false
chat.inject must not accept a response for a different request id.
tests/test_openclaw_gateway_client.py:846
Method
test_interruptible_sleep_minimum_chunk
Sleep should use small chunks for responsive stopping.
tests/test_spontaneous_speech.py:369
Method
test_invalid_model_raises
Nonexistent model name should raise RuntimeError.
tests/test_wake_sleep.py:68
Method
test_known_emotions_present
(self)
tests/test_spontaneous_gestures.py:43
Method
test_last_speech_time_initially_zero
(self)
tests/test_spontaneous_speech.py:322
Method
test_lifecycle_end_does_not_terminate
lifecycle:end is informational — must NOT terminate the stream.
tests/test_openclaw_gateway_client.py:397
Method
test_lifecycle_then_close_pre_text_retries_and_dedupes
If close happens before any text, retry should recover without duplicate lifecycle.
tests/test_openclaw_gateway_client.py:492
Method
test_load_enrollments
(self, tmp_path)
tests/test_speaker_id.py:94
Method
test_look_around_left
(self)
tests/test_gentle_actions.py:73
Method
test_look_around_right
(self)
tests/test_gentle_actions.py:79
Method
test_min_text_length
(self)
tests/test_stt_engine.py:129
← previous
next →
501–600 of 744, ranked by callers