Debt rework: doc headers everywhere, two import ratchets with the baseline, process-global counts uses and not import lists, 400-line fixes, docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
acd22e1694
commit
e03bedc3b1
+52
-10
@@ -3,6 +3,28 @@
|
||||
"violations": [],
|
||||
"oversize": {},
|
||||
"source": {
|
||||
"allow-unused-imports:leleka-cpu-kernels": 2,
|
||||
"allow-unused-imports:leleka-cpu-sys": 48,
|
||||
"allow-unused-imports:leleka-cuda-driver": 863,
|
||||
"allow-unused-imports:leleka-engine-core": 18,
|
||||
"allow-unused-imports:leleka-engine-qwen35-cuda": 396,
|
||||
"allow-unused-imports:leleka-experimental-ref": 1,
|
||||
"allow-unused-imports:leleka-gateway-text": 4,
|
||||
"allow-unused-imports:leleka-gguf": 5,
|
||||
"allow-unused-imports:leleka-gptoss": 16,
|
||||
"allow-unused-imports:leleka-gptoss-igpu": 2,
|
||||
"allow-unused-imports:leleka-gptoss-npu": 6,
|
||||
"allow-unused-imports:leleka-gpu-npu-worker": 1,
|
||||
"allow-unused-imports:leleka-harmony": 2,
|
||||
"allow-unused-imports:leleka-igpu": 20,
|
||||
"allow-unused-imports:leleka-model-format": 32,
|
||||
"allow-unused-imports:leleka-native-cpu-expert": 89,
|
||||
"allow-unused-imports:leleka-npu-service": 2,
|
||||
"allow-unused-imports:leleka-openvino": 5,
|
||||
"allow-unused-imports:leleka-runtime-client": 3,
|
||||
"allow-unused-imports:leleka-tokenizer": 3,
|
||||
"allow-unused-imports:strata-control": 63,
|
||||
"allow-unused-imports:strata-desktop-core": 9,
|
||||
"dyn-trait:leleka-backend-api": 1,
|
||||
"dyn-trait:leleka-cpu-worker": 4,
|
||||
"dyn-trait:leleka-cuda-driver": 45,
|
||||
@@ -45,6 +67,26 @@
|
||||
"env-read:leleka-tokenizer": 2,
|
||||
"env-read:strata-control": 19,
|
||||
"env-read:strata-desktop-core": 15,
|
||||
"glob-super-import:leleka-cpu-kernels": 2,
|
||||
"glob-super-import:leleka-cpu-sys": 13,
|
||||
"glob-super-import:leleka-cpu-worker": 1,
|
||||
"glob-super-import:leleka-cuda-driver": 571,
|
||||
"glob-super-import:leleka-deploy": 79,
|
||||
"glob-super-import:leleka-engine-qwen35-cuda": 328,
|
||||
"glob-super-import:leleka-gateway-domain": 2,
|
||||
"glob-super-import:leleka-gguf": 5,
|
||||
"glob-super-import:leleka-gptoss": 17,
|
||||
"glob-super-import:leleka-gptoss-igpu": 2,
|
||||
"glob-super-import:leleka-gptoss-npu": 6,
|
||||
"glob-super-import:leleka-gpu-npu-worker": 1,
|
||||
"glob-super-import:leleka-igpu": 18,
|
||||
"glob-super-import:leleka-memory": 1,
|
||||
"glob-super-import:leleka-model-format": 16,
|
||||
"glob-super-import:leleka-native-cpu-expert": 15,
|
||||
"glob-super-import:leleka-openvino": 5,
|
||||
"glob-super-import:leleka-tokenizer": 1,
|
||||
"glob-super-import:strata-control": 37,
|
||||
"glob-super-import:strata-desktop-core": 16,
|
||||
"instant-now:leleka-backend-api": 2,
|
||||
"instant-now:leleka-cpu-worker": 9,
|
||||
"instant-now:leleka-cuda-driver": 25,
|
||||
@@ -67,20 +109,20 @@
|
||||
"path-include:leleka-model-format": 12,
|
||||
"path-include:leleka-native-cpu-expert": 2,
|
||||
"path-include:strata-desktop-core": 2,
|
||||
"process-global:leleka-cuda-driver": 99,
|
||||
"process-global:leleka-cuda-model": 11,
|
||||
"process-global:leleka-cuda-driver": 96,
|
||||
"process-global:leleka-cuda-model": 10,
|
||||
"process-global:leleka-engine-qwen35-cuda": 59,
|
||||
"process-global:leleka-gateway-domain": 3,
|
||||
"process-global:leleka-gateway-text": 5,
|
||||
"process-global:leleka-gptoss-npu": 3,
|
||||
"process-global:leleka-libc-shim": 13,
|
||||
"process-global:leleka-memory": 8,
|
||||
"process-global:leleka-gateway-domain": 2,
|
||||
"process-global:leleka-gateway-text": 4,
|
||||
"process-global:leleka-gptoss-npu": 2,
|
||||
"process-global:leleka-libc-shim": 12,
|
||||
"process-global:leleka-memory": 6,
|
||||
"process-global:leleka-memory-os": 2,
|
||||
"process-global:leleka-model-format": 8,
|
||||
"process-global:leleka-native-cpu-expert": 32,
|
||||
"process-global:leleka-obs": 7,
|
||||
"process-global:leleka-native-cpu-expert": 27,
|
||||
"process-global:leleka-obs": 6,
|
||||
"process-global:leleka-tokenizer": 4,
|
||||
"process-global:strata-control": 11
|
||||
"process-global:strata-control": 8
|
||||
},
|
||||
"mechanical_names": []
|
||||
}
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@
|
||||
{"id": "env-read", "regex": "\\benv::var(_os)?\\(", "why": "configuration must be parsed once into a Settings struct (S13), not read all over the code"},
|
||||
{"id": "instant-now", "regex": "\\bInstant::now\\(\\)", "why": "time must come from an injected Clock in core logic (S14)"},
|
||||
{"id": "path-include", "regex": "#\\[path\\s*=\\s*\"(?![^\"]*tests\\.rs\")(?![A-Za-z0-9_]+/[A-Za-z0-9_]+\\.rs\")", "why": "a file compiled into two crates must be one crate (S8); a tests.rs or a child module file of the form dir/name.rs is not an include"},
|
||||
{"id": "process-global", "regex": "\\b(OnceLock|LazyLock|OnceCell)\\b|\\bstatic\\s+mut\\b|Governor::global\\(|serving_cells\\(\\)", "why": "process globals make core logic untestable without a GPU (S14)"},
|
||||
{"id": "process-global", "ignore_imports": true, "regex": "\\b(OnceLock|LazyLock|OnceCell)\\b|\\bstatic\\s+mut\\b|Governor::global\\(|serving_cells\\(\\)", "why": "process globals make core logic untestable without a GPU (S14)"},
|
||||
{"id": "dyn-trait", "regex": "\\bdyn\\s+[A-Z]", "why": "no dynamic dispatch per round or token; dyn is for startup composition only"},
|
||||
{"id": "glob-super-import", "regex": "^use super::\\*;", "why": "a glob import of the parent hides what a module needs; name the items (use super::{A, B}); scripts/dev/explicit_imports.py does it for the files rustsplit leaves"},
|
||||
{"id": "allow-unused-imports", "regex": "#\\[allow\\(unused_imports\\)\\]", "why": "a blanket allow hides imports that are really unused; it belongs on re-exports and on names that only some cargo features use"}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::{adapters::ChannelEngine, worker::GenerationCommand};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use serde_json::json;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
mod common;
|
||||
mod iq2s_iq3xxs;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
mod common;
|
||||
mod iq2s_iq3xxs;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use leleka_tokenizer::gguf_bpe::SpecialIds;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::model::ModelFile;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::{iq3_s, kar, kar_writer};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use serde_json::json;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
mod convert;
|
||||
mod fixtures;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use serde_json::json;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use leleka_obs::{Format, Level, Settings};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
#[test]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use std::sync::{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::InferenceMode;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of rope_plan_golden by topic (moved out of the test file by STRA-338): every_fixture_case_has_a_test,
|
||||
//! Tests of `rope_plan_golden` by topic: every_fixture_case_has_a_test,
|
||||
//! yarn_is_observably_different_from_none, strata_plan_cli_output_is_reproduced_exactly,
|
||||
//! kv_pool_bytes_match_the_originals_layer_cpp.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::s_gemv_legacy as sg;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::vram_ledger::driver_bytes;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//! Methods of `OriginalMmqLayer`: `execute_original_copy_ring`, `copy_ring_preflight`, `copy_ring_same_spans`, `stre...
|
||||
//! Split out of `original_group` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
#[test]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
/// `copy2d` hands the driver a raw descriptor of fixed extents; the two owners it names (`TailLayout` roles
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::super::{OriginalLayerBounds, OriginalSessionGeometry, OriginalSessionKvPolicy, OriginalSessionLayout};
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::original_mtp_coupled::subset_inverse;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::fixtures::*;
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of tests by topic (moved out of the test file by STRA-338): parses_getline_loop_and_skips_empty_lines,
|
||||
//! Tests of `tests` by topic: parses_getline_loop_and_skips_empty_lines,
|
||||
//! malformed_index_lines_carry_the_original_message, extent_validation_is_exact_and_bounded,
|
||||
//! required_names_are_checked_in_source_order_by_kind ....
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::super::kernels::{LayoutMap, test_geometry};
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::super::kernels::{LayoutMap, test_geometry};
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of tests by topic (moved out of the test file by STRA-338): hit_add_scans_the_cpu_and_gpu_hits_of_the_group,
|
||||
//! Tests of `tests` by topic: hit_add_scans_the_cpu_and_gpu_hits_of_the_group,
|
||||
//! batched_combine_is_one_launch_with_the_token_on_grid_y,
|
||||
//! per_row_combine_is_native_combine_per_token_or_the_legacy_kernel,
|
||||
//! plan_word_stays_inside_the_plan_span_and_the_two_groups.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::super::kernels::{LayoutMap, test_geometry};
|
||||
use super::super::moe::MoeLayerAddrs;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::super::kernels::{LayoutMap, test_geometry};
|
||||
use super::*;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//! Tests of tests by topic (moved out of the test file by STRA-338): weight_sizes_are_the_original_tensor_shapes,
|
||||
//! Tests of `tests` by topic: weight_sizes_are_the_original_tensor_shapes,
|
||||
//! construction_refuses_unsupported_geometry_and_policy.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of tests by topic (moved out of the test file by STRA-338): full_s2_bank_extent_and_output_refusals,
|
||||
//! Tests of `tests` by topic: full_s2_bank_extent_and_output_refusals,
|
||||
//! mtp_new_ninth_output_and_scale_extent_refuse, kar_ple_qualified_receipt_corruption_refuses_before_mutation,
|
||||
//! kar_ple_whole_spans_require_all_disjoint_allocations ....
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of tests by topic (moved out of the test file by STRA-338): full_s2_expert_scalar_and_fixed_bank_abi,
|
||||
//! Tests of `tests` by topic: full_s2_expert_scalar_and_fixed_bank_abi,
|
||||
//! mtp_new_nine_pointer_owner_and_scaled_packets,
|
||||
//! gr_saturation_asset_requires_exact_independent_qualification_and_bytes,
|
||||
//! kar_ple_qualified_receipt_matches_frozen_source_and_ptx ....
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of tests by topic (moved out of the test file by STRA-338): qsa_new_literal_abi_scalar_order_and_geometry,
|
||||
//! Tests of `tests` by topic: qsa_new_literal_abi_scalar_order_and_geometry,
|
||||
//! qsa_new_position_block_boundaries_and_attention_width_refusals.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! Moved out of the parent module by STRA-338: fn bootstrap_copies, fn bootstrap_copy_errors, fn bootstrap_htod_fault,
|
||||
//! fn bootstrap_dtoh_fault, fn bootstrap_release, fn bootstrap_close ....
|
||||
//! Functions: `bootstrap_copies`, `bootstrap_copy_errors`, `bootstrap_htod_fault`, `bootstrap_dtoh_fault` and 10 more.
|
||||
//! Split out of `mock_driver` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! Moved out of the parent module by STRA-338: fn check_matvec_lengths, fn check_matvec_bad_length, fn
|
||||
//! check_matvec_error, fn matvec_poison_refusals, fn release_poisoned_fixture, fn check_poison_trace ....
|
||||
//! Functions: `check_matvec_lengths`, `check_matvec_bad_length`, `check_matvec_error`, `matvec_poison_refusals` and ...
|
||||
//! Split out of `mock_driver` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of mock_driver by topic (moved out of the test file by STRA-338): isolated_cpu_elf_matrix, fixture_child.
|
||||
//! Tests of `mock_driver` by topic: isolated_cpu_elf_matrix, fixture_child.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//! Moved out of the parent module by STRA-338: MATVEC_EXECUTION_FAILURES, MATVEC_POISON, MATVEC_ERRORS, MatvecFixture.
|
||||
//! Defines `MatvecFixture`.
|
||||
//! MATVEC_EXECUTION_FAILURES, MATVEC_POISON, MATVEC_ERRORS, MatvecFixture.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! Moved out of the parent module by STRA-338: fn matvec_launch_count, fn check_matvec_geometry, fn
|
||||
//! check_matvec_both_cleanup, fn check_launch_sync.
|
||||
//! Functions: `matvec_launch_count`, `check_matvec_geometry`, `check_matvec_both_cleanup`, `check_launch_sync`.
|
||||
//! Split out of `mock_driver` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! Moved out of the parent module by STRA-338: Row, SCENARIOS, SCENARIO_FAILURES, WRONG_POP, COPY_POISON,
|
||||
//! VECTOR_EXECUTION_FAILURES ....
|
||||
//! Defines `Row`, `VectorFixture`.
|
||||
//! Row, SCENARIOS, SCENARIO_FAILURES, WRONG_POP, COPY_POISON, VECTOR_EXECUTION_FAILURES ....
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! Moved out of the parent module by STRA-338: fn trace, fn valid_context_trace, fn cuda_errors, fn run_fixture_case,
|
||||
//! fn scenario_command, fn scenario_failure ....
|
||||
//! Functions: `trace`, `valid_context_trace`, `cuda_errors`, `run_fixture_case` and 10 more.
|
||||
//! Split out of `mock_driver` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! Moved out of the parent module by STRA-338: fn vector_bounds, fn vector_error, fn vector_poison_refusals, fn
|
||||
//! vector_expected, fn vector_success, fn vector_second_context ....
|
||||
//! Functions: `vector_bounds`, `vector_error`, `vector_poison_refusals`, `vector_expected` and 8 more.
|
||||
//! Split out of `mock_driver` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! Moved out of the parent module by STRA-338: fn vector_module_context_trace, fn f32_bytes, fn rounded_product, fn
|
||||
//! rounded_add, fn matvec_oracle, fn check_f32_output ....
|
||||
//! Functions: `vector_module_context_trace`, `f32_bytes`, `rounded_product`, `rounded_add` and 11 more.
|
||||
//! Split out of `mock_driver` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of projection_family_mock by topic (moved out of the test file by STRA-338): common_protocol_matrix.
|
||||
//! Tests of `projection_family_mock` by topic: common_protocol_matrix.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of projection_family_mock by topic (moved out of the test file by STRA-338): family_public_q8_child.
|
||||
//! Tests of `projection_family_mock` by topic: family_public_q8_child.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of q6_mock by topic (moved out of the test file by STRA-338): isolated_q6_protocol_matrix.
|
||||
//! Tests of `q6_mock` by topic: isolated_q6_protocol_matrix.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of q6_mock by topic (moved out of the test file by STRA-338): q6_fixture_child.
|
||||
//! Tests of `q6_mock` by topic: q6_fixture_child.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use serde_json::Value;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use serde_json::Value;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use std::cell::RefCell;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::facts::{DirFact, Memory};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::{config::Ports, facts::Memory, layout::Dirs, profile::KarSource};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::facts::Memory;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use std::io::Write;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of tests by topic (moved out of the test file by STRA-338): what_is_not_superseded,
|
||||
//! Tests of `tests` by topic: what_is_not_superseded,
|
||||
//! disabled_caches_store_nothing, take_out_of_range_is_none_and_prefix_len_is_generic_over_token_types,
|
||||
//! struct_sizes_match_the_64_bit_original_layout.
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
//! Split out of `prefix_store` to keep its files under the line limit.
|
||||
|
||||
use super::{ByteSize, Candidate, HashSet, Node, PrefixStore};
|
||||
#[cfg(test)]
|
||||
#[cfg(any(test, feature = "testing"))]
|
||||
use super::HashMap;
|
||||
|
||||
impl<N: ByteSize, B: ByteSize> PrefixStore<N, B> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
use crate::prefix_cache::hash::chain;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Tests of tests by topic (moved out of the test file by STRA-338): stationary_regimes_reach_the_best_fixed_width,
|
||||
//! Tests of `tests` by topic: stationary_regimes_reach_the_best_fixed_width,
|
||||
//! it_widens_when_rows_are_cheap_and_narrows_when_they_are_not, it_follows_a_change_of_content_and_of_cost,
|
||||
//! reaction_to_a_switch_takes_tens_of_rounds_not_hundreds ....
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
#[test]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
#[test]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
fn index() -> String {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Unit tests of this module (moved out of the file by STRA-338; the test ids are unchanged).
|
||||
//! Unit tests of this module (split out of its file; the test ids are unchanged).
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user