Productive, portable, and performant GPU programming in Python.
This report presents the forensic synthetic code analysis of taichi-dev/taichi, a C++ project with 28,296 GitHub stars. SynthScan v2.0 examined 304,444 lines of code across 1374 source files, recording 1742 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 6.5 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1742 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 176 | def cmake_install_manifest_filter(manifest_files): | CODE |
| LOW | misc/ci_setup.py | 85 | def get_default_directory_name(): | CODE |
| LOW | misc/fetch_active_contributors.py | 4 | def print_active_contributors(): | CODE |
| LOW | misc/generate_c_api.py | 229 | def resolve_inline_symbols_to_names(module: Module, line: str): | CODE |
| LOW | misc/generate_c_api.py | 250 | def get_human_readable_field_name(x: EntryBase, field_name: str): | CODE |
| LOW | python/taichi/_main.py | 136 | def support_choice_with_dot_py(choice): | CODE |
| LOW | python/taichi/_main.py | 612 | def _display_benchmark_regression(xd, yd, args): | CODE |
| LOW | python/taichi/_main.py | 709 | def _get_benchmark_baseline_dir(): | CODE |
| LOW | python/taichi/_main.py | 713 | def _get_benchmark_output_dir(): | CODE |
| LOW | python/taichi/_version_check.py | 93 | def start_version_check_thread(): | CODE |
| LOW | python/taichi/_kernels.py | 56 | def ndarray_matrix_to_ext_arr( | CODE |
| LOW | python/taichi/_kernels.py | 162 | def ext_arr_to_ndarray_matrix( | CODE |
| LOW | python/taichi/_kernels.py | 229 | def arr_vulkan_layout_to_arr_normal_layout(vk_arr: ndarray_type.ndarray(), normal_arr: ndarray_type.ndarray()): | CODE |
| LOW | python/taichi/_kernels.py | 240 | def arr_vulkan_layout_to_field_normal_layout(vk_arr: ndarray_type.ndarray(), normal_field: template()): | CODE |
| LOW | python/taichi/ui/window.py | 177 | def get_depth_buffer_as_numpy(self): | CODE |
| LOW | python/taichi/ui/window.py | 189 | def get_image_buffer_as_numpy(self): | CODE |
| LOW | python/taichi/ui/scene.py | 52 | def gen_normals_kernel_indexed(vertices: template(), indices: template(), normals: template(), weights: template()): | CODE |
| LOW | python/taichi/_snode/fields_builder.py | 152 | def _allocate_adjoint_checkbit(self): | CODE |
| LOW | python/taichi/types/ndarray_type.py | 17 | def _make_matrix_dtype_from_element_shape(element_dim, element_shape, primitive_dtype): | CODE |
| LOW | python/taichi/_ti_module/cppgen.py | 136 | def generate_kernel_args_builder(kernel: sr.Kernel) -> List[str]: | CODE |
| LOW | python/taichi/_ti_module/cppgen.py | 168 | def generate_graph_args_builder(graph: sr.Graph) -> List[str]: | CODE |
| LOW | python/taichi/_ti_module/cppgen.py | 200 | def generate_module_content_repr(m: GfxRuntime140, module_name: str, cgraph_kernel_names: Set[str]) -> List[str]: | CODE |
| LOW | python/taichi/_lib/utils.py | 188 | def try_get_loaded_libc_version(): | CODE |
| LOW | python/taichi/lang/field.py | 259 | def _initialize_host_accessors(self): | CODE |
| LOW | python/taichi/lang/matrix.py | 40 | def _generate_swizzle_patterns(key_group: str, required_length=4): | CODE |
| LOW | python/taichi/lang/matrix.py | 64 | def make_valid_attribs_checker(key_group): | CODE |
| LOW | python/taichi/lang/matrix.py | 1176 | def _get_dynamic_index_stride(self): | CODE |
| LOW | python/taichi/lang/matrix.py | 1181 | def _calc_dynamic_index_stride(self): | CODE |
| LOW | python/taichi/lang/matrix.py | 1515 | def _instantiate_in_python_scope(self, entries): | CODE |
| LOW | python/taichi/lang/matrix.py | 1623 | def _instantiate_in_python_scope(self, entries): | CODE |
| LOW | python/taichi/lang/exception.py | 58 | def handle_exception_from_cpp(exc): | CODE |
| LOW | python/taichi/lang/kernel_impl.py | 867 | def set_arg_sparse_matrix_builder(indices, v): | CODE |
| LOW | python/taichi/lang/snode.py | 161 | def _allocate_adjoint_checkbit(self): | CODE |
| LOW | python/taichi/lang/snode.py | 271 | def _num_dynamically_allocated(self): | CODE |
| LOW | python/taichi/lang/snode.py | 282 | def _offset_bytes_in_parent_cell(self): | CODE |
| LOW | python/taichi/lang/mesh.py | 216 | def _initialize_host_accessors(self): | CODE |
| LOW | python/taichi/lang/mesh.py | 333 | def set_patch_max_element_num(self, element_type: MeshElementType, max_element_num: int): | CODE |
| LOW | python/taichi/lang/_ndarray.py | 132 | def _ndarray_matrix_from_numpy(self, arr, as_vector): | CODE |
| LOW | python/taichi/lang/_ndarray.py | 222 | def _initialize_host_accessor(self): | CODE |
| LOW | python/taichi/lang/_wrap_inspect.py | 27 | def _find_source_with_custom_getfile_func(func, obj): | CODE |
| LOW | python/taichi/lang/source_builder.py | 116 | def bitcode_func_call_wrapper(*args): | CODE |
| LOW | python/taichi/lang/source_builder.py | 130 | def external_func_call_wrapper(args=[], outputs=[]): | CODE |
| LOW | python/taichi/lang/impl.py | 121 | def begin_frontend_struct_for(ast_builder, group, loop_range): | CODE |
| LOW | python/taichi/lang/impl.py | 343 | def initialize_fields_builder(self, builder): | CODE |
| LOW | python/taichi/lang/impl.py | 362 | def get_num_compiled_functions(self): | CODE |
| LOW | python/taichi/lang/impl.py | 411 | def _finalize_root_fb_for_aot(): | CODE |
| LOW | python/taichi/lang/impl.py | 435 | def _check_gradient_field_not_placed(self, gradient_type): | CODE |
| LOW | python/taichi/lang/impl.py | 457 | def _check_matrix_field_member_shape(self): | CODE |
| LOW | python/taichi/lang/impl.py | 466 | def _calc_matrix_field_dynamic_index_stride(self): | CODE |
| LOW | python/taichi/lang/impl.py | 486 | def _register_signal_handlers(self): | CODE |
| LOW | python/taichi/lang/impl.py | 863 | def ti_format_list_to_content_entries(raw): | CODE |
| LOW | python/taichi/lang/impl.py | 1181 | def get_cuda_compute_capability(): | CODE |
| LOW | python/taichi/lang/struct.py | 491 | def _initialize_host_accessors(self): | CODE |
| LOW | python/taichi/lang/ast/ast_transformer.py | 56 | def boundary_type_cast_warning(expression): | CODE |
| LOW | python/taichi/lang/ast/ast_transformer.py | 504 | def canonicalize_formatted_string(raw_string, *raw_args, **raw_keywords): | CODE |
| LOW | python/taichi/lang/ast/ast_transformer.py | 945 | def build_attribute_if_is_dynamic_snode_method(ctx, node): | CODE |
| LOW | python/taichi/lang/ast/ast_transformer.py | 1356 | def build_grouped_ndrange_for(ctx, node): | CODE |
| LOW | python/taichi/lang/ast/ast_transformer.py | 1633 | def ti_format_list_to_assert_msg(raw): | CODE |
| LOW | python/taichi/lang/ast/ast_transformer_utils.py | 205 | def non_static_control_flow_guard(self): | CODE |
| LOW | python/taichi/lang/ast/ast_transformer_utils.py | 230 | def is_in_non_static_control_flow(self): | CODE |
| 620 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misc/baselines/containers.cpp | 41 | return 0; | COMMENT |
| LOW | python/taichi/tools/np2ply.py | 101 | y (`numpy.array(float)`): y-coordinates of the vertices. | COMMENT |
| LOW | python/taichi/tools/np2ply.py | 141 | # TODO active and refactor later if user feedback indicates the necessity for a compact the input list | COMMENT |
| LOW | python/taichi/tools/np2ply.py | 201 | self.add_vertex_channel("green", "float", g) | COMMENT |
| LOW | python/taichi/lang/kernel_impl.py | 1041 | _logging.warn("""opt_level = 1 is enforced to enable gradient computation.""") | COMMENT |
| LOW | python/taichi/lang/_wrap_inspect.py | 1 | # Taichi's custom inspect module. | COMMENT |
| LOW | python/taichi/lang/impl.py | 561 | COMMENT | |
| LOW | python/taichi/lang/ast/checkers.py | 81 | super().generic_visit(node) | COMMENT |
| LOW | python/taichi/lang/ast/checkers.py | 101 | # super().generic_visit(node) | COMMENT |
| LOW | python/taichi/lang/ast/ast_transformer.py | 981 | # | COMMENT |
| LOW | …hi/examples/machine_learning/differential_evolution.py | 281 | # f.append(imageio.imread("./3dimg/" + i)) | COMMENT |
| LOW | python/taichi/examples/features/io/export_mesh.py | 1 | import numpy as np | COMMENT |
| LOW | ci/scripts/release_test.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | ci/scripts/release_test.sh | 161 | python "${match}" & | COMMENT |
| LOW | tests/python/test_quant_array_vectorization.py | 101 | assign_vectorized(1, -1) | COMMENT |
| LOW | tests/python/test_quant_array_vectorization.py | 121 | # | Before | always (0, 1) | often (0, 1), sometimes (1, 0) | OK | | COMMENT |
| LOW | tests/python/test_quant_array_vectorization.py | 141 | # block.dense(ti.ij, (N // n_blocks, N // (bits * n_blocks))).quant_array(ti.j, bits, max_num_bits=bits).place(z) | COMMENT |
| LOW | tests/python/test_quant_array_vectorization.py | 161 | # num_active_neighbors += ti.cast(x[i + 1, j - 1], ti.u32) | COMMENT |
| LOW | tests/python/test_quant_array_vectorization.py | 181 | # y[i, j] = (num_active_neighbors == 3) or (num_active_neighbors == 2 and x[i, j] == 1) | COMMENT |
| LOW | tests/cpp/backends/amdgpu_device_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/llvm/llvm_offline_cache_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/codegen/refine_coordinates_test.cpp | 1 | #ifdef TI_WITH_LLVM | COMMENT |
| LOW | tests/cpp/transforms/make_block_local_test.cpp | 21 | void initialize(int pointer_size, int block_size) { | COMMENT |
| LOW | tests/cpp/transforms/extract_constant_test.cpp | 41 | // <i32> $5 = const [1] | COMMENT |
| LOW | tests/cpp/program/graph_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/dx12/aot_save_load_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/llvm/mpm88_graph_aot_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/llvm/field_cgraph_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/llvm/dynamic_aot_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/llvm/graph_aot_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/llvm/kernel_aot_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/llvm/kernel_return_aot_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/llvm/bitmasked_aot_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | tests/cpp/aot/llvm/field_aot_test.cpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | docs/lang/articles/visualization/export_results.md | 301 | # | | COMMENT |
| LOW | docs/lang/articles/visualization/ggui.md | 281 | COMMENT | |
| LOW | docs/lang/articles/visualization/ggui.md | 301 | # The TranslationMatrix is: | COMMENT |
| LOW | docs/lang/articles/math/sparse_matrix.md | 61 | C = A + A | COMMENT |
| LOW | docs/lang/articles/math/sparse_matrix.md | 81 | E = A * 3.0 | COMMENT |
| LOW | docs/lang/articles/math/sparse_matrix.md | 101 | F = A.transpose() | COMMENT |
| LOW | docs/lang/articles/math/sparse_matrix.md | 121 | H = E * A | COMMENT |
| LOW | docs/lang/articles/get-started/cloth_simulation.md | 221 | def substep(): | COMMENT |
| LOW | .github/workflows/release.yml | 121 | env: | COMMENT |
| LOW | .github/workflows/release.yml | 141 | # submodules: 'recursive' | COMMENT |
| LOW | .github/workflows/pull_request.yml | 21 | python misc/ci_check_pr_title.py "$PR_TITLE" | COMMENT |
| LOW | .github/workflows/testing.yml | 121 | # include: | COMMENT |
| LOW | .github/workflows/testing.yml | 141 | # unset-git-caching-proxy | COMMENT |
| LOW | .github/workflows/testing.yml | 161 | # env: | COMMENT |
| LOW | .github/workflows/testing.yml | 601 | # needs: check_files | COMMENT |
| LOW | .github/workflows/testing.yml | 621 | # if: ${{ needs.check_files.outputs.run_job != 'false' }} | COMMENT |
| LOW | .github/workflows/testing.yml | 641 | # -v $TAICHI_WHEEL_DIR:/home/dev/taichi/dist \ | COMMENT |
| LOW | .github/workflows/testing.yml | 661 | # -DTI_WITH_VULKAN:BOOL=ON | COMMENT |
| LOW | .github/workflows/testing.yml | 681 | # runs-on: [self-hosted, Linux, cn] | COMMENT |
| LOW | .github/workflows/testing.yml | 701 | # run: >- | COMMENT |
| LOW | .github/workflows/testing.yml | 721 | # registry.botmaster.tgr/taichi-build-cuda:${{ env.CI_IMAGE_VERSION }} \ | COMMENT |
| LOW | .github/workflows/testing.yml | 741 | # -DTI_WITH_LLVM:BOOL=OFF | COMMENT |
| LOW | .github/workflows/testing.yml | 761 | # permissions: | COMMENT |
| LOW | .github/workflows/testing.yml | 781 | # prepare-build-cache; | COMMENT |
| LOW | .github/workflows/testing.yml | 801 | # env: | COMMENT |
| LOW | .github/workflows/testing.yml | 821 | COMMENT | |
| 385 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | python/taichi/_logging.py | 79 | # ------------------------ | COMMENT |
| MEDIUM⚡ | python/taichi/_logging.py | 84 | # ------------------------ | COMMENT |
| MEDIUM⚡ | python/taichi/_logging.py | 89 | # ------------------------ | COMMENT |
| MEDIUM⚡ | python/taichi/_logging.py | 94 | # ------------------------ | COMMENT |
| MEDIUM⚡ | python/taichi/_logging.py | 99 | # ------------------------ | COMMENT |
| MEDIUM⚡ | python/taichi/_logging.py | 104 | # ------------------------ | COMMENT |
| MEDIUM⚡ | python/taichi/_logging.py | 109 | # ------------------------ | COMMENT |
| MEDIUM | python/taichi/ui/ui.py | 12 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 3 | # ======================================== | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 6 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 12 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 18 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 24 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 30 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 36 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 41 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 43 | # ======================================== | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 46 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 52 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 58 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 64 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 70 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 76 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 82 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 88 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 94 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 100 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 106 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 112 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 118 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 124 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 130 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 136 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 142 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 148 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/types/primitive_types.py | 154 | # ---------------------------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 20 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 25 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 30 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 36 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 42 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 47 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 52 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 57 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 62 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 67 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 72 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 77 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 82 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 87 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 92 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 97 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 99 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 104 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 109 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 114 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 119 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 124 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 129 | # ---------------------- | COMMENT |
| MEDIUM⚡ | python/taichi/lang/misc.py | 134 | # ---------------------- | COMMENT |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misc/taichi_json.py | 102 | CODE | |
| LOW | misc/taichi_json.py | 261 | CODE | |
| LOW | misc/taichi_json.py | 337 | CODE | |
| LOW | misc/copyright.py | 233 | CODE | |
| LOW | misc/make_changelog.py | 30 | CODE | |
| LOW | misc/generate_unity_language_binding.py | 105 | CODE | |
| LOW | misc/benchmark_parallel_compilation.py | 27 | CODE | |
| LOW | misc/ci_setup.py | 143 | CODE | |
| LOW | misc/generate_c_api.py | 65 | CODE | |
| LOW | misc/generate_c_api.py | 150 | CODE | |
| LOW | misc/generate_c_api.py | 250 | CODE | |
| LOW | python/taichi/_main.py | 612 | CODE | |
| LOW | python/taichi/_version_check.py | 12 | CODE | |
| LOW | python/taichi/_kernels.py | 56 | CODE | |
| LOW | python/taichi/_kernels.py | 162 | CODE | |
| LOW | python/taichi/_kernels.py | 184 | CODE | |
| LOW | python/taichi/_kernels.py | 204 | CODE | |
| LOW | python/taichi/_kernels.py | 299 | CODE | |
| LOW | python/taichi/_funcs.py | 343 | CODE | |
| LOW | python/taichi/_funcs.py | 630 | CODE | |
| LOW | python/taichi/ui/staging_buffer.py | 169 | CODE | |
| LOW | python/taichi/ui/staging_buffer.py | 226 | CODE | |
| LOW | python/taichi/ui/staging_buffer.py | 272 | CODE | |
| LOW | python/taichi/ui/gui.py | 396 | CODE | |
| LOW | python/taichi/tools/image.py | 93 | CODE | |
| LOW | python/taichi/_ti_module/module.py | 71 | CODE | |
| LOW | python/taichi/_ti_module/cppgen.py | 136 | CODE | |
| LOW | python/taichi/_ti_module/cppgen.py | 168 | CODE | |
| LOW | python/taichi/linalg/sparse_cg.py | 22 | CODE | |
| LOW | python/taichi/linalg/matrixfree_cg.py | 19 | CODE | |
| LOW | python/taichi/linalg/matrixfree_cg.py | 140 | CODE | |
| LOW | python/taichi/linalg/matrixfree_cg.py | 97 | CODE | |
| LOW | python/taichi/linalg/matrixfree_cg.py | 255 | CODE | |
| LOW | python/taichi/graph/_graph.py | 93 | CODE | |
| LOW | python/taichi/graph/_graph.py | 72 | CODE | |
| LOW | python/taichi/_lib/utils.py | 213 | CODE | |
| LOW | python/taichi/lang/matrix.py | 250 | CODE | |
| LOW | python/taichi/lang/matrix.py | 382 | CODE | |
| LOW | python/taichi/lang/matrix.py | 816 | CODE | |
| LOW | python/taichi/lang/matrix.py | 1389 | CODE | |
| LOW | python/taichi/lang/matrix.py | 1569 | CODE | |
| LOW | python/taichi/lang/common_ops.py | 267 | CODE | |
| LOW | python/taichi/lang/misc.py | 323 | CODE | |
| LOW | python/taichi/lang/kernel_impl.py | 163 | CODE | |
| LOW | python/taichi/lang/kernel_impl.py | 253 | CODE | |
| LOW | python/taichi/lang/kernel_impl.py | 318 | CODE | |
| LOW | python/taichi/lang/kernel_impl.py | 384 | CODE | |
| LOW | python/taichi/lang/kernel_impl.py | 571 | CODE | |
| LOW | python/taichi/lang/kernel_impl.py | 685 | CODE | |
| LOW | python/taichi/lang/kernel_impl.py | 710 | CODE | |
| LOW | python/taichi/lang/argpack.py | 197 | CODE | |
| LOW | python/taichi/lang/argpack.py | 287 | CODE | |
| LOW | python/taichi/lang/argpack.py | 365 | CODE | |
| LOW | python/taichi/lang/snode.py | 114 | CODE | |
| LOW | python/taichi/lang/mesh.py | 109 | CODE | |
| LOW | python/taichi/lang/mesh.py | 179 | CODE | |
| LOW | python/taichi/lang/mesh.py | 275 | CODE | |
| LOW | python/taichi/lang/mesh.py | 180 | CODE | |
| LOW | python/taichi/lang/matrix_ops_utils.py | 71 | CODE | |
| LOW | python/taichi/lang/matrix_ops_utils.py | 117 | CODE | |
| 152 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misc/copyright.py | 16 | CODE | |
| LOW | misc/generate_ir_design_doc.py | 4 | CODE | |
| LOW | misc/ci_setup.py | 163 | CODE | |
| LOW | misc/count_tags.py | 1 | CODE | |
| LOW | misc/count_tags.py | 2 | CODE | |
| LOW | python/taichi/__init__.py | 1 | CODE | |
| LOW | python/taichi/__init__.py | 4 | CODE | |
| LOW | python/taichi/__init__.py | 5 | CODE | |
| LOW | python/taichi/__init__.py | 6 | CODE | |
| LOW | python/taichi/__init__.py | 7 | CODE | |
| LOW | python/taichi/__init__.py | 10 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 13 | CODE | |
| LOW | python/taichi/__init__.py | 14 | CODE | |
| LOW | python/taichi/__init__.py | 14 | CODE | |
| LOW | python/taichi/__init__.py | 14 | CODE | |
| LOW | python/taichi/__init__.py | 14 | CODE | |
| LOW | python/taichi/__init__.py | 17 | CODE | |
| LOW | python/taichi/ui/ui.py | 4 | CODE | |
| LOW | python/taichi/ui/ui.py | 5 | CODE | |
| LOW | python/taichi/ui/ui.py | 6 | CODE | |
| LOW | python/taichi/ui/ui.py | 7 | CODE | |
| LOW | python/taichi/ui/ui.py | 8 | CODE | |
| LOW | python/taichi/ui/ui.py | 9 | CODE | |
| LOW | python/taichi/ui/__init__.py | 8 | CODE | |
| LOW | python/taichi/ui/__init__.py | 9 | CODE | |
| LOW | python/taichi/_snode/__init__.py | 1 | CODE | |
| LOW | python/taichi/tools/__init__.py | 8 | CODE | |
| LOW | python/taichi/tools/__init__.py | 9 | CODE | |
| LOW | python/taichi/tools/__init__.py | 10 | CODE | |
| LOW | python/taichi/tools/__init__.py | 11 | CODE | |
| LOW | python/taichi/tools/__init__.py | 12 | CODE | |
| LOW | python/taichi/types/__init__.py | 11 | CODE | |
| LOW | python/taichi/types/__init__.py | 12 | CODE | |
| LOW | python/taichi/types/__init__.py | 13 | CODE | |
| LOW | python/taichi/types/__init__.py | 14 | CODE | |
| LOW | python/taichi/types/__init__.py | 15 | CODE | |
| LOW | python/taichi/types/__init__.py | 16 | CODE | |
| LOW | python/taichi/types/__init__.py | 17 | CODE | |
| LOW | python/taichi/_ti_module/__init__.py | 1 | CODE | |
| LOW | python/taichi/ad/__init__.py | 1 | CODE | |
| LOW | python/taichi/linalg/__init__.py | 3 | CODE | |
| LOW | python/taichi/linalg/__init__.py | 4 | CODE | |
| LOW | python/taichi/linalg/__init__.py | 5 | CODE | |
| LOW | python/taichi/linalg/__init__.py | 6 | CODE | |
| LOW | python/taichi/graph/__init__.py | 1 | CODE | |
| LOW | python/taichi/algorithms/__init__.py | 1 | CODE | |
| LOW | python/taichi/_lib/__init__.py | 1 | CODE | |
| LOW | python/taichi/math/mathimpl.py | 11 | CODE | |
| LOW | python/taichi/math/mathimpl.py | 11 | CODE | |
| LOW | python/taichi/math/mathimpl.py | 11 | CODE | |
| LOW | python/taichi/math/mathimpl.py | 11 | CODE | |
| LOW | python/taichi/math/mathimpl.py | 11 | CODE | |
| 97 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | misc/ci_setup.py | 263 | CODE | |
| MEDIUM | tests/python/test_internal_func.py | 24 | CODE | |
| MEDIUM | tests/python/test_internal_func.py | 27 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 39 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 41 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 42 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 44 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 45 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 48 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 55 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 57 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 59 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 61 | CODE | |
| MEDIUM | tests/python/test_loop_grad.py | 63 | CODE | |
| MEDIUM | tests/python/test_offload.py | 8 | CODE | |
| MEDIUM | tests/python/test_offload.py | 10 | CODE | |
| MEDIUM | tests/python/test_offload.py | 11 | CODE | |
| MEDIUM | tests/python/test_offload.py | 12 | CODE | |
| MEDIUM | tests/python/test_offload.py | 14 | CODE | |
| MEDIUM | tests/python/test_offload.py | 15 | CODE | |
| MEDIUM | tests/python/test_offload.py | 16 | CODE | |
| MEDIUM | tests/python/test_offload.py | 17 | CODE | |
| MEDIUM | tests/python/test_offload.py | 20 | CODE | |
| MEDIUM | tests/python/test_offload.py | 26 | CODE | |
| MEDIUM | tests/python/test_offload.py | 28 | CODE | |
| MEDIUM | tests/python/test_offload.py | 29 | CODE | |
| MEDIUM | tests/python/test_offload.py | 31 | CODE | |
| MEDIUM | tests/python/test_new_allocator.py | 73 | CODE | |
| MEDIUM | tests/python/test_new_allocator.py | 75 | CODE | |
| MEDIUM | tests/python/test_new_allocator.py | 78 | CODE | |
| MEDIUM | tests/python/test_new_allocator.py | 82 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/taichi/_logging.py | 120 | __all__ = [ | CODE |
| LOW | python/taichi/experimental.py | 13 | __all__ = ["real_func"] | CODE |
| LOW | python/taichi/_version_check.py | 101 | __all__ = [] | CODE |
| LOW | python/taichi/_funcs.py | 704 | __all__ = ["randn", "polar_decompose", "eig", "sym_eig", "svd", "solve"] | CODE |
| LOW | python/taichi/ui/gui.py | 1012 | __all__ = [ | CODE |
| LOW | python/taichi/_snode/__init__.py | 3 | __all__ = ["FieldsBuilder"] | CODE |
| LOW | python/taichi/tools/np2ply.py | 362 | __all__ = ["PLYWriter"] | CODE |
| LOW | python/taichi/tools/diagnose.py | 122 | __all__ = [] | CODE |
| LOW | python/taichi/tools/vtk.py | 34 | __all__ = ["write_vtk"] | CODE |
| LOW | python/taichi/tools/video.py | 259 | __all__ = ["VideoManager"] | CODE |
| LOW | python/taichi/tools/image.py | 127 | __all__ = ["imread", "imresize", "imshow", "imwrite"] | CODE |
| LOW | python/taichi/types/primitive_types.py | 175 | __all__ = [ | CODE |
| LOW | python/taichi/types/texture_type.py | 83 | __all__ = ["texture", "rw_texture"] | CODE |
| LOW | python/taichi/types/ndarray_type.py | 139 | __all__ = ["ndarray"] | CODE |
| LOW | python/taichi/types/compound_types.py | 88 | __all__ = ["matrix", "vector", "struct", "argpack"] | CODE |
| LOW | python/taichi/types/utils.py | 11 | __all__ = ["is_signed", "is_integral", "is_real", "is_tensor"] | CODE |
| LOW | python/taichi/types/quant.py | 81 | __all__ = ["int", "fixed", "float"] | CODE |
| LOW | python/taichi/types/annotations.py | 44 | __all__ = ["template", "sparse_matrix_builder"] | CODE |
| LOW | python/taichi/ad/_ad.py | 521 | __all__ = [ | CODE |
| LOW | python/taichi/linalg/sparse_matrix.py | 300 | __all__ = ["SparseMatrix", "SparseMatrixBuilder"] | CODE |
| LOW | python/taichi/graph/_graph.py | 289 | __all__ = ["GraphBuilder", "Graph", "Arg", "ArgKind"] | CODE |
| LOW | python/taichi/algorithms/_algorithms.py | 115 | __all__ = ["parallel_sort", "PrefixSumExecutor"] | CODE |
| LOW | python/taichi/math/mathimpl.py | 820 | __all__ = [ | CODE |
| LOW | python/taichi/math/_complex.py | 203 | __all__ = ["cconj", "cdiv", "cexp", "cinv", "clog", "cmul", "cpow", "csqrt"] | CODE |
| LOW | python/taichi/lang/field.py | 462 | __all__ = ["BitpackedFields", "Field", "ScalarField"] | CODE |
| LOW | python/taichi/lang/matrix.py | 1875 | __all__ = ["Matrix", "Vector", "MatrixField", "MatrixNdarray", "VectorNdarray"] | CODE |
| LOW | python/taichi/lang/misc.py | 766 | __all__ = [ | CODE |
| LOW | python/taichi/lang/_ndrange.py | 149 | __all__ = ["ndrange"] | CODE |
| LOW | python/taichi/lang/exception.py | 70 | __all__ = [ | CODE |
| LOW | python/taichi/lang/kernel_impl.py | 1245 | __all__ = ["data_oriented", "func", "kernel", "pyfunc", "real_func"] | CODE |
| LOW | python/taichi/lang/enums.py | 47 | __all__ = ["Layout", "AutodiffMode", "SNodeGradType", "Format", "DeviceCapability"] | CODE |
| LOW | python/taichi/lang/runtime_ops.py | 11 | __all__ = ["sync"] | CODE |
| LOW | python/taichi/lang/util.py | 378 | __all__ = [] | CODE |
| LOW | python/taichi/lang/argpack.py | 410 | __all__ = ["ArgPack"] | CODE |
| LOW | python/taichi/lang/snode.py | 474 | __all__ = [ | CODE |
| LOW | python/taichi/lang/__init__.py | 20 | __all__ = [ | CODE |
| LOW | python/taichi/lang/any_array.py | 97 | __all__ = [] | CODE |
| LOW | python/taichi/lang/mesh.py | 685 | __all__ = ["Mesh", "MeshInstance"] | CODE |
| LOW | python/taichi/lang/ops.py | 1451 | __all__ = [ | CODE |
| LOW | python/taichi/lang/_ndarray.py | 340 | __all__ = ["Ndarray", "ScalarNdarray"] | CODE |
| LOW | python/taichi/lang/_wrap_inspect.py | 187 | __all__ = ["getsourcelines", "getsourcefile"] | CODE |
| LOW | python/taichi/lang/source_builder.py | 148 | __all__ = [] | CODE |
| LOW | python/taichi/lang/impl.py | 1195 | __all__ = [ | CODE |
| LOW | python/taichi/lang/struct.py | 852 | __all__ = ["Struct", "StructField", "dataclass"] | CODE |
| LOW | python/taichi/lang/expr.py | 170 | __all__ = [] | CODE |
| LOW | python/taichi/lang/simt/subgroup.py | 156 | __all__ = [ | CODE |
| LOW | python/taichi/lang/simt/__init__.py | 3 | __all__ = ["warp", "subgroup", "block", "grid"] | CODE |
| LOW | python/taichi/lang/simt/warp.py | 78 | __all__ = [ | CODE |
| LOW | python/taichi/profiler/memory_profiler.py | 13 | __all__ = ["print_memory_profiler_info"] | CODE |
| LOW | python/taichi/profiler/kernel_profiler.py | 582 | __all__ = [ | CODE |
| LOW | python/taichi/profiler/scoped_profiler.py | 34 | __all__ = ["print_scoped_profiler_info", "clear_scoped_profiler_info"] | CODE |
| LOW | python/taichi/profiler/kernel_metrics.py | 258 | __all__ = ["CuptiMetric", "get_predefined_cupti_metrics"] | CODE |
| LOW | python/taichi/sparse/_sparse_grid.py | 75 | __all__ = ["grid", "usage"] | CODE |
| LOW | tests/test_utils.py | 326 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …aichi/examples/real_func/algorithm/marching_squares.py | 134 | return edges.length() | CODE |
| HIGH | …aichi/examples/real_func/algorithm/marching_squares.py | 157 | for k in range(edges.length()): | CODE |
| HIGH | python/taichi/examples/algorithm/marching_squares.py | 134 | return edges.length() | CODE |
| HIGH | python/taichi/examples/algorithm/marching_squares.py | 157 | for k in range(edges.length()): | CODE |
| HIGH | …mples/algorithm/circle-packing/circle_packing_image.py | 86 | return circles.length() | CODE |
| HIGH | python/taichi/examples/rendering/oit_renderer.py | 98 | for i in range(spheres.length()): | CODE |
| HIGH | .github/workflows/scripts/ti_build/ios.py | 106 | # obj file path -> (defined, undefined) | COMMENT |
| HIGH | .github/workflows/scripts/ti_build/ios.py | 117 | OBJECT_SYMBOLS[sp] = (set(defined), set(undefined)) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misc/ci_setup.py | 166 | except Exception as e: | CODE |
| LOW | python/taichi/ui/utils.py | 82 | except Exception: | CODE |
| LOW | python/taichi/tools/diagnose.py | 27 | except Exception as e: | CODE |
| LOW | python/taichi/tools/diagnose.py | 43 | except Exception as e: | CODE |
| LOW | python/taichi/tools/diagnose.py | 55 | except Exception as e: | CODE |
| LOW⚡ | python/taichi/tools/diagnose.py | 76 | except Exception as e: | CODE |
| LOW⚡ | python/taichi/tools/diagnose.py | 83 | except Exception as e: | CODE |
| LOW⚡ | python/taichi/tools/diagnose.py | 90 | except Exception as e: | CODE |
| LOW⚡ | python/taichi/tools/diagnose.py | 97 | except Exception as e: | CODE |
| LOW⚡ | python/taichi/tools/diagnose.py | 104 | except Exception as e: | CODE |
| LOW⚡ | python/taichi/tools/diagnose.py | 111 | except Exception as e: | CODE |
| MEDIUM | python/taichi/tools/diagnose.py | 37 | def try_print(tag, expr): | CODE |
| LOW | python/taichi/_lib/utils.py | 47 | except Exception as e: | CODE |
| LOW | python/taichi/_lib/utils.py | 184 | except Exception: | CODE |
| LOW | python/taichi/_lib/utils.py | 246 | except Exception: | CODE |
| MEDIUM | python/taichi/_lib/utils.py | 66 | def locale_encode(path): | CODE |
| LOW | python/taichi/lang/misc.py | 738 | except Exception as e: | CODE |
| LOW | python/taichi/lang/kernel_impl.py | 972 | except Exception as e: | CODE |
| LOW | python/taichi/lang/ast/ast_transformer.py | 997 | except Exception as e: | CODE |
| LOW | python/taichi/lang/ast/ast_transformer_utils.py | 28 | except Exception as e: | CODE |
| LOW | tests/python/test_offline_cache.py | 178 | except Exception as e: | CODE |
| LOW | tests/cpp/conftest.py | 145 | except Exception: | CODE |
| LOW | docs/conftest.py | 301 | except Exception: | STRING |
| MEDIUM | scripts/run_clang_tidy.py | 68 | print("Error: could not find compilation database.") | CODE |
| MEDIUM | scripts/run_clang_tidy.py | 371 | print("Error exporting fixes.\n", file=sys.stderr) | CODE |
| MEDIUM | scripts/run_clang_tidy.py | 380 | print("Error applying fixes.\n", file=sys.stderr) | CODE |
| LOW | .github/workflows/scripts/sync-cache.py | 98 | except Exception: | CODE |
| MEDIUM | .github/workflows/scripts/sync-cache.py | 93 | def probe(url): | CODE |
| LOW | .github/workflows/scripts/ti_build/dep.py | 74 | except Exception: | CODE |
| LOW | .github/workflows/scripts/ti_build/dep.py | 81 | except Exception: | CODE |
| LOW | .github/workflows/scripts/ti_build/dep.py | 127 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | external/include/catch.hpp | 12661 | // No children have started. We need to check if they _can_ | COMMENT |
| LOW⚡ | taichi/transforms/make_mesh_block_local.cpp | 409 | // Step 0: simplify l2g + g2r -> l2r | COMMENT |
| LOW⚡ | taichi/transforms/make_mesh_block_local.cpp | 412 | // Step 1: A analyzer to determine which mapping should be localized | COMMENT |
| LOW⚡ | taichi/transforms/make_mesh_block_local.cpp | 416 | // Step 1: use Mesh BLS analyzer to gather which mesh attributes user declared | COMMENT |
| LOW | taichi/transforms/make_mesh_block_local.cpp | 499 | // Step 3: Cache the mappings and the attributes | COMMENT |
| LOW | taichi/transforms/make_mesh_thread_local.cpp | 59 | // Step 1: | COMMENT |
| LOW | taichi/transforms/make_mesh_thread_local.cpp | 95 | // Step 2: | COMMENT |
| LOW | taichi/transforms/make_thread_local.cpp | 140 | // Step 1: | COMMENT |
| LOW | taichi/transforms/make_thread_local.cpp | 177 | // Step 2: | COMMENT |
| LOW | taichi/transforms/make_thread_local.cpp | 188 | // Step 3: | COMMENT |
| LOW | taichi/transforms/make_block_local.cpp | 218 | // Step 1: | COMMENT |
| LOW | taichi/transforms/make_block_local.cpp | 246 | // Step 2: | COMMENT |
| LOW | taichi/transforms/make_block_local.cpp | 343 | // Step 3: | COMMENT |
| LOW | taichi/program/sparse_matrix.cpp | 396 | // Step 1: Sort coo first | COMMENT |
| LOW | taichi/program/sparse_matrix.cpp | 426 | // Step 2: coo to csr | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | misc/test_memory_pool.py | 1 | # This file is not part of standard tests since it uses too much GPU memory | COMMENT |
| MEDIUM | python/taichi/linalg/sparse_solver.py | 50 | """This method is equivalent to calling both `analyze_pattern` and then `factorize`. | STRING |
| MEDIUM | python/taichi/lang/matrix.py | 103 | # Create a function for value capturing | COMMENT |
| MEDIUM | python/taichi/lang/mesh.py | 301 | # Define the instance of the Mesh Type, stores the field (type and data) info | COMMENT |
| MEDIUM | python/taichi/lang/mesh.py | 440 | # Define the Mesh Type, stores the field type info | COMMENT |
| MEDIUM | python/taichi/lang/_wrap_inspect.py | 2 | # This module is used by Taichi's ast transformer to parse the source code. | COMMENT |
| MEDIUM | python/taichi/lang/ast/ast_transformer.py | 810 | # Create a copy for non-template arguments, | COMMENT |
| MEDIUM | python/taichi/examples/simulation/odop_solar.py | 19 | def random_vector(radius): # Create a random vector in circle | CODE |
| MEDIUM | python/taichi/profiler/kernel_profiler.py | 136 | """This function is not exposed to user now. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | taichi/transforms/make_mesh_block_local.cpp | 409 | // Step 0: simplify l2g + g2r -> l2r | COMMENT |
| LOW⚡ | taichi/transforms/make_mesh_block_local.cpp | 412 | // Step 1: A analyzer to determine which mapping should be localized | COMMENT |
| LOW⚡ | taichi/transforms/make_mesh_block_local.cpp | 416 | // Step 1: use Mesh BLS analyzer to gather which mesh attributes user declared | COMMENT |
| LOW | taichi/transforms/make_mesh_block_local.cpp | 499 | // Step 3: Cache the mappings and the attributes | COMMENT |
| LOW | taichi/program/sparse_matrix.cpp | 396 | // Step 1: Sort coo first | COMMENT |
| LOW | taichi/program/sparse_matrix.cpp | 426 | // Step 2: coo to csr | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/taichi/ui/scene.py | 190 | CODE | |
| LOW | python/taichi/ui/scene.py | 270 | CODE | |
| LOW | python/taichi/ui/scene.py | 553 | CODE | |
| LOW | python/taichi/ui/scene.py | 633 | CODE | |
| LOW | python/taichi/lang/matrix.py | 55 | CODE | |
| LOW | python/taichi/lang/matrix.py | 816 | CODE | |
| LOW | python/taichi/lang/argpack.py | 118 | CODE | |
| LOW | python/taichi/lang/snode.py | 232 | CODE | |
| LOW | python/taichi/lang/_texture.py | 85 | CODE | |
| LOW | python/taichi/lang/ast/ast_transformer_utils.py | 146 | CODE | |
| LOW | python/taichi/sparse/_sparse_grid.py | 72 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/taichi/_funcs.py | 68 | # if A is a zero matrix we simply return the pair (I, A) | COMMENT |
| LOW | python/taichi/lang/kernel_impl.py | 401 | # Taichi kernel will cache the extracted arguments, thus we can't simply return the original argument. | COMMENT |
| LOW | python/taichi/lang/ast/ast_transformer.py | 771 | # so we simply call "impl.expr_init_func(data)" to perform: | COMMENT |
| MEDIUM | python/taichi/examples/autodiff/diff_sph/diff_sph.py | 2 | # Here we utilize SPH to simulate a fountain, who tries to hit a target given by the user. | COMMENT |
| MEDIUM | taichi/ui/gui/android.cpp | 5 | // can leverage for rendering of 2D elements (circle, rectangle, ...) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/taichi/sparse/_sparse_grid.py | 11 | Creates a 2D/3D sparse grid with each element is a struct. The struct is placed on a bitmasked snode. Args: | STRING |
| HIGH | python/taichi/sparse/_sparse_grid.py | 46 | Get the usage of the sparse grid, which is in [0,1] Args: x(struct field): the sparse grid to be check | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/python/test_offline_cache.py | 259 | def helper(): | CODE |
| LOW | tests/python/test_offline_cache.py | 338 | def helper(): | CODE |
| LOW | tests/python/test_offline_cache.py | 372 | def helper(): | CODE |
| LOW | tests/python/test_offline_cache.py | 395 | def helper(): | CODE |
| LOW | tests/python/test_offline_cache.py | 464 | def helper(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/python/test_ad_snode_grad_type.py | 50 | # TODO: Add test for `adjoint_checkbit` after #5801 merged. | COMMENT |
| LOW | taichi/transforms/cfg_optimization.cpp | 30 | // TODO: implement cfg->dead_instruction_elimination() | COMMENT |
| LOW | taichi/transforms/check_out_of_bound.cpp | 40 | // TODO: implement bound check here for other situations. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/scripts/release_test.sh | 290 | # make sure to clean up the temp dir on exit | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/taichi/lang/misc.py | 361 | # Check if installed version meets the requirements. | COMMENT |