MCPcopy Create free account

hub / github.com/algal/sparky / functions

Functions744 in github.com/algal/sparky

Methodtest_missing_enrollments_file
(self, tmp_path)
tests/test_speaker_id.py:87
Methodtest_missing_message
(self)
tests/test_openclaw_gateway_client.py:670
Methodtest_mixed_blocks
(self)
tests/test_openclaw_gateway_client.py:647
Methodtest_mono_16khz
(self)
tests/test_speaker_id.py:61
Methodtest_multi_frame_chunk
process_mic_chunk should handle multi-frame input.
tests/test_echo_canceller.py:214
Methodtest_multi_frame_processing
Process multiple frames at once (e.g. 50ms = 5 frames).
tests/test_webrtc_apm.py:93
Methodtest_multistep_tool_use_receives_all_steps
Multi-step tool-use turn: LLM speaks, calls tool, then speaks again. The Gateway sends two chat_final events — one per LLM step. The
tests/test_openclaw_gateway_client.py:888
Methodtest_next_delay_in_range
(self)
tests/test_spontaneous_speech.py:72
Methodtest_next_delay_minimum_floor
Even with tiny intervals, delay should never be < 60s.
tests/test_spontaneous_speech.py:83
Methodtest_next_delay_randomization
Delays should not all be the same.
tests/test_spontaneous_speech.py:93
Methodtest_next_delay_within_bounds
(self)
tests/test_spontaneous_gestures.py:97
Methodtest_no_camera_worker_returns_error
camera.snap without camera_worker should return NO_CAMERA error.
tests/test_openclaw_node_client.py:245
Methodtest_no_deltas_only_final
Edge case: no deltas at all, only final with text.
tests/test_openclaw_gateway_client.py:275
Methodtest_no_frame_returns_error
camera.snap with no frame available should return NO_FRAME error.
tests/test_openclaw_node_client.py:263
Methodtest_no_match
(self)
tests/test_wake_sleep.py:123
Methodtest_no_speaker_ref_passthrough
With no speaker reference, mic signal should pass through unchanged.
tests/test_echo_canceller.py:80
Methodtest_nod_evaluate_returns_none_antennas
Nod only moves head, not antennas.
tests/test_gentle_actions.py:60
Methodtest_non_text_blocks_skipped
(self)
tests/test_openclaw_gateway_client.py:655
Methodtest_none_config_uses_defaults
(self)
tests/test_spontaneous_speech.py:55
Methodtest_one
(self)
tests/test_thinking.py:22
Methodtest_openai_without_key_raises
(self, monkeypatch)
tests/test_direct_tts.py:101
Methodtest_passthrough_no_far_end
Without speaker reference, mic should pass through (possibly filtered).
tests/test_webrtc_apm.py:68
Methodtest_passthrough_no_far_end
(self)
tests/test_webrtc_aecm.py:36
Methodtest_passthrough_without_aec
(self)
tests/test_echo_canceller.py:278
Methodtest_pause_detection_completes_speech
Test pause detection marks speech as complete.
tests/test_vad_capture.py:155
Methodtest_pick_prompt_from_list
(self)
tests/test_spontaneous_speech.py:109
Methodtest_post_activation_timeout_reason_is_correct
When post_activation_timeout differs from pre-activation timeout, the reason code should be 'timeout_after_activation', not 'unknown'.
tests/test_vad_capture.py:492
Methodtest_pre_activation_buffer_fills
Test circular buffer fills before activation.
tests/test_vad_capture.py:117
Methodtest_prefix_with_speaker
(self)
tests/test_speaker_id.py:140
Methodtest_prefix_without_speaker
(self)
tests/test_speaker_id.py:126
Methodtest_presence_check_exception_treated_as_absent
If presence check raises, treat as not present (per run() logic).
tests/test_spontaneous_speech.py:170
Methodtest_presence_check_false
Presence check returning False should block speech.
tests/test_spontaneous_speech.py:161
Methodtest_presence_check_true
Presence check returning True should allow speech.
tests/test_spontaneous_speech.py:152
Methodtest_pretrained_model_loads
Pretrained model name should resolve and load.
tests/test_wake_sleep.py:59
Methodtest_process_silent_frame
(self)
tests/test_webrtc_apm.py:62
Methodtest_processing_none_capture_does_not_set_interruption_flag
PROCESSING + None capture should not trigger interruption by itself.
tests/test_wake_sleep.py:240
Methodtest_produces_valid_wav
(self)
tests/test_direct_tts.py:18
Methodtest_prompt_count
(self)
tests/test_spontaneous_speech.py:129
Methodtest_prompts_are_diverse
(self)
tests/test_spontaneous_speech.py:117
Methodtest_recv_pre_yield_retries_on_connection_closed
Before any yields, ConnectionClosed triggers reconnect + retry.
tests/test_openclaw_gateway_client.py:530
Methodtest_recv_retry_has_bounded_attempts
If the WS keeps dying before text is yielded, retry must give up. The recv-path retry (ConnectionClosed before _yielded_text) must ha
tests/test_openclaw_gateway_client.py:924
Methodtest_rejected_chat_send
chat.send rejection yields ERROR and stops.
tests/test_openclaw_gateway_client.py:460
Methodtest_rejected_connect_raises
(self)
tests/test_openclaw_node_client.py:142
Methodtest_rejected_connect_raises
(self)
tests/test_openclaw_gateway_client.py:158
Methodtest_remainder_passthrough
Bytes that don't fill a frame should pass through.
tests/test_echo_canceller.py:223
Methodtest_require_presence_default
(self)
tests/test_spontaneous_speech.py:40
Methodtest_require_presence_disabled
(self)
tests/test_spontaneous_speech.py:47
Methodtest_resample_44100_to_16000
(self)
tests/test_speaker_id.py:73
Methodtest_reset_clears_state
Test reset clears all internal state.
tests/test_vad_capture.py:225
Methodtest_retry_preserves_identical_tool_events
Identical tool events after retry are legitimate and must not be collapsed.
tests/test_openclaw_gateway_client.py:589
Methodtest_riva_wav_response
(self, monkeypatch)
tests/test_direct_tts.py:109
Methodtest_run_dispatches_invoke_requests
run() should dispatch node.invoke.request events.
tests/test_openclaw_node_client.py:308
Methodtest_run_id_fallback_to_idempotency_key
If ACK has no runId, fallback to idempotency key.
tests/test_openclaw_gateway_client.py:704
Methodtest_run_id_from_ack
run_id should come from ACK payload.
tests/test_openclaw_gateway_client.py:691
Methodtest_run_ignores_non_invoke_events
run() should skip non-invoke events.
tests/test_openclaw_node_client.py:335
Methodtest_run_loop_sends_when_present
Full run loop should send when presence detected.
tests/test_spontaneous_speech.py:221
Methodtest_run_loop_sends_without_presence_when_disabled
Should send even without presence when require_presence=False.
tests/test_spontaneous_speech.py:243
Methodtest_run_loop_skips_on_no_presence
Full run loop should skip sending when no presence.
tests/test_spontaneous_speech.py:184
Methodtest_samples_to_wav_creates_valid_wav
Test WAV file creation from samples.
tests/test_vad_capture.py:196
Methodtest_select_best_face_below_threshold
(self)
tests/test_face_tracking.py:32
Methodtest_select_best_face_empty
(self)
tests/test_face_tracking.py:26
Methodtest_select_best_face_picks_largest_confident
(self)
tests/test_face_tracking.py:55
Methodtest_select_best_face_single
(self)
tests/test_face_tracking.py:44
Methodtest_send_failure_does_not_crash_run
If send_message raises, the exception is caught (per run() logic).
tests/test_spontaneous_speech.py:296
Methodtest_send_message_calls_callback
_send_message should invoke the callback with the prompt.
tests/test_spontaneous_speech.py:140
Methodtest_set_head_tracking_enabled
(self)
tests/test_face_tracking.py:108
Methodtest_shake_evaluate
(self)
tests/test_gentle_actions.py:67
Methodtest_shim_loads
Verify the .so can be loaded via ctypes.
tests/test_webrtc_apm.py:35
Methodtest_short_audio_returns_unknown
(self, tmp_path)
tests/test_speaker_id.py:100
Methodtest_short_input_passthrough
Input shorter than one frame should pass through unchanged.
tests/test_echo_canceller.py:92
Methodtest_short_sleep_completes
Short sleep durations should complete normally.
tests/test_spontaneous_speech.py:357
Methodtest_silence_not_speech
(self, engine)
tests/test_stt_engine.py:50
Methodtest_silence_not_speech
(self, engine)
tests/test_stt_engine.py:93
Methodtest_simple_delta_then_final
Single delta followed by final — basic happy path.
tests/test_openclaw_gateway_client.py:215
Methodtest_skips_when_not_interactive
Gestures should be skipped when check_state returns False.
tests/test_spontaneous_gestures.py:112
Methodtest_skips_when_presence_required_and_absent
Gestures should be skipped when presence required but not detected.
tests/test_spontaneous_gestures.py:144
Methodtest_sleep_phase_no_model_goes_interactive
sleep_phase with no wake word model should transition to INTERACTIVE.
tests/test_wake_sleep.py:190
Methodtest_sleep_phase_with_model_waits_for_wake
sleep_phase with wake word model should block until wake detected.
tests/test_wake_sleep.py:211
Methodtest_sleep_respects_stop
_interruptible_sleep should exit early when stop() called.
tests/test_spontaneous_speech.py:337
Methodtest_smooth_transition_at_stage_boundary
Antenna amplitude should change smoothly across stage 2 boundary.
tests/test_thinking.py:104
Methodtest_speaker_consumed_by_processing
Speaker buffer should be consumed frame by frame.
tests/test_echo_canceller.py:194
Methodtest_stage1_antenna_bounded
Stage 1 antenna amplitude should not exceed S1 limit.
tests/test_thinking.py:68
Methodtest_stage1_has_antenna_movement
Stage 1 should have non-zero antenna values at non-zero time.
tests/test_thinking.py:60
Methodtest_stage1_no_head_movement
Stage 1 (0-2s) should have zero head rotation.
tests/test_thinking.py:49
Methodtest_stage2_has_head_movement
Stage 2 (2-5s) should have non-zero head rotation after blend.
tests/test_thinking.py:78
Methodtest_stage3_larger_antenna_than_stage1
Stage 3 should have larger antenna amplitude than stage 1.
tests/test_thinking.py:88
Methodtest_stale_events_from_wrong_run_skipped
Events with a different runId (from a previous aborted turn) should be silently skipped, not mistaken for the current turn.
tests/test_openclaw_gateway_client.py:724
Methodtest_stats
(self)
tests/test_webrtc_apm.py:85
Methodtest_stats_updated
(self)
tests/test_echo_canceller.py:136
Methodtest_stats_with_speaker_ref
(self)
tests/test_echo_canceller.py:144
Methodtest_stereo_to_mono
(self)
tests/test_speaker_id.py:68
Methodtest_stop_closes_ws
(self)
tests/test_openclaw_node_client.py:363
Methodtest_stop_flag
stop() should set the stopping flag.
tests/test_spontaneous_speech.py:272
Methodtest_stop_terminates_loop
(self)
tests/test_spontaneous_gestures.py:173
Methodtest_stops_when_no_valid_emotions
Manager exits immediately if no valid emotions found.
tests/test_spontaneous_gestures.py:189
Methodtest_stretch_duration
(self)
tests/test_gentle_actions.py:35
Methodtest_stretch_evaluate_returns_tuple
(self)
tests/test_gentle_actions.py:39
Methodtest_string_blocks
(self)
tests/test_openclaw_gateway_client.py:639
Methodtest_substring_match
(self)
tests/test_wake_sleep.py:119
Methodtest_subtle_weighted_higher_than_dramatic
Subtle gestures should be more likely than dramatic ones.
tests/test_spontaneous_gestures.py:49
← previousnext →601–700 of 744, ranked by callers