TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
266 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/test_configs.py | 37 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_configs.py | 39 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_configs.py | 99 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_configs.py | 101 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_configs.py | 131 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_configs.py | 133 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_configs.py | 180 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_configs.py | 182 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_utils.py | 35 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_utils.py | 37 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_utils.py | 181 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_utils.py | 183 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_utils.py | 304 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_utils.py | 306 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_base_utils.py | 32 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_base_utils.py | 34 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_base_utils.py | 94 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_base_utils.py | 96 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_layers.py | 32 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_layers.py | 34 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_layers.py | 145 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_layers.py | 147 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_layers.py | 202 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_torch_layers.py | 204 | # --------------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 45 | # --------------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 47 | # --------------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 93 | # --------------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 95 | # --------------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 167 | # --------------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 169 | # --------------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 192 | # ----------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 194 | # ----------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 294 | # ----------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 296 | # ----------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 386 | # --------------------------------------------------------------------------- |
| MEDIUM | …casting/examples/anomaly-detection/detect_anomalies.py | 388 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 52 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 54 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 139 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 141 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 183 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 185 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 194 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 196 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 206 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 208 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 219 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 221 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 237 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 239 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 247 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 249 | # ------------------------------------------------------------------ |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 313 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 315 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 399 | # --------------------------------------------------------------------------- |
| MEDIUM | …mesfm-forecasting/examples/finetuning/finetune_lora.py | 401 | # --------------------------------------------------------------------------- |
| MEDIUM | timesfm-forecasting/scripts/check_system.py | 31 | # --------------------------------------------------------------------------- |
| MEDIUM | timesfm-forecasting/scripts/check_system.py | 33 | # --------------------------------------------------------------------------- |
| MEDIUM | timesfm-forecasting/scripts/check_system.py | 69 | # --------------------------------------------------------------------------- |
| MEDIUM | timesfm-forecasting/scripts/check_system.py | 71 | # --------------------------------------------------------------------------- |
| 6 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …recasting/examples/global-temperature/generate_html.py | 403 | ...Array(nActual).fill(null), |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 411 | dataUsed.push(step.historical_values[i]); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 413 | dataUsed.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 413 | dataUsed.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 427 | if (forecastIdx >= 0 && forecastIdx < nForecast) {{ |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 428 | q90Lower.push(step.q10[forecastIdx]); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 429 | q90Upper.push(step.q90[forecastIdx]); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 430 | q80Lower.push(step.q20[forecastIdx]); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 431 | q80Upper.push(step.q80[forecastIdx]); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 433 | q90Lower.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 433 | q90Lower.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 434 | q90Upper.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 434 | q90Upper.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 435 | q80Lower.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 435 | q80Lower.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 436 | q80Upper.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 436 | q80Upper.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 448 | if (forecastIdx >= 0 && forecastIdx < nForecast) {{ |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 449 | forecastData.push(step.point_forecast[forecastIdx]); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 451 | forecastData.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 451 | forecastData.push(null); |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 227 | let chart = null; |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 229 | let playInterval = null; |
| HIGH | …recasting/examples/global-temperature/generate_html.py | 275 | data: [...Array(animationData.actual_data.dates.length).fill(null), ...finalStep.point_forec |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v1/experiments/extended_benchmarks/utils.py | 124 | def _transform_quantiles_to_levels(quantiles: List[float]) -> List[int]: |
| LOW | v1/experiments/extended_benchmarks/utils.py | 132 | def _create_dir_if_not_exists(directory: str): |
| LOW | v1/experiments/extended_benchmarks/utils.py | 136 | def _transform_gluonts_instance_to_df( |
| LOW | v1/experiments/extended_benchmarks/utils.py | 151 | def _transform_gluonts_dataset_to_df( |
| LOW | v1/experiments/extended_benchmarks/utils.py | 193 | def fcst_from_level_to_quantiles( |
| LOW | v1/experiments/extended_benchmarks/utils.py | 232 | def evaluate_from_predictions( |
| LOW | v1/experiments/baselines/timegpt_pipeline.py | 37 | def maybe_convert_col_to_datetime( |
| LOW | v1/tests/test_data_loader.py | 9 | def test_train_gen_respects_batch_size_when_permute_is_false(tmp_path: Path) -> None: |
| LOW | v1/tests/test_timesfm.py | 48 | def test_timesfm_forecast_on_df( |
| LOW | v1/src/timesfm/pytorch_patched_decoder.py | 146 | def get_large_negative_number(dtype: torch.dtype) -> torch.Tensor: |
| LOW | v1/src/adapter/utils.py | 281 | def _get_adapter_weight_params( |
| LOW | v1/src/adapter/utils.py | 417 | def _initialize_adapter_params( |
| LOW | tests/test_configs.py | 45 | def test_defaults_match_safe_inference_settings(self): |
| LOW | tests/test_configs.py | 63 | def test_frozen_prevents_mutation(self): |
| LOW | tests/test_configs.py | 73 | def test_replace_creates_independent_copy(self): |
| LOW | tests/test_configs.py | 86 | def test_equality_is_structural(self): |
| LOW | tests/test_configs.py | 92 | def test_inequality_on_any_field_difference(self): |
| LOW | tests/test_configs.py | 107 | def test_frozen_prevents_mutation(self): |
| LOW | tests/test_configs.py | 118 | def test_activation_accepts_all_valid_literals(self): |
| LOW | tests/test_configs.py | 139 | def test_model_dims_must_be_divisible_by_num_heads(self): |
| LOW | tests/test_configs.py | 160 | def test_stacked_config_composes_correctly(self): |
| LOW | tests/test_configs.py | 188 | def test_frozen_prevents_mutation(self): |
| LOW | tests/test_torch_utils.py | 43 | def test_single_batch_matches_numpy(self): |
| LOW | tests/test_torch_utils.py | 66 | def test_incremental_accumulation_matches_full_computation(self): |
| LOW | tests/test_torch_utils.py | 99 | def test_masked_elements_excluded_from_statistics(self): |
| LOW | tests/test_torch_utils.py | 119 | def test_all_masked_yields_zero_stats(self): |
| LOW | tests/test_torch_utils.py | 137 | def test_batched_computation_independent(self): |
| LOW | tests/test_torch_utils.py | 163 | def test_constant_input_yields_zero_sigma(self): |
| LOW | tests/test_torch_utils.py | 189 | def test_forward_then_reverse_is_identity(self): |
| LOW | tests/test_torch_utils.py | 206 | def test_forward_produces_correct_normalization(self): |
| LOW | tests/test_torch_utils.py | 217 | def test_reverse_produces_correct_denormalization(self): |
| LOW | tests/test_torch_utils.py | 228 | def test_zero_sigma_does_not_produce_nan(self): |
| LOW | tests/test_torch_utils.py | 244 | def test_near_zero_sigma_guarded_by_tolerance(self): |
| LOW | tests/test_torch_utils.py | 289 | def test_negative_values_handled_correctly(self): |
| LOW | tests/test_torch_utils.py | 325 | def test_key_value_shape_consistency(self): |
| LOW | tests/test_base_utils.py | 40 | def test_no_nans_returns_unchanged(self): |
| LOW | tests/test_base_utils.py | 46 | def test_strips_leading_nans_only(self): |
| LOW | tests/test_base_utils.py | 59 | def test_no_leading_nan_with_internal_nans(self): |
| LOW | tests/test_base_utils.py | 66 | def test_single_valid_element(self): |
| LOW | tests/test_base_utils.py | 72 | def test_all_nans_returns_full_array(self): |
| LOW | tests/test_base_utils.py | 102 | def test_no_nans_returns_identical(self): |
| LOW | tests/test_base_utils.py | 108 | def test_interpolates_single_interior_nan(self): |
| LOW | tests/test_base_utils.py | 114 | def test_interpolates_multiple_interior_nans(self): |
| LOW | tests/test_base_utils.py | 120 | def test_extrapolates_trailing_nans(self): |
| LOW | tests/test_base_utils.py | 128 | def test_extrapolates_leading_nans(self): |
| LOW | tests/test_base_utils.py | 144 | def test_preserves_non_nan_values(self): |
| LOW | tests/test_base_utils.py | 154 | def test_interpolation_is_monotone_for_monotone_input(self): |
| LOW | tests/test_base_utils.py | 163 | def test_single_non_nan_fills_all_gaps(self): |
| LOW | tests/test_torch_layers.py | 66 | def test_residual_connection_nonzero(self): |
| LOW | tests/test_torch_layers.py | 93 | def test_all_activations_produce_valid_output(self, activation): |
| LOW | tests/test_torch_layers.py | 108 | def test_invalid_activation_raises(self): |
| LOW | tests/test_torch_layers.py | 121 | def test_gradient_flows_through_both_paths(self): |
| LOW | tests/test_torch_layers.py | 153 | def test_output_shape_preserved(self): |
| LOW | tests/test_torch_layers.py | 160 | def test_zero_scale_produces_zeros(self): |
| LOW | tests/test_torch_layers.py | 173 | def test_unit_scale_preserves_rms_magnitude(self): |
| LOW | tests/test_torch_layers.py | 192 | def test_no_nan_on_zero_input(self): |
| LOW | tests/test_torch_layers.py | 235 | def test_fourier_components_bounded(self): |
| LOW | …casting/examples/anomaly-detection/detect_anomalies.py | 121 | def detect_forecast_anomalies( |
| LOW | src/timesfm/timesfm_2p5/timesfm_2p5_flax.py | 59 | def _create_stacked_transformers( |
| LOW | src/timesfm/timesfm_2p5/timesfm_2p5_flax.py | 76 | def _apply_stacked_transformers( |
| 4 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | requirements.txt | 1 | # This file was autogenerated by uv via the following command: |
| LOW | requirements.txt | 21 | httpx==0.28.1 |
| LOW | requirements.txt | 41 | tqdm==4.67.1 |
| LOW | v1/README.md | 221 | |
| LOW | v1/experiments/extended_benchmarks/utils.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/experiments/extended_benchmarks/run_timesfm.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/experiments/extended_benchmarks/run_timegpt.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/experiments/baselines/__init__.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/experiments/baselines/timegpt_pipeline.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/experiments/long_horizon_benchmarks/run_eval.py | 1 | # Copyright 2024 The Google Research Authors. |
| LOW | v1/tests/test_timesfm.py | 1 | # Copyright 2024 The Google Research Authors. |
| LOW | v1/peft/finetune.py | 1 | # Copyright 2024 The Google Research Authors. |
| LOW | v1/src/timesfm/patched_decoder.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/src/timesfm/timesfm_torch.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/src/timesfm/xreg_lib.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/src/timesfm/timesfm_jax.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/src/timesfm/data_loader.py | 1 | # Copyright 2024 The Google Research Authors. |
| LOW | v1/src/timesfm/pytorch_patched_decoder.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/src/timesfm/time_features.py | 1 | # Copyright 2024 The Google Research Authors. |
| LOW | v1/src/timesfm/__init__.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/src/timesfm/timesfm_base.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/src/adapter/dora_layers.py | 1 | # Copyright 2024 The Google Research Authors. |
| LOW | v1/src/adapter/__init__.py | 1 | # Copyright 2024 Google LLC |
| LOW | v1/src/adapter/lora_layers.py | 1 | # Copyright 2024 The Google Research Authors. |
| LOW | v1/src/adapter/utils.py | 1 | # Copyright 2024 The Google Research Authors. |
| LOW | tests/test_configs.py | 1 | # Copyright 2025 Google LLC |
| LOW | tests/test_torch_utils.py | 1 | # Copyright 2025 Google LLC |
| LOW | tests/test_base_utils.py | 1 | # Copyright 2025 Google LLC |
| LOW | tests/test_torch_layers.py | 1 | # Copyright 2025 Google LLC |
| LOW | …forecasting/examples/global-temperature/run_example.sh | 1 | #!/bin/bash |
| LOW | src/timesfm/configs.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/__init__.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/timesfm_2p5/timesfm_2p5_torch.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/timesfm_2p5/timesfm_2p5_flax.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/timesfm_2p5/timesfm_2p5_base.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/torch/dense.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/torch/util.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/torch/__init__.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/torch/transformer.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/torch/normalization.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/utils/xreg_lib.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/flax/dense.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/flax/util.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/flax/__init__.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/flax/transformer.py | 1 | # Copyright 2025 Google LLC |
| LOW | src/timesfm/flax/normalization.py | 1 | # Copyright 2025 Google LLC |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v1/experiments/extended_benchmarks/run_timegpt.py | 19 | |
| LOW | v1/experiments/baselines/timegpt_pipeline.py | 18 | |
| LOW | v1/src/timesfm/__init__.py | 19 | |
| LOW | v1/src/timesfm/__init__.py | 19 | |
| LOW | v1/src/timesfm/__init__.py | 19 | |
| LOW | v1/src/timesfm/__init__.py | 19 | |
| LOW | v1/src/timesfm/__init__.py | 28 | |
| LOW | v1/src/timesfm/__init__.py | 29 | |
| LOW | v1/src/timesfm/__init__.py | 33 | |
| LOW | v1/src/adapter/__init__.py | 17 | |
| LOW | v1/src/adapter/__init__.py | 17 | |
| LOW | v1/src/adapter/__init__.py | 17 | |
| LOW | v1/src/adapter/__init__.py | 18 | |
| LOW | v1/src/adapter/__init__.py | 18 | |
| LOW | v1/src/adapter/__init__.py | 18 | |
| LOW | v1/src/finetuning/finetuning_example.py | 12 | |
| LOW | v1/src/finetuning/finetuning_example.py | 17 | |
| LOW | …ing/examples/covariates-forecasting/demo_covariates.py | 28 | |
| LOW | …casting/examples/anomaly-detection/detect_anomalies.py | 17 | |
| LOW | …orecasting/examples/global-temperature/run_forecast.py | 7 | |
| LOW | …recasting/examples/global-temperature/generate_html.py | 9 | |
| LOW | …ting/examples/global-temperature/visualize_forecast.py | 14 | |
| LOW | …examples/global-temperature/generate_animation_data.py | 11 | |
| LOW | …orecasting/examples/global-temperature/generate_gif.py | 8 | |
| LOW | timesfm-forecasting/scripts/forecast_csv.py | 21 | |
| LOW | timesfm-forecasting/scripts/check_system.py | 16 | |
| LOW | timesfm-forecasting/scripts/check_system.py | 28 | |
| LOW | src/timesfm/__init__.py | 17 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | v1/src/timesfm/timesfm_torch.py | 80 | Forecasts on a list of time series. Args: inputs: list of time series forecast contexts. Each context time se |
| HIGH | v1/src/timesfm/timesfm_jax.py | 247 | Forecasts on a list of time series. Args: inputs: list of time series forecast contexts. Each context time se |
| HIGH | v1/src/timesfm/timesfm_base.py | 322 | Forecasts on a list of time series. Args: inputs: list of time series forecast contexts. Each context time se |
| HIGH | v1/src/timesfm/timesfm_base.py | 356 | Forecasts on a list of time series. Args: inputs: list of time series forecast contexts. Each context time se |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | v1/experiments/extended_benchmarks/utils.py | 155 | with multiprocessing.Pool(os.cpu_count()) as pool: # Create a process pool |
| MEDIUM | v1/src/timesfm/patched_decoder.py | 68 | # Create a range array for indexing |
| MEDIUM | v1/src/timesfm/patched_decoder.py | 185 | # Create a mask where P is 0 |
| MEDIUM | v1/src/timesfm/pytorch_patched_decoder.py | 92 | # Create a mask where padding is 0 |
| MEDIUM | src/timesfm/timesfm_2p5/timesfm_2p5_torch.py | 331 | # Create an instance of the model wrapper class. |
| MEDIUM | src/timesfm/timesfm_2p5/timesfm_2p5_flax.py | 466 | # Create an instance of the model wrapper class. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v1/experiments/extended_benchmarks/utils.py | 104 | |
| LOW | v1/src/timesfm/xreg_lib.py | 193 | |
| LOW | v1/src/timesfm/xreg_lib.py | 392 | |
| LOW | v1/src/timesfm/timesfm_base.py | 53 | |
| LOW | v1/src/timesfm/timesfm_base.py | 347 | |
| LOW | v1/src/adapter/utils.py | 43 | |
| LOW | v1/src/adapter/utils.py | 200 | |
| LOW | v1/src/adapter/utils.py | 281 | |
| LOW | v1/src/adapter/utils.py | 417 | |
| LOW | timesfm-forecasting/scripts/forecast_csv.py | 144 | |
| LOW | timesfm-forecasting/scripts/check_system.py | 127 | |
| LOW | timesfm-forecasting/scripts/check_system.py | 174 | |
| LOW | timesfm-forecasting/scripts/check_system.py | 384 | |
| LOW | src/timesfm/utils/xreg_lib.py | 210 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v1/src/timesfm/__init__.py | 32 | except Exception as _: |
| LOW | v1/src/finetuning/finetuning_example.py | 327 | except Exception as e: |
| MEDIUM | v1/src/finetuning/finetuning_example.py | 328 | print(f"Error in process {rank}: {str(e)}") |
| LOW | v1/src/finetuning/finetuning_example.py | 395 | except Exception as e: |
| LOW | timesfm-forecasting/scripts/forecast_csv.py | 164 | except Exception: |
| LOW | timesfm-forecasting/scripts/check_system.py | 167 | except Exception: |
| LOW | timesfm-forecasting/scripts/check_system.py | 218 | except Exception: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …forecasting/examples/global-temperature/run_example.sh | 26 | # Step 1: Preflight check |
| LOW | …forecasting/examples/global-temperature/run_example.sh | 34 | # Step 2: Run forecast |
| LOW | …forecasting/examples/global-temperature/run_example.sh | 40 | # Step 3: Generate visualization |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v1/src/timesfm/timesfm_base.py | 109 | if not np.any(nans): # Check if there are any NaNs |
| LOW | timesfm-forecasting/scripts/check_system.py | 388 | # Check if GPU is available |
| LOW | src/timesfm/timesfm_2p5/timesfm_2p5_base.py | 63 | if not np.any(nans): # Check if there are any NaNs |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …forecasting/examples/global-temperature/run_example.sh | 9 | # Usage: |