Repository Analysis

Z3Prover/z3

The Z3 Theorem Prover

1.5 Likely human-written View on GitHub
1.5
Adjusted Score
1.5
Raw Score
100%
Time Factor
2026-05-30
Last Push
12,293
Stars
C++
Language
862,964
Lines of Code
2587
Files
1016
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 53MEDIUM 94LOW 869

Pattern Findings

1016 matches across 14 categories. Click a row to expand file-level details.

Over-Commented Block630 hits · 596 pts
SeverityFileLineSnippet
LOWCMakeLists.txt541# generate files used for Z3's build. Changes to these files will trigger
LOWcmake/target_arch_detect.cpp1// This is used by the CMake build to detect
LOWexamples/userPropagator/CMakeLists.txt1################################################################################
LOWexamples/userPropagator/common.h1#pragma once
LOW…/userPropagator/user_propagator_created_maximisation.h201 else {
LOW…/userPropagator/user_propagator_created_maximisation.h221// // we expect an invalid placement, but not all queen positions have been placed yet
LOW…/userPropagator/user_propagator_created_maximisation.h241// }
LOW…/userPropagator/user_propagator_created_maximisation.h261//
LOW…/userPropagator/user_propagator_created_maximisation.h281// if (values[i] != (unsigned)-1)
LOW…/userPropagator/user_propagator_created_maximisation.h301// std::vector<z3::expr_vector> conflicts;
LOWexamples/c++/CMakeLists.txt1################################################################################
LOWexamples/python/hs.py181 relax_core(self.s, core, self.soft.formulas)
LOWexamples/python/simplify_formula.py41# evaluate each atom in fml using m and create
LOWexamples/python/example.py1# Copyright (c) Microsoft Corporation 2015, 2016
LOWexamples/python/proofreplay.py81 # (verified-smt
LOWexamples/dotnet/Program.cs1001 // foreach (Expr e in ((Expr)cur).Args)
LOWexamples/tptp/tptp5.lex.cpp61typedef unsigned short int flex_uint16_t;
LOWexamples/tptp/tptp5.lex.cpp81#ifndef INT32_MAX
LOWexamples/tptp/tptp5.lex.cpp101#else /* ! __cplusplus */
LOWexamples/tptp/tptp5.lex.cpp641static int yy_prev_more_offset = 0;
LOWexamples/tptp/tptp5.lex.cpp661#include <stdio.h>
LOWexamples/tptp/tptp5.lex.cpp681#ifndef P_VERBOSE
LOWexamples/tptp/tptp5.lex.cpp721//-----------------------------------------------------------------------------
LOWexamples/tptp/CMakeLists.txt1################################################################################
LOWexamples/tptp/tptp5.tab.c61
LOWexamples/tptp/tptp5.tab.c221#ifndef YYDEBUG
LOWexamples/tptp/tptp5.tab.c361typedef signed char yytype_int8;
LOWexamples/tptp/tptp5.tab.c381# elif defined size_t
LOWexamples/tptp/tptp5.tab.c401# ifndef YY_
LOWexamples/tptp/tptp5.tab.c441# elif defined _AIX
LOWexamples/tptp/tptp5.tab.c461# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
LOWexamples/tptp/tptp5.tab.c481# endif
LOWexamples/tptp/tptp5.tab.c1561
LOWexamples/tptp/tptp5.cpp1
LOWexamples/maxsat/CMakeLists.txt1################################################################################
LOWexamples/c/CMakeLists.txt1################################################################################
LOWexamples/c/test_capi.c1
LOWscripts/mk_genfile_common.py1# This file contains code that is common to
LOWscripts/mk_genfile_common.py501 # IN_ENUM = 2
LOWscripts/mk_genfile_common.py521 # decls = {}
LOWscripts/mk_genfile_common.py541 # for k, i in sorted(decls.items(), key=lambda pair: pair[1]):
LOWscripts/test-jupyter.yml1# Need to install jupyter-nbconvert
LOWscripts/tests/test_jni_arch_flags.py1############################################
LOW.github/workflows/tactic-to-simplifier.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"a757e37ebdbe61051167de66ffc01db51e8df74568addf252b3efe5164c
LOW.github/workflows/tactic-to-simplifier.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/tactic-to-simplifier.lock.yml41# - actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
LOW.github/workflows/smtlib-benchmark-finder.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"7fe62b76e1ec94b221dbb20fe5cd392a7a47a296f9da44c7405c343a2ca
LOW.github/workflows/smtlib-benchmark-finder.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/release-notes-updater.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"694be3150e7e0830f29ba6e32e1e9412b4ea94b2606769498bbc096c9bb
LOW.github/workflows/release-notes-updater.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/memory-safety-report.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"3ed9f3a1cb53ff5095a4ff6a8169b75a50977baeddb965694ad30555729
LOW.github/workflows/memory-safety-report.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/memory-safety-report.lock.yml41# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
LOW.github/workflows/academic-citation-tracker.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"3b5d7881e9782848114b185eed7abeb88bf511e0bd52a58ec88cb058517
LOW.github/workflows/academic-citation-tracker.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/ostrich-benchmark.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"0ec32242191968fac3261380e9254f6fffc790c0fd616efe779e78965a6
LOW.github/workflows/ostrich-benchmark.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/code-simplifier.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"a50e58358dfcf5d6e6e0b92707925040a7b1ad4f29c08cfce11cfa8c975
LOW.github/workflows/code-simplifier.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/code-simplifier.lock.yml41# - actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
570 more matches not shown…
Cross-Language Confusion47 hits · 199 pts
SeverityFileLineSnippet
HIGHexamples/python/mini_ic3.py186 s.push()
HIGHexamples/python/mini_ic3.py267 self.s_bad.push()
HIGHexamples/python/mini_ic3.py275 self.s_good.push()
HIGHexamples/python/mini_ic3.py347 s.push()
HIGHexamples/python/efsmt.py22 F.push()
HIGHexamples/python/mini_quip.py183 s.push()
HIGHexamples/python/mini_quip.py427 s.push()
HIGHexamples/python/mini_quip.py460 s.push()
HIGHexamples/python/mini_quip.py475 s.push()
HIGHexamples/python/mini_quip.py508 s.push()
HIGHexamples/python/mini_quip.py526 self.s_bad.push()
HIGHexamples/python/mini_quip.py534 self.s_good.push()
HIGHexamples/python/mini_quip.py660 s.push()
HIGHexamples/python/mini_quip.py688 self.s_bad.push()
HIGHexamples/python/mini_quip.py752 s.push()
HIGHexamples/python/mini_quip.py765 s.push()
HIGHexamples/python/mini_quip.py782 s.push()
HIGHexamples/python/bounded model checking/bubble_sort.py70 s.push()
HIGHscripts/mk_genfile_common.py368 efile.write(' if (k != null) return k;\n')
HIGHscripts/update_api.py992 file.write("for (unsigned i = 0; Z3ARG%s && i < *Z3ARG%s; ++i) { SetAO(Z3ARG%s[i], %s, i); } " % (sz
HIGHscripts/mk_util.py237 return subprocess.call(cmd, stdout=null, stderr=null)
HIGHscripts/mk_util.py2897 print("type 'cd %s && nmake'\n" % os.path.join(os.getcwd(), BUILD_DIR))
HIGHscripts/mk_util.py513 subprocess.call([OCAMLC, '-where'], stdout=t.fname, stderr=null)
HIGHdoc/mk_go_doc.py500 f.write('mkdir build && cd build\n')
HIGHdoc/mk_go_doc.py505 f.write('cd build && make</pre>\n')
HIGHsrc/api/python/z3/z3.py7283 v.push(e.arg_value(j))
HIGHsrc/api/python/z3/z3.py7566 self.push()
HIGHsrc/api/python/z3/z3.py7851 _asms.push(a)
HIGHsrc/api/python/z3/z3.py7856 _vars.push(a)
HIGHsrc/api/python/z3/z3.py7885 self.cube_vs.push(v)
HIGHsrc/api/python/z3/z3.py7933 vars.push(t)
HIGHsrc/api/python/z3/z3.py8602 self.push()
HIGHsrc/api/python/z3/z3.py12307 prop.push()
HIGHsrc/api/python/z3/z3.py6493 >>> A.push(Int('x'))
HIGHsrc/api/python/z3/z3.py6494 >>> A.push(Int('x'))
HIGHsrc/api/python/z3/z3.py6504 >>> A.push(Int('x') + 1)
HIGHsrc/api/python/z3/z3.py6505 >>> A.push(Int('y'))
HIGHsrc/api/python/z3/z3.py6533 >>> A.push(Int('x') + 1)
HIGHsrc/api/python/z3/z3.py6534 >>> A.push(Int('y'))
HIGHsrc/api/python/z3/z3.py6553 >>> A.push(Int('x'))
HIGHsrc/api/python/z3/z3.py6579 >>> A.push(x)
HIGHsrc/api/python/z3/z3.py6584 >>> A.push(x+1)
HIGHsrc/api/python/z3/z3.py6600 >>> A.push(x)
HIGHsrc/api/python/z3/z3.py7593 >>> s.push()
HIGHsrc/api/python/z3/z3.py7615 >>> s.push()
HIGHsrc/api/python/z3/z3.py7635 >>> s.push()
HIGHsrc/api/python/z3/z3.py7638 >>> s.push()
Decorative Section Separators62 hits · 185 pts
SeverityFileLineSnippet
MEDIUMexamples/python/hamiltonian/hamiltonian.py65 # =======================================================
MEDIUMexamples/python/hamiltonian/hamiltonian.py84 # =======================================================
MEDIUMscripts/update_api.py242# --------------
MEDIUMscripts/update_api.py250# --------------
MEDIUMscripts/update_api.py527# ----------------------
MEDIUMscripts/update_api.py908# ---------------------------------
MEDIUMscripts/tests/test_jni_arch_flags.py110 # ------------------------------------------------------------------
MEDIUMscripts/tests/test_jni_arch_flags.py112 # ------------------------------------------------------------------
MEDIUMscripts/tests/test_jni_arch_flags.py188 # ------------------------------------------------------------------
MEDIUMscripts/tests/test_jni_arch_flags.py190 # ------------------------------------------------------------------
MEDIUMscripts/tests/test_jni_arch_flags.py211 # ------------------------------------------------------------------
MEDIUMscripts/tests/test_jni_arch_flags.py213 # ------------------------------------------------------------------
MEDIUM.github/workflows/release.yml29 # ============================================================================
MEDIUM.github/workflows/release.yml31 # ============================================================================
MEDIUM.github/workflows/release.yml114 # ============================================================================
MEDIUM.github/workflows/release.yml116 # ============================================================================
MEDIUM.github/workflows/release.yml627 # ============================================================================
MEDIUM.github/workflows/release.yml629 # ============================================================================
MEDIUM.github/workflows/release.yml851 # ============================================================================
MEDIUM.github/workflows/release.yml853 # ============================================================================
MEDIUM.github/workflows/nightly.yml28 # ============================================================================
MEDIUM.github/workflows/nightly.yml30 # ============================================================================
MEDIUM.github/workflows/nightly.yml104 # ============================================================================
MEDIUM.github/workflows/nightly.yml106 # ============================================================================
MEDIUM.github/workflows/nightly.yml617 # ============================================================================
MEDIUM.github/workflows/nightly.yml619 # ============================================================================
MEDIUM.github/workflows/nightly.yml844 # ============================================================================
MEDIUM.github/workflows/nightly.yml846 # ============================================================================
MEDIUM.github/workflows/memory-safety.yml23 # ============================================================================
MEDIUM.github/workflows/memory-safety.yml25 # ============================================================================
MEDIUM.github/workflows/memory-safety.yml113 # ============================================================================
MEDIUM.github/workflows/memory-safety.yml115 # ============================================================================
MEDIUM.github/workflows/memory-safety.yml203 # ============================================================================
MEDIUM.github/workflows/memory-safety.yml205 # ============================================================================
MEDIUM.github/workflows/ci.yml21 # ============================================================================
MEDIUM.github/workflows/ci.yml23 # ============================================================================
MEDIUM.github/workflows/ci.yml74 # ============================================================================
MEDIUM.github/workflows/ci.yml76 # ============================================================================
MEDIUM.github/workflows/ci.yml159 # ============================================================================
MEDIUM.github/workflows/ci.yml161 # ============================================================================
MEDIUM.github/workflows/ci.yml284 # ============================================================================
MEDIUM.github/workflows/ci.yml286 # ============================================================================
MEDIUM.github/workflows/ci.yml398 # ============================================================================
MEDIUM.github/workflows/ci.yml400 # ============================================================================
MEDIUM.github/workflows/ci.yml447 # ============================================================================
MEDIUM.github/workflows/ci.yml449 # ============================================================================
MEDIUM.github/workflows/ci.yml488 # ============================================================================
MEDIUM.github/workflows/ci.yml490 # ============================================================================
MEDIUM.github/workflows/ci.yml508 # ============================================================================
MEDIUM.github/workflows/ci.yml510 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml19 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml21 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml248 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml250 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml423 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml425 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml545 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml547 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml719 # ============================================================================
MEDIUM.github/workflows/nightly-validation.yml721 # ============================================================================
2 more matches not shown…
Deep Nesting97 hits · 82 pts
SeverityFileLineSnippet
LOWexamples/python/mini_ic3.py359
LOWexamples/python/hs.py252
LOWexamples/python/hs.py297
LOWexamples/python/hs.py354
LOWexamples/python/hs.py415
LOWexamples/python/visitor.py20
LOWexamples/python/visitor.py22
LOWexamples/python/mini_quip.py746
LOWexamples/python/mini_quip.py470
LOWexamples/python/mini_quip.py547
LOWexamples/python/mini_quip.py641
LOWexamples/python/mini_quip.py697
LOWexamples/python/trafficjam.py58
LOWscripts/update_version.py145
LOWscripts/mk_genfile_common.py89
LOWscripts/mk_genfile_common.py173
LOWscripts/mk_genfile_common.py267
LOWscripts/mk_genfile_common.py389
LOWscripts/mk_genfile_common.py569
LOWscripts/mk_genfile_common.py609
LOWscripts/mk_genfile_common.py669
LOWscripts/mk_genfile_common.py774
LOWscripts/mk_genfile_common.py875
LOWscripts/update_api.py210
LOWscripts/update_api.py223
LOWscripts/update_api.py253
LOWscripts/update_api.py463
LOWscripts/update_api.py552
LOWscripts/update_api.py613
LOWscripts/update_api.py923
LOWscripts/update_api.py974
LOWscripts/update_api.py1012
LOWscripts/update_api.py1239
LOWscripts/update_api.py1287
LOWscripts/update_api.py1348
LOWscripts/update_api.py1369
LOWscripts/update_api.py1477
LOWscripts/update_api.py1792
LOWscripts/update_api.py1991
LOWscripts/update_api.py117
LOWscripts/mk_copyright.py47
LOWscripts/mk_unix_dist_cmake.py98
LOWscripts/mk_unix_dist_cmake.py231
LOWscripts/mk_unix_dist.py70
LOWscripts/mk_unix_dist.py125
LOWscripts/mk_unix_dist.py194
LOWscripts/mk_win_dist_cmake.py120
LOWscripts/mk_win_dist_cmake.py286
LOWscripts/mk_win_dist_cmake.py320
LOWscripts/mk_win_dist_cmake.py406
LOWscripts/mk_nuget_task.py79
LOWscripts/mk_win_dist.py78
LOWscripts/mk_win_dist.py267
LOWscripts/mk_util.py216
LOWscripts/mk_util.py346
LOWscripts/mk_util.py748
LOWscripts/mk_util.py1030
LOWscripts/mk_util.py2540
LOWscripts/mk_util.py2842
LOWscripts/mk_util.py2920
37 more matches not shown…
Unused Imports74 hits · 71 pts
SeverityFileLineSnippet
LOWexamples/python/union_sort.py6
LOWexamples/python/all_interval_series.py7
LOWexamples/python/all_interval_series.py8
LOWexamples/python/mini_ic3.py1
LOWexamples/python/hs.py8
LOWexamples/python/simplify_formula.py1
LOWexamples/python/prooflogs.py3
LOWexamples/python/bincover.py1
LOWexamples/python/rc2.py9
LOWexamples/python/efsmt.py1
LOWexamples/python/visitor.py2
LOWexamples/python/visitor.py3
LOWexamples/python/example.py29
LOWexamples/python/socrates.py9
LOWexamples/python/parallel.py1
LOWexamples/python/mini_quip.py1
LOWexamples/python/mini_quip.py5
LOWexamples/python/trafficjam.py1
LOWexamples/python/proofreplay.py3
LOWexamples/python/complex/complex.py9
LOWexamples/python/complex/complex.py13
LOWexamples/python/hamiltonian/hamiltonian.py8
LOWexamples/python/mus/mss.py29
LOWexamples/python/mus/marco.py55
LOWscripts/mk_make.py9
LOWscripts/mk_make.py10
LOWscripts/mk_genfile_common.py16
LOWscripts/mk_unix_dist_cmake.py13
LOWscripts/mk_unix_dist_cmake.py17
LOWscripts/mk_unix_dist_cmake.py18
LOWscripts/mk_unix_dist.py10
LOWscripts/mk_unix_dist.py11
LOWscripts/mk_unix_dist.py17
LOWscripts/mk_unix_dist.py18
LOWscripts/mk_consts_files.py10
LOWscripts/mk_project.py8
LOWscripts/mk_win_dist_cmake.py17
LOWscripts/mk_nuget_task.py11
LOWscripts/mk_nuget_task.py17
LOWscripts/mk_def_file.py12
LOWscripts/mk_win_dist.py10
LOWscripts/mk_win_dist.py17
LOWscripts/mk_win_dist.py18
LOWscripts/mk_util.py15
LOWscripts/mk_util.py17
LOW.github/scripts/parse_sanitizer_reports.py15
LOWdoc/mk_api_doc.py10
LOWsrc/api/python/z3/z3.py47
LOWsrc/api/python/z3/z3.py48
LOWsrc/api/python/z3/z3.py49
LOWsrc/api/python/z3/z3.py50
LOWsrc/api/python/z3/z3.py59
LOWsrc/api/python/z3/z3.py60
LOWsrc/api/python/z3/z3num.py8
LOWsrc/api/python/z3/z3num.py9
LOWsrc/api/python/z3/z3num.py10
LOWsrc/api/python/z3/__init__.py1
LOWsrc/api/python/z3/__init__.py3
LOWsrc/api/python/z3/__init__.py4
LOWsrc/api/python/z3/__init__.py5
14 more matches not shown…
Self-Referential Comments19 hits · 54 pts
SeverityFileLineSnippet
MEDIUMexamples/python/mus/mss.py85 # Create a name, propositional atom,
MEDIUMscripts/mk_genfile_common.py1# This file contains code that is common to
MEDIUMscripts/update_api.py31# This file is a big HACK.
MEDIUMscripts/mk_unix_dist_cmake.py165# Create a build directory using CMake
MEDIUMscripts/mk_unix_dist.py124# Create a build directory using mk_make.py
MEDIUMscripts/mk_win_dist_cmake.py199# Create a build directory using mk_make.py
MEDIUMscripts/mk_win_dist.py132# Create a build directory using mk_make.py
MEDIUMscripts/mk_win_dist.py255# Create a zip file for each platform
MEDIUM.github/workflows/release.yml159 # Create a test path with same length as typical setup-z3 usage
MEDIUM.github/workflows/release.yml218 # Create a test path with same length as typical setup-z3 usage
MEDIUM.github/workflows/nightly.yml149 # Create a test path with same length as typical setup-z3 usage
MEDIUM.github/workflows/nightly.yml208 # Create a test path with same length as typical setup-z3 usage
MEDIUM.github/workflows/build-z3-cache.yml42 # Create a cache key based on git SHA and relevant source files
MEDIUM.github/workflows/nightly-validation.yml757 # Create a test path with same length as typical setup-z3 usage
MEDIUM.github/workflows/nightly-validation.yml809 # Create a test path with same length as typical setup-z3 usage
MEDIUMsrc/api/python/z3/z3.py5730 # Create a field for every constructor, recognizer and accessor
MEDIUMsrc/api/python/z3/z3.py6363 >>> # Creating a solver for solving the second subgoal
MEDIUMsrc/api/python/z3/z3util.py20 # This function is from https://code.google.com/p/common-python-vu/source/browse/vu_common.py
MEDIUMsrc/api/mcp/z3mcp.py5# Create an MCP server
Excessive Try-Catch Wrapping26 hits · 33 pts
SeverityFileLineSnippet
MEDIUMscripts/update_version.py31 print(f"Error reading VERSION.txt: {e}")
MEDIUMscripts/update_version.py63 print(f"Error updating MODULE.bazel: {e}")
MEDIUMscripts/update_version.py96 print(f"Error updating .github/workflows/nightly.yml: {e}")
MEDIUMscripts/update_version.py141 print(f"Error updating .github/workflows/nuget-build.yml: {e}")
MEDIUMscripts/update_version.py222 print(f"Error updating .github/workflows/release.yml: {e}")
LOWscripts/mk_genfile_common.py727 except Exception as e:
LOWscripts/mk_genfile_common.py737 except Exception as e:
LOWscripts/mk_genfile_common.py747 except Exception as e:
LOWscripts/mk_genfile_common.py752 except Exception as e:
LOWscripts/update_api.py1904 except Exception as e:
LOWscripts/update_api.py1912 except Exception as e:
LOWscripts/update_api.py1806 except Exception as e:
LOW.github/workflows/smtlib-benchmark-finder.md124 except Exception:
LOW…thub/skills/static-analysis/scripts/static_analysis.py130 except Exception as exc:
LOWdoc/mk_api_doc.py472except Exception:
LOWdoc/mk_go_doc.py38 except Exception as e:
LOWdoc/mk_go_doc.py143 except Exception as e:
LOWdoc/mk_go_doc.py172 except Exception as e:
LOWdoc/mk_go_doc.py214 except Exception as e:
LOWdoc/mk_go_doc.py242 except Exception as e:
LOWdoc/mk_go_doc.py282 except Exception as e:
MEDIUMdoc/mk_go_doc.py283 print(f"Error generating godoc markdown: {e}")
LOWdoc/mk_go_doc.py590 except Exception as e:
LOWdoc/mk_go_doc.py650 except Exception as e:
MEDIUMsrc/api/python/z3/z3.py152def _get_args(args):
LOWsrc/api/python/z3/z3.py174 except Exception:
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippet
HIGHsrc/api/python/z3/z3.py0assert constraints as background axioms for the fixedpoint solver. alias for assert_expr.
HIGHsrc/api/python/z3/z3.py0assert constraints as background axioms for the fixedpoint solver. alias for assert_expr.
HIGHsrc/api/python/z3/z3.py0assert constraints as background axioms for the fixedpoint solver. alias for assert_expr.
HIGHsrc/api/python/z3/z3.py0return a z3 floating point expression as a python string.
HIGHsrc/api/python/z3/z3.py0return a z3 floating point expression as a python string.
HIGHsrc/api/python/z3/z3.py0return a z3 floating point expression as a python string.
Redundant / Tautological Comments15 hits · 26 pts
SeverityFileLineSnippet
LOWexamples/python/mini_ic3.py173# Check if the initial state is bad
LOWexamples/python/mini_ic3.py233 # Check if there are two states next to each other that have the same clauses.
LOWexamples/python/mini_ic3.py344 # Check if the negation of cube is inductive at level f
LOWexamples/python/bincover.py213 # Check if bin has already been blocked
LOWexamples/python/mini_quip.py170# Check if the initial state is bad
LOWexamples/python/mini_quip.py505 # Check if the negation of cube is inductive at level f
LOWexamples/python/mini_quip.py640 # Check if there are two states next to each other that have the same clauses.
LOWexamples/python/hamiltonian/hamiltonian.py4# Check if the given graph has a Hamiltonian cycle.
LOWscripts/mk_win_dist_cmake.py243# Check if on Visual Studio command prompt
LOWscripts/mk_win_dist.py164# Check if on Visual Studio command prompt
LOWdoc/mk_go_doc.py580 # Check if README exists and copy it
LOWdoc/mk_go_doc.py613 # Check if Go is installed
LOWsrc/api/go/add_godoc.py33 # Check if comment already exists
LOWsrc/api/go/add_godoc.py41 # Check if this line matches our pattern
LOWsrc/api/go/add_godoc.py43 # Check if previous line is already a comment
Hyper-Verbose Identifiers27 hits · 25 pts
SeverityFileLineSnippet
LOWscripts/update_version.py66def update_github_nightly_yml(version):
LOWscripts/update_version.py99def update_github_nuget_build_yml(version):
LOWscripts/update_version.py145def update_github_release_yml(version):
LOWscripts/mk_genfile_common.py43def sorted_headers_by_component(l):
LOWscripts/mk_genfile_common.py609def mk_gparams_register_modules_internal(h_files_full_path, path):
LOWscripts/mk_genfile_common.py669def mk_install_tactic_cpp_internal(h_files_full_path, path):
LOWscripts/mk_genfile_common.py774def mk_mem_initializer_cpp_internal(h_files_full_path, path):
LOWscripts/mk_util.py3029def mk_all_mem_initializer_cpps():
LOWscripts/mk_util.py3038def mk_gparams_register_modules(cnames, path):
LOWscripts/mk_util.py3048def mk_all_gparams_register_modules():
LOWscripts/mk_util.py2990def get_header_files_for_components(component_src_dirs):
LOWscripts/mk_util.py3010def mk_all_install_tactic_cpps():
LOWscripts/mk_util.py3250def mk_vs_proj_property_groups(f, name, target_ext, type):
LOWscripts/mk_util.py3539 def create_relative_symbolic_link(cls, out, target, link_name):
LOWscripts/mk_util.py845def validate_guard_cf_compatibility(final_cxxflags):
LOWscripts/mk_util.py972def is_python_install_enabled():
LOWscripts/mk_util.py1123 def add_rule_for_each_include(self, out, basename):
LOWscripts/tests/test_jni_arch_flags.py174 def test_linux_uses_slink_extra_flags(self):
LOWscripts/tests/test_jni_arch_flags.py192 def test_windows_links_against_lib_ext(self):
LOWdoc/mk_go_doc.py20def extract_types_and_functions(filepath):
LOWsrc/api/python/setup.py264 def ignore_python_setup_files(src, _):
LOWsrc/api/python/setup.py299 def remove_build_machine_os_version(self, platform, os_version_tag):
LOWsrc/api/python/z3/z3.py8306 def get_rule_names_along_trace(self):
LOWsrc/api/python/z3/z3.py8337 def set_predicate_representation(self, f, *representations):
LOWsrc/api/python/z3/z3.py10092def get_default_rounding_mode(ctx=None):
LOWsrc/api/python/z3/z3.py10116def set_default_rounding_mode(rm, ctx=None):
LOWsrc/api/js/src/high-level/high-level.ts4895 function createPolymorphicDatatype(typeParams: Sort<Name>[], datatype: DatatypeImpl): DatatypeSortImpl {
AI Slop Vocabulary8 hits · 19 pts
SeverityFileLineSnippet
LOWexamples/python/mini_ic3.py335 # otherwise, just return the cube.
LOWexamples/python/mini_quip.py444 # otherwise, just return the cube.
LOWscripts/update_api.py1756 # As we have no output parameters, we simply return the result
MEDIUMsrc/util/mpn.cpp54 // Essentially Knuth's Algorithm A
MEDIUMsrc/util/mpn.cpp79 // Essentially Knuth's Algorithm S
MEDIUMsrc/util/mpn.cpp99 // Essentially Knuth's Algorithm M.
MEDIUMsrc/muz/spacer/spacer_iuc_solver.cpp171 // XXX This might not be the most robust way to check
MEDIUMsrc/api/dotnet/Goal.cs203 /// <remarks>Essentially invokes the `simplify' tactic on the goal.</remarks>
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippet
MEDIUMscripts/mk_util.py2862 # out.write("\t@echo If you are doing a staged install you can use DESTDIR.\n")
LOWsrc/ast/rewriter/der.cpp392 // don't forget to update the quantifier patterns
LOWsrc/qe/lite/qe_lite_tactic.cpp406 // don't forget to update the quantifier patterns
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippet
LOWsrc/smt/smt_quantifier.cpp54 // When the justification of an argument changes m_proof_is_logged is not reset => We need to check if t
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWsrc/api/go/propagator.go26// Example usage: