scripts/data/collect_docs.py:20: error: Incompatible types in assignment (expression has type "Callable[[Arg(list[str], 'x')], list[tuple[str, str]]]", variable has type "Callable[[Arg(list[str], 'lines')], list[tuple[str, str]]]")  [assignment]
examples/benchmarks/benchmark_rl_stdp.py:61: error: Argument "key" to "max" has incompatible type overloaded function; expected "Callable[[int], SupportsDunderLT[Any] | SupportsDunderGT[Any]]"  [arg-type]
examples/benchmarks/benchmark_rl_stdp.py:81: error: Argument "key" to "max" has incompatible type overloaded function; expected "Callable[[int], SupportsDunderLT[Any] | SupportsDunderGT[Any]]"  [arg-type]
examples/old/example_usage.py:35: error: Unexpected keyword argument "max_length" for "generate"  [call-arg]
src/sara_engine/inference.py: note: "generate" defined here
tests/test_spiking_llm_generation_api.py:61: error: Need type annotation for "first_delay" (hint: "first_delay: dict[<type>, <type>] = ...")  [var-annotated]
tests/test_spiking_llm_generation_api.py:118: error: Value of type "Any | None" is not indexable  [index]
tests/test_spiking_llm_generation_api.py:119: error: Value of type "Any | None" is not indexable  [index]
tests/test_spiking_llm_generation_api.py:120: error: Value of type "Any | None" is not indexable  [index]
tests/test_spiking_llm_generation_api.py:121: error: Value of type "Any | None" is not indexable  [index]
tests/test_spiking_llm_generation_api.py:122: error: Value of type "Any | None" is not indexable  [index]
src/sara_engine/cli.py:157: error: Invalid index type "int | float" for "dict[int, float]"; expected type "int"  [index]
src/sara_engine/cli.py:157: error: Argument 1 to "get" of "dict" has incompatible type "int | float"; expected "int"  [arg-type]
src/sara_engine/models/multimodal_pipeline.py:18: error: "to_dict" undefined in superclass  [misc]
src/sara_engine/models/multimodal_pipeline.py:78: error: "SpikingTransformerModel" has no attribute "_get_reservoir_spikes"  [attr-defined]
src/sara_engine/models/multimodal_hub.py:63: error: Need type annotation for "predictions"  [var-annotated]
src/sara_engine/learning/direct_wiring.py:107: error: Need type annotation for "co_occurrence"  [var-annotated]
src/sara_engine/learning/direct_wiring.py:109: error: Need type annotation for "unigram_counts"  [var-annotated]
src/sara_engine/learning/direct_wiring.py:138: error: Need type annotation for "serializable_synapses" (hint: "serializable_synapses: dict[<type>, <type>] = ...")  [var-annotated]
src/sara_engine/learning/direct_wiring.py:200: error: Need type annotation for "next_currents"  [var-annotated]
scripts/train/optimize_hyperparams.py:36: error: Argument 1 has incompatible type "object"; expected "SupportsLenAndGetItem[Never]"  [arg-type]
scripts/train/optimize_hyperparams.py:52: error: Argument 1 has incompatible type "object"; expected "SupportsLenAndGetItem[Never]"  [arg-type]
scripts/old/test_distilled_model.py:74: error: Invalid index type "int" for "dict[str, Any]"; expected type "str"  [index]
scripts/old/chat_distilled_model.py:71: error: Invalid index type "int" for "dict[str, Any]"; expected type "str"  [index]
scripts/eval/test_math_chat.py:54: error: Need type annotation for "refractory_counters" (hint: "refractory_counters: dict[<type>, <type>] = ...")  [var-annotated]
scripts/eval/chat_snn_lm.py:241: error: Need type annotation for "seen" (hint: "seen: dict[<type>, <type>] = ...")  [var-annotated]
scripts/eval/chat_self_organized.py:28: error: Name "model_path" is used before definition  [used-before-def]
examples/vision/demo_mnist_snn.py:80: error: "DynamicLiquidLayer" has no attribute "core"  [attr-defined]
examples/vision/demo_mnist_snn.py:177: error: No overload variant of "int" matches argument type "object"  [call-overload]
examples/vision/demo_mnist_snn.py:177: note: Possible overload variants:
examples/vision/demo_mnist_snn.py:177: note:     def int(str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc = ..., /) -> int
examples/vision/demo_mnist_snn.py:177: note:     def int(str | bytes | bytearray, /, base: SupportsIndex) -> int
examples/vision/demo_mnist_snn.py:178: error: Argument 1 to "float" has incompatible type "object"; expected "str | Buffer | SupportsFloat | SupportsIndex"  [arg-type]
examples/vision/demo_mnist_snn.py:190: error: Argument 4 to "apply_spatial_receptive_fields" has incompatible type "object"; expected "list[int]"  [arg-type]
examples/vision/demo_mnist_snn.py:196: error: No overload variant of "int" matches argument type "object"  [call-overload]
examples/vision/demo_mnist_snn.py:196: note: Possible overload variants:
examples/vision/demo_mnist_snn.py:196: note:     def int(str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc = ..., /) -> int
examples/vision/demo_mnist_snn.py:196: note:     def int(str | bytes | bytearray, /, base: SupportsIndex) -> int
examples/vision/demo_mnist_snn.py:240: error: "DynamicLiquidLayer" has no attribute "core"  [attr-defined]
examples/vision/demo_mnist_snn.py:249: error: Need type annotation for "prev_fired"  [var-annotated]
examples/vision/demo_mnist_snn.py:250: error: Need type annotation for "hidden_already_fired"  [var-annotated]
examples/vision/demo_mnist_snn.py:303: error: "DynamicLiquidLayer" has no attribute "core"  [attr-defined]
examples/multimodal/demo_multimodal_memory.py:30: error: "SaraAgent" has no attribute "perceive_image"  [attr-defined]
examples/multimodal/demo_multimodal_memory.py:40: error: "SaraAgent" has no attribute "sleep"  [attr-defined]
examples/learning/demo_stream_learning.py:105: error: Argument 1 to "generate" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/learning/demo_stream_learning.py:108: error: Argument 1 to "generate" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/integrated/integrated_vision_snn_demo.py:92: error: Need type annotation for "steps"  [var-annotated]
examples/integrated/integrated_vision_snn_demo.py:117: error: Argument "hidden_size" to "DynamicLiquidLayer" has incompatible type "object"; expected "int"  [arg-type]
examples/integrated/integrated_vision_snn_demo.py:117: error: Argument "decay" to "DynamicLiquidLayer" has incompatible type "object"; expected "float"  [arg-type]
examples/integrated/integrated_vision_snn_demo.py:118: error: Argument 4 to "apply_gabor_receptive_fields" has incompatible type "object"; expected "list[int]"  [arg-type]
examples/integrated/integrated_vision_snn_demo.py:122: error: Generator has incompatible item type "object"; expected "bool"  [misc]
examples/integrated/integrated_data_visualization_demo.py:67: error: "SpikingTransformerModel" has no attribute "_get_reservoir_spikes"  [attr-defined]
examples/edge/demo_sara_edge.py:28: error: Argument 1 to "learn_sequence" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/edge/demo_sara_edge.py:31: error: Argument 1 to "generate" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/core/demo_snn_transformer_multipath.py:45: error: Argument 1 to "learn_sequence" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/core/demo_snn_transformer_multipath.py:57: error: Argument 1 to "generate" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/core/demo_snn_transformer.py:38: error: Argument 1 to "learn_sequence" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/core/demo_snn_transformer.py:45: error: Argument 1 to "generate" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/core/demo_snn_transformer.py:49: error: Argument 1 to "generate" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/core/demo_snn_moe.py:43: error: "SpikingCorticalColumns" has no attribute "router_thresholds"  [attr-defined]
examples/core/demo_snn_moe.py:63: error: "SpikingCorticalColumns" has no attribute "router_thresholds"  [attr-defined]
examples/core/demo_advanced_snn.py:75: error: "DynamicLiquidLayer" has no attribute "core"  [attr-defined]
examples/core/demo_advanced_snn.py:235: error: "DynamicLiquidLayer" has no attribute "core"  [attr-defined]
examples/core/demo_advanced_snn.py:331: error: "DynamicLiquidLayer" has no attribute "core"  [attr-defined]
examples/benchmarks/benchmark_snn_transformer.py:47: error: Argument 1 to "learn_sequence" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/benchmarks/benchmark_snn_transformer.py:57: error: Argument 1 to "generate" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/benchmarks/benchmark_snn_transformer.py:76: error: Argument 1 to "generate" of "SpikingTransformerModel" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/benchmarks/benchmark_long_context.py:48: error: Argument 1 to "get" of "dict" has incompatible type "str | int | Any"; expected "int"  [arg-type]
examples/benchmarks/benchmark_long_context.py:48: error: Invalid index type "int" for "dict[str, Any]"; expected type "str"  [index]
examples/nlp/demo_snn_text_generation.py:44: error: Unexpected keyword argument "d_model" for "SpikingCausalLM"  [call-arg]
src/sara_engine/models/spiking_causal_lm.py:30: note: "SpikingCausalLM" defined here
examples/nlp/demo_snn_text_generation.py:44: error: Unexpected keyword argument "num_heads" for "SpikingCausalLM"  [call-arg]
examples/nlp/demo_snn_text_generation.py:58: error: Unexpected keyword argument "update_backbone" for "train_step" of "SpikingCausalLM"  [call-arg]
src/sara_engine/models/spiking_causal_lm.py:95: note: "train_step" of "SpikingCausalLM" defined here
examples/nlp/demo_snn_text_generation.py:74: error: Unexpected keyword argument "top_k" for "generate" of "SpikingCausalLM"  [call-arg]
src/sara_engine/models/spiking_causal_lm.py:147: note: "generate" of "SpikingCausalLM" defined here
examples/nlp/demo_snn_rag_persistent.py:73: error: Unexpected keyword argument "d_model" for "SpikingCausalLM"  [call-arg]
src/sara_engine/models/spiking_causal_lm.py:30: note: "SpikingCausalLM" defined here
examples/nlp/demo_snn_rag_persistent.py:78: error: Unexpected keyword argument "update_backbone" for "train_step" of "SpikingCausalLM"  [call-arg]
src/sara_engine/models/spiking_causal_lm.py:95: note: "train_step" of "SpikingCausalLM" defined here
examples/nlp/demo_predictive_lm.py:8: error: Module "sara_engine.models.spiking_causal_lm" has no attribute "SpikingCausalLMConfig"; maybe "SpikingCausalLM"?  [attr-defined]
examples/nlp/demo_predictive_lm.py:29: error: "SpikingCausalLM" has no attribute "learn_sequence"  [attr-defined]
examples/nlp/demo_predictive_lm.py:43: error: Unexpected keyword argument "max_length" for "generate" of "SpikingCausalLM"  [call-arg]
src/sara_engine/models/spiking_causal_lm.py:147: note: "generate" of "SpikingCausalLM" defined here
examples/nlp/demo_predictive_lm.py:43: error: Argument 1 to "generate" of "SpikingCausalLM" has incompatible type "str"; expected "list[int]"  [arg-type]
examples/benchmarks/integrated_rust_acceleration_benchmark.py:73: error: "DynamicLiquidLayer" has no attribute "core"  [attr-defined]
examples/benchmarks/benchmark_multimodal_hub.py:30: error: "SpikingMultimodalHub" has no attribute "associate"  [attr-defined]
examples/benchmarks/benchmark_multimodal_hub.py:31: error: "SpikingMultimodalHub" has no attribute "associate"  [attr-defined]
examples/benchmarks/benchmark_multimodal_hub.py:41: error: "SpikingMultimodalHub" has no attribute "retrieve"  [attr-defined]
examples/benchmarks/benchmark_multimodal_hub.py:55: error: "SpikingMultimodalHub" has no attribute "retrieve"  [attr-defined]
examples/benchmarks/benchmark_memory_retention.py:9: error: Module "sara_engine.models.spiking_causal_lm" has no attribute "SpikingCausalLMConfig"; maybe "SpikingCausalLM"?  [attr-defined]
examples/benchmarks/benchmark_memory_retention.py:30: error: "SpikingCausalLM" has no attribute "learn_sequence"  [attr-defined]
examples/benchmarks/benchmark_memory_retention.py:41: error: "SpikingCausalLM" has no attribute "learn_sequence"  [attr-defined]
examples/benchmarks/benchmark_memory_retention.py:45: error: "SpikingCausalLM" has no attribute "block"  [attr-defined]
examples/benchmarks/benchmark_memory_retention.py:52: error: Unexpected keyword argument "max_length" for "generate" of "SpikingCausalLM"  [call-arg]
src/sara_engine/models/spiking_causal_lm.py:147: note: "generate" of "SpikingCausalLM" defined here
Found 82 errors in 32 files (checked 267 source files)
