Source code for the X Recommendation Algorithm
This report summarizes scanner evidence for twitter/the-algorithm, a Scala project with 74,122 GitHub stars. SynthScan examined 637,387 lines of code across 6394 source files, recording 576 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-27.
Can maintainers explain intent, assumptions, and trade-offs? 288 finding(s).
Are imports declared and package/API names verified? 224 finding(s).
Are wrappers, guards, and repeated structures necessary? 206 finding(s).
Which changes need focused human review? 576 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 576 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | …a/com/twitter/product_mixer/core/feature/Feature.scala | 33 | * Accessing a failed feature via [[com.twitter.product_mixer.core.feature.featuremap.FeatureMap.get()]] | COMMENT |
| CRITICAL⚡ | …a/com/twitter/product_mixer/core/feature/Feature.scala | 37 | * a failed feature via [[com.twitter.product_mixer.core.feature.featuremap.FeatureMap.get()]] | COMMENT |
| CRITICAL⚡ | …a/com/twitter/product_mixer/core/feature/Feature.scala | 41 | * @note [[com.twitter.product_mixer.core.feature.featuremap.FeatureMap.getOrElse()]] can also be used | COMMENT |
| CRITICAL⚡ | …a/com/twitter/product_mixer/core/feature/Feature.scala | 43 | * [[com.twitter.product_mixer.core.feature.featuremap.FeatureMap.getOrElse()]] method call | COMMENT |
| CRITICAL | …twitter/frigate/pushservice/rank/LoggedOutRanker.scala | 28 | tweet.get.id -> tweet.get.counts.get.favoriteCount.getOrElse(0L) | CODE |
| CRITICAL | trust_and_safety_models/toxicity/load_model.py | 8 | from toxicity_ml_pipeline.utils.helpers import execute_command | CODE |
| CRITICAL | trust_and_safety_models/toxicity/rescoring.py | 2 | from toxicity_ml_pipeline.utils.helpers import load_inference_func, upload_model | CODE |
| CRITICAL | trust_and_safety_models/toxicity/train.py | 27 | from toxicity_ml_pipeline.utils.helpers import check_gpu, set_seeds, upload_model | CODE |
| CRITICAL | trust_and_safety_models/toxicity/optim/callbacks.py | 7 | from toxicity_ml_pipeline.utils.helpers import compute_precision_fixed_recall, execute_command | CODE |
| CRITICAL | trust_and_safety_models/toxicity/data/mb_generator.py | 13 | from toxicity_ml_pipeline.utils.helpers import execute_command | CODE |
| CRITICAL | …st_and_safety_models/toxicity/data/dataframe_loader.py | 12 | from toxicity_ml_pipeline.utils.helpers import execute_command, execute_query | CODE |
| CRITICAL | …n/scala/com/twitter/servo/util/WaitForServerSets.scala | 12 | * See [[com.twitter.finagle.client.ClientRegistry.expAllRegisteredClientsResolved()]] for an | COMMENT |
| CRITICAL | …/search/common/search/GeoQuadTreeQueryBuilderUtil.java | 63 | return new com.twitter.search.common.query.MultiTermDisjunctionQuery(field, geoHashSet); | CODE |
| CRITICAL | …g/tweet_similarity/TweetPairFeatureHydrationUtil.scala | 272 | Set(com.twitter.ml.featurestore.lib.UserId(queryFeaturedTweet.author.get)))) | CODE |
| CRITICAL | …g/tweet_similarity/TweetPairFeatureHydrationUtil.scala | 282 | Set(com.twitter.ml.featurestore.lib.UserId(candidateFeaturedTweet.author.get)))) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | twml/twml/util.py | 15 | CODE | |
| LOW | twml/twml/util.py | 15 | CODE | |
| LOW | twml/twml/util.py | 15 | CODE | |
| LOW | twml/twml/util.py | 15 | CODE | |
| LOW | twml/twml/util.py | 25 | CODE | |
| LOW | twml/twml/util.py | 25 | CODE | |
| LOW | twml/twml/util.py | 25 | CODE | |
| LOW | twml/twml/util.py | 30 | CODE | |
| LOW | twml/twml/util.py | 37 | CODE | |
| LOW | twml/twml/util.py | 40 | CODE | |
| LOW | twml/twml/util.py | 40 | CODE | |
| LOW | twml/twml/util.py | 44 | CODE | |
| LOW | twml/twml/constants.py | 3 | CODE | |
| LOW | twml/twml/constants.py | 3 | CODE | |
| LOW | twml/twml/constants.py | 3 | CODE | |
| LOW | twml/twml/constants.py | 3 | CODE | |
| LOW | twml/twml/constants.py | 3 | CODE | |
| LOW | twml/twml/constants.py | 3 | CODE | |
| LOW | twml/twml/constants.py | 3 | CODE | |
| LOW | twml/twml/__init__.py | 7 | CODE | |
| LOW | twml/twml/__init__.py | 8 | CODE | |
| LOW | twml/twml/__init__.py | 10 | CODE | |
| LOW | twml/twml/__init__.py | 10 | CODE | |
| LOW | twml/twml/__init__.py | 10 | CODE | |
| LOW | twml/twml/__init__.py | 10 | CODE | |
| LOW | twml/twml/__init__.py | 11 | CODE | |
| LOW | twml/twml/__init__.py | 11 | CODE | |
| LOW | twml/twml/__init__.py | 11 | CODE | |
| LOW | twml/twml/__init__.py | 12 | CODE | |
| LOW | twml/twml/__init__.py | 15 | CODE | |
| LOW | twml/twml/__init__.py | 15 | CODE | |
| LOW | twml/twml/__init__.py | 18 | CODE | |
| LOW | twml/twml/__init__.py | 19 | CODE | |
| LOW | twml/twml/__init__.py | 20 | CODE | |
| LOW | twml/twml/__init__.py | 23 | CODE | |
| LOW | twml/twml/__init__.py | 26 | CODE | |
| LOW | twml/twml/__init__.py | 29 | CODE | |
| LOW | twml/twml/__init__.py | 32 | CODE | |
| LOW | twml/twml/__init__.py | 35 | CODE | |
| LOW | twml/twml/__init__.py | 37 | CODE | |
| LOW | twml/twml/__init__.py | 38 | CODE | |
| LOW | twml/twml/__init__.py | 39 | CODE | |
| LOW | twml/twml/__init__.py | 40 | CODE | |
| LOW | twml/twml/__init__.py | 41 | CODE | |
| LOW | twml/twml/__init__.py | 42 | CODE | |
| LOW | twml/twml/__init__.py | 43 | CODE | |
| LOW | twml/twml/__init__.py | 53 | CODE | |
| LOW | twml/twml/__init__.py | 53 | CODE | |
| LOW | twml/twml/__init__.py | 53 | CODE | |
| LOW | twml/twml/__init__.py | 58 | CODE | |
| LOW | twml/twml/__init__.py | 59 | CODE | |
| LOW | twml/twml/__init__.py | 60 | CODE | |
| LOW | twml/twml/__init__.py | 61 | CODE | |
| LOW | twml/twml/parsers.py | 10 | CODE | |
| LOW | twml/twml/parsers.py | 10 | CODE | |
| LOW | twml/twml/parsers.py | 10 | CODE | |
| LOW | twml/twml/parsers.py | 10 | CODE | |
| LOW | twml/twml/parsers.py | 10 | CODE | |
| LOW | twml/twml/parsers.py | 10 | CODE | |
| LOW | twml/twml/parsers.py | 10 | CODE | |
| 149 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …product_mixer/core/feature/featuremap/FeatureMap.scala | 64 | def getOrElse[Value](feature: Feature[_, Value], default: => Value): Value = { | CODE |
| LOW | …product_mixer/core/feature/featuremap/FeatureMap.scala | 79 | private def getOrElse[Value]( | CODE |
| LOW | …aturemap/featurestorev1/FeatureStoreV1FeatureMap.scala | 51 | def getOrElseFeatureStoreV1QueryFeature[Query <: PipelineQuery, Value]( | CODE |
| LOW | …aturemap/featurestorev1/FeatureStoreV1FeatureMap.scala | 95 | def getOrElseFeatureStoreV1CandidateFeature[ | CODE |
| LOW | …aturemap/featurestorev1/FeatureStoreV1FeatureMap.scala | 139 | def getOrElseFeatureStoreV1QueryFeatureGroup[Query <: PipelineQuery]( | CODE |
| LOW | …aturemap/featurestorev1/FeatureStoreV1FeatureMap.scala | 170 | def getOrElseFeatureStoreV1CandidateFeatureGroup[ | CODE |
| LOW | …aturemap/featurestorev1/FeatureStoreV1FeatureMap.scala | 180 | def getOrElseFeatureStoreV1FeatureDataRecord( | CODE |
| LOW | twml/twml/metrics.py | 945 | def get_binary_class_metric_fn(metrics=None): | CODE |
| LOW | twml/twml/metrics.py | 1071 | def get_multi_binary_class_metric_fn(metrics, classes=None, class_dim=1): | CODE |
| LOW | twml/twml/metrics.py | 1248 | def _get_uncalibrated_metric_fn(calibrated_metric_fn, keep_weight=True): | CODE |
| LOW | twml/twml/metrics.py | 1307 | def get_multi_binary_class_uncalibrated_metric_fn( | CODE |
| LOW | twml/twml/util.py | 57 | def _return_tensors_from_checkpoint_folder(init_dir, model_name=None): | CODE |
| LOW | twml/twml/util.py | 188 | def get_checkpoint_variable_names(model_dir, exclude_var_names=None, exclude_scopes=None): | CODE |
| LOW | twml/twml/util.py | 259 | def rehash_sparse_features_nbits(sp_a, nbits, hash_fn=multiplicative_hash): | CODE |
| LOW | twml/twml/util.py | 458 | def setup_tf_logging_formatter(): | CODE |
| LOW | twml/twml/util.py | 734 | def change_name_scope_from_dir(init_scope_name, final_scope_name, save_dir): | CODE |
| LOW | twml/twml/util.py | 910 | def get_distributed_training_job_path(): | CODE |
| LOW | twml/twml/dataset.py | 93 | def stream_block_format_dataset( | CODE |
| LOW | twml/twml/dataset.py | 244 | def zookeeper_ordered_dataset( | CODE |
| LOW | twml/twml/learning_rate_decay.py | 6 | def get_learning_rate_decay_fn(params): | CODE |
| LOW | twml/twml/learning_rate_decay.py | 88 | def bounded_inverse_time_decay_fn(learning_rate, global_step): | CODE |
| LOW | twml/twml/argument_parser.py | 543 | def parse_comma_separated_list(element_type=str): | STRING |
| LOW | twml/twml/contrib/feature_config_parsers.py | 196 | def create_feature_config_from_dict(config_dict, data_spec_path): | CODE |
| LOW | twml/twml/contrib/initializers.py | 57 | def clear_init_feed_collection(): | CODE |
| LOW | twml/twml/contrib/metrics/metrics.py | 23 | def get_partial_multi_binary_class_metric_fn(metrics, classes=None, class_dim=1, predcols=None): | CODE |
| LOW | twml/twml/contrib/metrics/metrics.py | 165 | def get_single_binary_task_metric_fn(metrics, classnames, topK=(5,5,5), use_topK=False): | CODE |
| LOW | twml/twml/contrib/metrics/metrics.py | 188 | def get_dual_binary_tasks_metric_fn(metrics, classnames, topK=(5,5,5), use_topK=False): | CODE |
| LOW | twml/twml/contrib/eventbus/input_fn.py | 12 | def get_eventbus_data_record_generator(eventbus_reader): | CODE |
| LOW | twml/twml/contrib/eventbus/input_fn.py | 37 | def get_eventbus_data_record_dataset(eventbus_reader, parse_fn, batch_size): | CODE |
| LOW | twml/twml/contrib/layers/stacked_rnn.py | 34 | def _create_bidirectional_rnn_cell(num_units, dropout, cell_type): | CODE |
| LOW | twml/twml/contrib/layers/stacked_rnn.py | 53 | def _create_unidirectional_rnn_cell(num_units, dropout, cell_type): | CODE |
| LOW | twml/twml/contrib/layers/embedding_lookup.py | 19 | def load_initializers_from_csv( | CODE |
| LOW | twml/twml/contrib/layers/full_dense.py | 140 | def _get_output_partition_sizes(out_size, num_parts): | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 69 | def _infer_if_is_metric_larger_the_better(stopping_metric): | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 83 | def _check_whether_tree_should_expand(baseline_performance, computed_performance, sensitivity, stopping_metric, is_metri | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 100 | def _compute_multiple_permuted_performances_from_trainer( | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 114 | def _get_extra_feature_group_performances(factory, trainer, parse_fn, extra_groups, feature_to_type, record_count): | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 137 | def _feature_importances_tree_algorithm( | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 253 | def _feature_importances_serial_algorithm( | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 276 | def _process_feature_name_for_mldash(feature_name): | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 282 | def compute_feature_importances( | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 323 | def write_feature_importances_to_hdfs( | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 363 | def write_feature_importances_to_ml_dash(trainer, feature_importances, feature_config=None): | CODE |
| LOW | twml/twml/contrib/feature_importances/helpers.py | 63 | def _get_feature_types_from_records(records, fnames): | CODE |
| LOW | twml/twml/contrib/feature_importances/helpers.py | 86 | def _get_feature_name_from_config(feature_config): | CODE |
| LOW | twml/twml/contrib/utils/datasets.py | 8 | def resolve_train_and_eval_files_overlap( | CODE |
| LOW | twml/twml/contrib/utils/datasets.py | 56 | def get_time_based_dataset_files_for_train_and_eval( | CODE |
| LOW | twml/twml/contrib/utils/loss_fns.py | 77 | def _get_average_cross_entropy_loss(pairwise_label_scores, pairwise_predicted_scores, | CODE |
| LOW | twml/twml/contrib/utils/loss_fns.py | 144 | def _get_ordered_predicted_scores(labels, predicted_scores, n_data): | STRING |
| LOW | twml/twml/contrib/utils/loss_fns.py | 217 | def _get_attrank_cross_entropy(labels, logits): | STRING |
| LOW | twml/twml/contrib/utils/loss_fns.py | 269 | def _get_listnet_cross_entropy(labels, logits): | STRING |
| LOW | twml/twml/contrib/utils/scores.py | 18 | def get_pairwise_label_scores(labels): | CODE |
| LOW | twml/twml/contrib/calibrators/hashing_discretizer.py | 15 | def _create_discretizer_layer(self, n_feature, hash_map_keys, hash_map_values, | CODE |
| LOW | twml/twml/contrib/calibrators/percentile_discretizer.py | 417 | def _create_discretizer_layer(self, n_feature, hash_map_keys, hash_map_values, | CODE |
| LOW | twml/twml/contrib/calibrators/common_calibrators.py | 57 | def _generate_files_by_datetime(params): | CODE |
| LOW | twml/twml/contrib/calibrators/common_calibrators.py | 338 | def add_discretizer_arguments(parser): | CODE |
| LOW | twml/twml/contrib/calibrators/common_calibrators.py | 370 | def add_isotonic_calibrator_arguments(parser): | CODE |
| LOW | twml/twml/contrib/calibrators/common_calibrators.py | 413 | def calibrate_calibrator_and_export(name, calibrator, build_graph_fn, params, feature_config, | CODE |
| LOW | twml/twml/contrib/calibrators/common_calibrators.py | 537 | def calibrate_discretizer_and_export(name, calibrator, build_graph_fn, params, feature_config): | CODE |
| LOW | twml/twml/contrib/calibrators/common_calibrators.py | 618 | def build_percentile_discretizer_graph(features, label, mode, params, config=None): | CODE |
| 57 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …vi/thrift_bpr_adapter/thrift/src/prediction_service.rs | 150 | features: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | …vi/thrift_bpr_adapter/thrift/src/prediction_service.rs | 206 | prediction: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | …vi/thrift_bpr_adapter/thrift/src/prediction_service.rs | 275 | individual_features_list: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | …vi/thrift_bpr_adapter/thrift/src/prediction_service.rs | 347 | predictions: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | …vi/thrift_bpr_adapter/thrift/src/prediction_service.rs | 851 | request: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | …vi/thrift_bpr_adapter/thrift/src/prediction_service.rs | 976 | batch_request: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 166 | strings: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 255 | ints: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 344 | longs: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 433 | floats: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 522 | doubles: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 611 | booleans: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 702 | data_type: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 703 | content: f_2.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 791 | binaries: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH⚡ | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 1047 | dense_shape: f_1.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH⚡ | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 1048 | indices: f_2.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| HIGH⚡ | navi/thrift_bpr_adapter/thrift/src/tensor.rs | 1049 | values: f_3.expect("auto-generated code should have checked for presence of required fields"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | simclusters-ann/README.md | 49 | # ------------------------------- | COMMENT |
| MEDIUM⚡ | simclusters-ann/README.md | 51 | # ------------------------------- | COMMENT |
| MEDIUM⚡ | simclusters-ann/README.md | 60 | # ------------------------------- | COMMENT |
| MEDIUM⚡ | simclusters-ann/README.md | 62 | # ------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 37 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 39 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 76 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 78 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 123 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 125 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 138 | # ---------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 140 | # ---------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 166 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …vice/src/main/python/models/light_ranking/deep_norm.py | 168 | # -------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …vice/src/main/python/models/light_ranking/deep_norm.py | 192 | # -------------------------------------------- | COMMENT |
| MEDIUM⚡ | …vice/src/main/python/models/light_ranking/deep_norm.py | 194 | # -------------------------------------------- | COMMENT |
| MEDIUM⚡ | …vice/src/main/python/models/light_ranking/deep_norm.py | 203 | # ---------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …vice/src/main/python/models/light_ranking/deep_norm.py | 205 | # ---------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ice/src/main/python/models/light_ranking/eval_model.py | 51 | # ----------------------------------------------- | COMMENT |
| MEDIUM | …ice/src/main/python/models/light_ranking/eval_model.py | 53 | # ----------------------------------------------- | COMMENT |
| MEDIUM | …ice/src/main/python/models/light_ranking/eval_model.py | 64 | # ----------------------------------------------- | COMMENT |
| MEDIUM | …ice/src/main/python/models/light_ranking/eval_model.py | 66 | # ----------------------------------------------- | COMMENT |
| MEDIUM | …rc/main/python/models/light_ranking/model_pools_mlp.py | 46 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …rc/main/python/models/light_ranking/model_pools_mlp.py | 48 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …rc/main/python/models/light_ranking/model_pools_mlp.py | 68 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …rc/main/python/models/light_ranking/model_pools_mlp.py | 70 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …rc/main/python/models/light_ranking/model_pools_mlp.py | 165 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | …rc/main/python/models/light_ranking/model_pools_mlp.py | 167 | # -------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | twml/twml/metrics.py | 0 | graph_output: dict that is returned by build_graph given input features. labels: target labels associated to batch. weig | STRING |
| HIGH | twml/twml/contrib/metrics/metrics.py | 0 | graph_output: dict that is returned by build_graph given input features. labels: target labels associated to batch. weig | STRING |
| HIGH | twml/twml/contrib/metrics/search_metrics.py | 0 | graph_output: dict that is returned by build_graph given input features. labels: target labels associated to batch. weig | STRING |
| HIGH | …projects/timelines/scripts/models/earlybird/metrics.py | 0 | graph_output: dict that is returned by build_graph given input features. labels: target labels associated to batch. weig | STRING |
| HIGH | twml/twml/layers/partition.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/percentile_discretizer.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/isotonic.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/mdl.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/sparse_max_norm.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/full_sparse.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/stitch.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/data_record_tensor_writer.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/contrib/layers/factorization_machine.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/batch_prediction_writer.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/sequential.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/layer.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/layers/batch_prediction_tensor_writer.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| HIGH | twml/twml/contrib/layers/zscore_normalization.py | 0 | computes the output shape of the layer given the input shape. args: input_shape: a (possibly nested tuple of) `tensorsha | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | twml/libtwml/include/twml.h | 1 | #include <twml/defines.h> | COMMENT |
| LOW | twml/libtwml/include/twml/ThriftWriter.h | 1 | #pragma once | COMMENT |
| LOW | twml/libtwml/include/twml/BatchPredictionResponse.h | 1 | #pragma once | COMMENT |
| LOW | twml/libtwml/include/twml/common.h | 1 | #ifndef TWML_LIBTWML_INCLUDE_TWML_COMMON_H_ | COMMENT |
| LOW | twml/libtwml/include/twml/DataRecord.h | 1 | #pragma once | COMMENT |
| LOW | twml/libtwml/include/twml/BlockFormatWriter.h | 1 | #pragma once | COMMENT |
| LOW | twml/libtwml/src/lib/murmur_hash3.cpp | 1 | //----------------------------------------------------------------------------- | COMMENT |
| LOW | twml/libtwml/src/lib/hashing_discretizer_impl.cpp | 21 | using search_method = int64_t (*)(const Tx *, const Tx, const int64_t); | COMMENT |
| LOW | twml/libtwml/src/lib/hashing_discretizer_impl.cpp | 41 | // Note - feature_ids may have arbitrary distribution within int32s | COMMENT |
| LOW | twml/libtwml/src/lib/BatchPredictionResponse.cpp | 1 | #include "internal/endianutils.h" | COMMENT |
| LOW | twml/libtwml/src/lib/internal/endianutils.h | 1 | // | COMMENT |
| LOW | twml/libtwml/src/lib/internal/endianutils.h | 21 | #define betoh64(x) OSSwapBigToHostInt64(x) | COMMENT |
| LOW | twml/libtwml/src/lib/internal/endianutils.h | 41 | #endif | COMMENT |
| LOW | twml/libtwml/src/lib/internal/endianutils.h | 61 | #endif | COMMENT |
| LOW | twml/libtwml/src/lib/internal/endianutils.h | 81 | #endif | COMMENT |
| LOW | twml/libtwml/src/lib/internal/endianutils.h | 101 | #endif | COMMENT |
| LOW | twml/libtwml/src/lib/internal/endianutils.h | 121 | #define betoh64 be64toh | COMMENT |
| LOW | twml/libtwml/src/lib/internal/khash.h | 141 | typedef unsigned long khint64_t; | COMMENT |
| LOW | twml/libtwml/src/lib/internal/khash.h | 161 | COMMENT | |
| LOW | twml/libtwml/src/lib/internal/khash.h | 181 | #endif | COMMENT |
| LOW | twml/libtwml/src/lib/internal/utf_converter.h | 1 | #ifndef _UTF_CONVERTER_H_ | COMMENT |
| LOW | twml/libtwml/src/ops/binary_sparse_dense_matmul.cpp | 21 | COMMENT | |
| LOW | twml/libtwml/src/ops/block_format_dataset.cpp | 1 | #include "block_format_reader.h" | COMMENT |
| LOW | twml/libtwml/src/ops/resource_utils.h | 1 | #pragma once | COMMENT |
| LOW | …meters/revchron/ReverseChronTimelineQueryContext.scala | 61 | COMMENT | |
| LOW | …r/tweetypie/handler/GetStoredTweetsByUserHandler.scala | 141 | } | COMMENT |
| LOW | …tter/tweetypie/handler/DeleteLocationDataHandler.scala | 21 | ): Type = | COMMENT |
| LOW | …in/scala/com/twitter/tweetypie/handler/PostTweet.scala | 261 | val contributorUserId: Option[UserId] = getContributor(userId).map(_.userId) | COMMENT |
| LOW | …/com/twitter/tweetypie/handler/SelfThreadBuilder.scala | 41 | COMMENT | |
| LOW | …com/twitter/tweetypie/handler/EditControlBuilder.scala | 141 | // Checks for validity of an edit are implemented as procedures | COMMENT |
| LOW | …/com/twitter/tweetypie/handler/TweetCreationLock.scala | 261 | // overwrite it with the tombstone. If checkAndSet | COMMENT |
| LOW | …er/tweetypie/repository/ConversationIdRepository.scala | 61 | convIdsFromParent <- getConversationIds(keys, _.parentId) | COMMENT |
| LOW | …ter/tweetypie/hydrator/ConversationMutedHydrator.scala | 41 | // It is unlikely that this field will already be set, but if, for | COMMENT |
| LOW | …la/com/twitter/tweetypie/hydrator/TweetHydration.scala | 601 | scrubSuperfluousUrlEntities, | COMMENT |
| LOW | …scala/com/twitter/tweetypie/tflock/TFlockIndexer.scala | 301 | } else { | COMMENT |
| LOW | …la/com/twitter/tweetypie/caching/CacheOperations.scala | 41 | // [[CacheOperations]] instance will be tracked under this stats | COMMENT |
| LOW | …la/com/twitter/tweetypie/caching/CacheOperations.scala | 61 | // "found" and "not_found" above. If `stale` + `fresh` is not equal | COMMENT |
| LOW | …la/com/twitter/tweetypie/caching/CacheOperations.scala | 121 | // the bad entry that we just loaded. | COMMENT |
| LOW | …la/com/twitter/tweetypie/caching/CacheOperations.scala | 141 | val exception = | COMMENT |
| LOW | …x/inverted/MultiSegmentTermDictionaryWithFastutil.java | 41 | SearchTimerStats.export("multi_segment_term_dictionary_with_fastutil_creation", | COMMENT |
| LOW | …h/core/earlybird/index/inverted/SkipListContainer.java | 341 | lastPointers[currentLevel] = currentPointer; | COMMENT |
| LOW | …r/search/common/relevance/entities/TwitterMessage.java | 501 | // the id of the user who started the self-thread. | COMMENT |
| LOW | …common/converter/earlybird/BasicIndexingConverter.java | 521 | // Additionally, it may or may not be a Retweet (if it is, then it has retweet-user-id and | COMMENT |
| LOW | …common/converter/earlybird/BasicIndexingConverter.java | 541 | // IS_RETWEET_FLAG should be set | COMMENT |
| LOW | …twitter/search/common/search/TwitterIndexSearcher.java | 141 | if (docsWithField == 0) { | COMMENT |
| LOW | …itter/search/common/schema/earlybird/FlushVersion.java | 121 | VERSION_91("Making in_reply_to_user_id field use MPH. SEARCH-10836", true, 0), | COMMENT |
| LOW | …/routers/AbstractRecencyAndRelevanceRequestRouter.java | 341 | long protectedMinId = getMinSearchedId(protectedResponse); | COMMENT |
| LOW | …ch/earlybird_root/mergers/EarlybirdResponseMerger.java | 121 | // When returned by EarlybirdChainedScatterGatherService, | COMMENT |
| LOW | …ch/earlybird_root/mergers/EarlybirdResponseMerger.java | 401 | // When merging across tiers, if we have one failed tier, we should fail the whole | COMMENT |
| LOW | …java/com/twitter/search/earlybird/EarlybirdServer.java | 481 | // Lucene 6.0.0 changes how boosts are handled: "real" boosts should be wrapped into BoostQuery | COMMENT |
| LOW | …/archive/segmentbuilder/SegmentBuilderCoordinator.java | 101 | if (instanceNumber == FIRST_INSTANCE) { | COMMENT |
| LOW | …/search/earlybird/util/CoordinatedEarlybirdAction.java | 61 | private final AtomicBoolean shouldSynchronize; | COMMENT |
| LOW | …/search/earlybird/search/queries/BadUserRepFilter.java | 101 | // binary value 10000000, but will be treated as an unsigned value when decoded, and therefore | COMMENT |
| LOW | …ter/search/earlybird/partition/TweetCreateHandler.java | 461 | currentSegment.getSegmentInfo().getIndexSegment().getNumDocs(), | COMMENT |
| LOW | …ter/search/earlybird/partition/TweetCreateHandler.java | 481 | // If it's not the greatest Tweet ID we have seen, then we don't want to create a | COMMENT |
| LOW | …ediction/features/common/TimelinesSharedFeatures.scala | 681 | // In contrast, DISPLAY_SUGGEST_TYPE == RecycledTweet means the tweet | COMMENT |
| LOW | …2/candidate_source/SimClustersANNCandidateSource.scala | 281 | // The max number of candidates for a ANN Query | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ann/src/main/python/dataflow/faiss_index_bq_dataset.py | 83 | CODE | |
| LOW | twml/twml/metrics.py | 248 | CODE | |
| LOW | twml/twml/metrics.py | 1071 | CODE | |
| LOW | twml/twml/metrics.py | 1162 | CODE | |
| LOW | twml/twml/util.py | 230 | CODE | |
| LOW | twml/twml/learning_rate_decay.py | 6 | CODE | |
| LOW | twml/twml/contrib/pruning.py | 212 | CODE | |
| LOW | twml/twml/contrib/feature_config.py | 23 | CODE | |
| LOW | twml/twml/contrib/metrics/metrics.py | 71 | CODE | |
| LOW | twml/twml/contrib/metrics/metrics.py | 97 | CODE | |
| LOW | twml/twml/contrib/metrics/search_metrics.py | 132 | CODE | |
| LOW | twml/twml/contrib/metrics/search_metrics.py | 221 | CODE | |
| LOW | twml/twml/contrib/layers/embedding_lookup.py | 19 | CODE | |
| LOW | …wml/contrib/feature_importances/feature_permutation.py | 81 | CODE | |
| LOW | …wml/contrib/feature_importances/feature_permutation.py | 16 | CODE | |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 363 | CODE | |
| LOW | twml/twml/contrib/feature_importances/helpers.py | 47 | CODE | |
| LOW | twml/twml/contrib/feature_importances/helpers.py | 63 | CODE | |
| LOW | twml/twml/contrib/calibrators/common_calibrators.py | 199 | CODE | |
| LOW | twml/twml/contrib/calibrators/common_calibrators.py | 265 | CODE | |
| LOW | twml/twml/contrib/optimizers/pruning_optimizer.py | 65 | CODE | |
| LOW | twml/twml/trainers/trainer.py | 729 | CODE | |
| LOW | twml/twml/trainers/trainer.py | 871 | CODE | |
| LOW | twml/twml/trainers/trainer.py | 946 | CODE | |
| LOW | twml/twml/trainers/trainer.py | 901 | CODE | |
| LOW | twml/twml/tracking/experiment_tracker.py | 150 | CODE | |
| LOW | …rc/main/python/models/light_ranking/model_pools_mlp.py | 32 | CODE | |
| LOW | …e/src/main/python/models/libs/light_ranking_metrics.py | 223 | CODE | |
| LOW | …ervice/src/main/python/models/libs/warm_start_utils.py | 106 | CODE | |
| LOW | trust_and_safety_models/toxicity/rescoring.py | 8 | CODE | |
| LOW | …_and_safety_models/toxicity/data/data_preprocessing.py | 64 | CODE | |
| LOW | …projects/timelines/scripts/models/earlybird/metrics.py | 9 | CODE | |
| LOW | …projects/timelines/scripts/models/earlybird/metrics.py | 23 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | twml/twml/metrics.py | 248 | CODE | |
| LOW | twml/twml/util.py | 803 | CODE | |
| LOW | twml/twml/dataset.py | 93 | CODE | |
| LOW | twml/twml/dataset.py | 244 | CODE | |
| LOW | twml/twml/input_fns.py | 9 | CODE | |
| LOW | twml/twml/layers/full_dense.py | 176 | CODE | |
| LOW | twml/twml/layers/sparse_max_norm.py | 174 | CODE | |
| LOW | twml/twml/layers/full_sparse.py | 276 | CODE | |
| LOW | twml/twml/layers/full_sparse.py | 78 | CODE | |
| LOW | twml/twml/contrib/layers/embedding_lookup.py | 258 | CODE | |
| LOW | twml/twml/contrib/layers/factorization_machine.py | 54 | CODE | |
| LOW | twml/twml/contrib/layers/full_dense.py | 280 | CODE | |
| LOW | twml/twml/contrib/layers/full_dense.py | 97 | CODE | |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 137 | CODE | |
| LOW | …trib/optimizers/deep_gradient_compression_optimizer.py | 67 | CODE | |
| LOW | twml/twml/contrib/export/exporters.py | 71 | CODE | |
| LOW | twml/twml/trainers/trainer.py | 150 | CODE | |
| LOW | twml/twml/trainers/trainer.py | 946 | CODE | |
| LOW | twml/twml/trainers/trainer.py | 1194 | CODE | |
| LOW | …rc/main/python/models/light_ranking/model_pools_mlp.py | 32 | CODE | |
| LOW | pushservice/src/main/python/models/libs/model_utils.py | 314 | CODE | |
| LOW | …service/src/main/python/models/libs/get_feat_config.py | 37 | CODE | |
| LOW | …ice/src/main/python/models/heavy_ranking/lib/layers.py | 108 | CODE | |
| LOW | …ice/src/main/python/models/heavy_ranking/lib/layers.py | 128 | CODE | |
| LOW | trust_and_safety_models/toxicity/train.py | 42 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | twml/twml/util.py | 374 | # Create an empty list of lists first, will be converted to right type afterwards. | COMMENT |
| MEDIUM | twml/twml/util.py | 757 | # Create a backup_checkpoints dir | COMMENT |
| MEDIUM | twml/twml/dataset.py | 183 | # Creating a dataset from an input directory | COMMENT |
| MEDIUM | twml/twml/dataset.py | 230 | # Create a batch of datarecords and decode them | COMMENT |
| MEDIUM | twml/twml/dataset.py | 360 | # Create a batch of datarecords and decode them | COMMENT |
| MEDIUM | twml/twml/argument_parser.py | 359 | # Create the parser for the "exponential_learning_rate_decay_fn" | STRING |
| MEDIUM | twml/twml/argument_parser.py | 373 | # Create the parser for the "polynomial_learning_rate_decay_fn" | STRING |
| MEDIUM | twml/twml/argument_parser.py | 395 | # Create the parser for the "piecewise_constant_learning_rate_decay_fn" | STRING |
| MEDIUM | twml/twml/argument_parser.py | 424 | # Create the parser for the "inverse_learning_rate_decay_fn" | STRING |
| MEDIUM | twml/twml/argument_parser.py | 445 | # Create the parser for the "cosine_learning_rate_decay_fn" | STRING |
| MEDIUM | twml/twml/argument_parser.py | 461 | # Create the parser for the "cosine_restart_learning_rate_decay_fn" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …in/scala/com/twitter/servo/cache/ForwardingCache.scala | 118 | // otherwise, we're just writing a tombstone, so we need to check if it exists | COMMENT |
| LOW⚡ | …n/scala/com/twitter/home_mixer/util/RerankerUtil.scala | 48 | // Step 1: Transpose scores to group by heads | COMMENT |
| LOW⚡ | …n/scala/com/twitter/home_mixer/util/RerankerUtil.scala | 53 | // Step 2: Get max scores per head | COMMENT |
| LOW⚡ | …n/scala/com/twitter/home_mixer/util/RerankerUtil.scala | 56 | // Step 3: Use max scores to get per head transformed scores | COMMENT |
| LOW | …d/queryparser/HighFrequencyTermPairRewriteVisitor.java | 95 | // Step 1: extract high frequency term pairs and phrases. | COMMENT |
| LOW | …d/queryparser/HighFrequencyTermPairRewriteVisitor.java | 106 | // Step 2: rewrite (safely). | COMMENT |
| LOW | …rlybird/archive/segmentbuilder/NotYetBuiltSegment.java | 37 | * In both cases, we need to check if the segment can now be marked as BUILT_AND_FINALIZED. | COMMENT |
| LOW | …gregates/real_time/TimelinesStormAggregateSource.scala | 94 | // Step 1: => LogEvent | COMMENT |
| LOW | …gregates/real_time/TimelinesStormAggregateSource.scala | 104 | // Step 1: => LogEvent | COMMENT |
| LOW | …gregates/real_time/TimelinesStormAggregateSource.scala | 116 | // Step 1: => LogEvent | COMMENT |
| LOW | …gregates/real_time/TimelinesStormAggregateSource.scala | 140 | // Step 2: | COMMENT |
| LOW | …gregates/real_time/TimelinesStormAggregateSource.scala | 174 | // Step 3: Join with Feature Store features | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | twml/twml/contrib/export/export_fn.py | 246 | except NameError: | CODE |
| HIGH | trust_and_safety_models/toxicity/utils/helpers.py | 14 | except ModuleNotFoundError: | CODE |
| HIGH | trust_and_safety_models/toxicity/utils/helpers.py | 30 | except subprocess.CalledProcessError: | CODE |
| HIGH | trust_and_safety_models/toxicity/utils/helpers.py | 36 | except subprocess.CalledProcessError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | twml/twml/contrib/eventbus/reader.py | 108 | except Exception as e: | CODE |
| LOW | twml/twml/contrib/eventbus/reader.py | 118 | except Exception as e: | CODE |
| MEDIUM | twml/twml/contrib/eventbus/reader.py | 113 | def close(self): | CODE |
| LOW | …wml/contrib/feature_importances/feature_importances.py | 388 | except Exception as ex: | CODE |
| LOW | twml/twml/trainers/trainer.py | 372 | except Exception as err: | STRING |
| LOW | twml/twml/trainers/trainer.py | 919 | except Exception as e: | STRING |
| LOW | twml/twml/tracking/experiment_tracker.py | 203 | except Exception as err: | CODE |
| LOW | twml/twml/tracking/experiment_tracker.py | 214 | except Exception as err: | CODE |
| LOW | twml/twml/tracking/experiment_tracker.py | 228 | except Exception as err: | CODE |
| LOW | twml/twml/tracking/experiment_tracker.py | 264 | except Exception as err: | CODE |
| LOW | twml/twml/tracking/experiment_tracker.py | 318 | except Exception as err: | CODE |
| LOW | twml/twml/tracking/experiment_tracker.py | 414 | except Exception as err: | CODE |
| LOW | …st_and_safety_models/toxicity/data/dataframe_loader.py | 76 | except Exception: | CODE |
| LOW | …st_and_safety_models/toxicity/data/dataframe_loader.py | 87 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …n/scala/com/twitter/home_mixer/util/RerankerUtil.scala | 48 | // Step 1: Transpose scores to group by heads | COMMENT |
| LOW⚡ | …n/scala/com/twitter/home_mixer/util/RerankerUtil.scala | 53 | // Step 2: Get max scores per head | COMMENT |
| LOW⚡ | …n/scala/com/twitter/home_mixer/util/RerankerUtil.scala | 56 | // Step 3: Use max scores to get per head transformed scores | COMMENT |
| LOW | …d/queryparser/HighFrequencyTermPairRewriteVisitor.java | 95 | // Step 1: extract high frequency term pairs and phrases. | COMMENT |
| LOW | …d/queryparser/HighFrequencyTermPairRewriteVisitor.java | 106 | // Step 2: rewrite (safely). | COMMENT |
| LOW | …gregates/real_time/TimelinesStormAggregateSource.scala | 174 | // Step 3: Join with Feature Store features | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | twml/twml/contrib/feature_importances/helpers.py | 33 | # If the strings are the same, just return the full string | COMMENT |
| MEDIUM | …ons/common/clients/socialgraph/SocialGraphClient.scala | 32 | // prefer to default value to better utilize the caching function of stitch | COMMENT |
| MEDIUM | …main/scala/com/twitter/tsp/stores/TweetInfoStore.scala | 126 | // There many different types of videos. To be robust to new types being added, we just use | COMMENT |
| MEDIUM | …witter/search/earlybird/archive/ArchiveTimeSlicer.java | 101 | // partition does not exist. This check makes the code more robust against future | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | twml/twml/util.py | 594 | List files matching `base_path/dt_prefix_format/*.extension` for the requested datetime range. Args: base_path: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …mer_executor/CandidateFeatureTransformerExecutor.scala | 82 | * It's worth noting that the outer Seq is bounded by the number of Transformers that are | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | twml/twml/contrib/calibrators/percentile_discretizer.py | 116 | # Check if we have less values than bin_vals | COMMENT |
| LOW | twml/twml/trainers/trainer.py | 343 | # Check if should delete the tsd running this training job. In certain use case when | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | navi/navi/src/onnx_model.rs | 204 | //TODO: implement a generic online warmup for all runtimes | COMMENT |