{"version": 2, "width": 110, "height": 32, "title": "Code and MR/PR review by your team's rules", "env": {"TERM": "xterm-256color", "SHELL": "/bin/bash"}}
[0.8, "o", "\r\n# The team's rule file: Google's practices and a rule of the team's own\r\n"]
[1.6, "o", "shop $ "]
[1.635, "o", "c"]
[1.67, "o", "a"]
[1.705, "o", "t"]
[1.74, "o", " "]
[1.775, "o", "."]
[1.81, "o", "f"]
[1.845, "o", "i"]
[1.88, "o", "s"]
[1.915, "o", "t"]
[1.95, "o", "r"]
[1.985, "o", "o"]
[2.02, "o", "n"]
[2.055, "o", "/"]
[2.09, "o", "r"]
[2.125, "o", "e"]
[2.16, "o", "v"]
[2.195, "o", "i"]
[2.23, "o", "e"]
[2.265, "o", "w"]
[2.3, "o", "-"]
[2.335, "o", "r"]
[2.37, "o", "u"]
[2.405, "o", "l"]
[2.44, "o", "e"]
[2.475, "o", "s"]
[2.51, "o", "."]
[2.545, "o", "t"]
[2.58, "o", "o"]
[2.615, "o", "m"]
[2.65, "o", "l"]
[2.685, "o", "\r\n"]
[2.705, "o", "# The team's code review rules: Google's practices, and one rule of the team's own.\r\n"]
[2.725, "o", "version = 1\r\n"]
[2.745, "o", "extends = \"google-eng-practices@1\"\r\n"]
[2.765, "o", "\r\n"]
[2.785, "o", "[[rules]]\r\n"]
[2.805, "o", "id = \"team.money.decimal\"\r\n"]
[2.825, "o", "title = \"Money is a Decimal\"\r\n"]
[2.845, "o", "text = \"Prices and totals are decimal.Decimal, never float.\"\r\n"]
[2.865, "o", "source = \"team\"\r\n"]
[2.885, "o", "level = \"warning\"\r\n"]
[2.905, "o", "check = { method = \"model\" }\r\n"]
[3.705, "o", "\r\n# The rules in force\r\n"]
[4.505, "o", "shop $ "]
[4.54, "o", "f"]
[4.575, "o", "i"]
[4.61, "o", "s"]
[4.645, "o", "t"]
[4.68, "o", "r"]
[4.715, "o", "o"]
[4.75, "o", "n"]
[4.785, "o", " "]
[4.82, "o", "r"]
[4.855, "o", "e"]
[4.89, "o", "v"]
[4.925, "o", "i"]
[4.96, "o", "e"]
[4.995, "o", "w"]
[5.03, "o", " "]
[5.065, "o", "r"]
[5.1, "o", "u"]
[5.135, "o", "l"]
[5.17, "o", "e"]
[5.205, "o", "s"]
[5.24, "o", " "]
[5.275, "o", "c"]
[5.31, "o", "h"]
[5.345, "o", "e"]
[5.38, "o", "c"]
[5.415, "o", "k"]
[5.45, "o", " "]
[5.485, "o", "|"]
[5.52, "o", " "]
[5.555, "o", "h"]
[5.59, "o", "e"]
[5.625, "o", "a"]
[5.66, "o", "d"]
[5.695, "o", " "]
[5.73, "o", "-"]
[5.765, "o", "2"]
[5.8, "o", "0"]
[5.835, "o", "\r\n"]
[5.855, "o", ".fistron/review-rules.toml: 17 rules, extending google-eng-practices@1\r\n"]
[5.875, "o", "  design.fits  warning  model:model  never blocks  The change is well designed and belongs here\r\n"]
[5.895, "o", "  functionality.intended  warning  model:model  never blocks  The code does what its author meant, for its users\r\n"]
[5.915, "o", "  complexity.needless  warning  model:model  never blocks  No more complex than it needs to be\r\n"]
[5.935, "o", "  complexity.functions  note  tool:complexity  may block  Functions stay small enough to follow\r\n"]
[5.955, "o", "  tests.present  warning  evidence:diff_coverage  may block  The changed code is tested\r\n"]
[5.975, "o", "  tests.assertions  warning  evidence:assert_free_tests  may block  A test asserts something\r\n"]
[5.995, "o", "  tests.fail-when-broken  note  evidence:weak_tests  may block  The tests fail when the code is broken\r\n"]
[6.015, "o", "  naming.clear  note  model:model  never blocks  Names say what things are or do\r\n"]
[6.035, "o", "  comments.why  note  model:model  never blocks  Comments explain why\r\n"]
[6.055, "o", "  style.guide  note  tool:linter  may block  The code follows the language's style guide\r\n"]
[6.075, "o", "  consistency.existing-code  warning  tool:duplication  may block  Consistent with the code around it\r\n"]
[6.095, "o", "  consistency.model  note  model:model  never blocks  No new way of doing what the project already does\r\n"]
[6.115, "o", "  documentation.updated  note  model:model  never blocks  Its documentation changes with it\r\n"]
[6.135, "o", "  context.explained  warning  evidence:intent  may block  Every part of the change is explained\r\n"]
[6.155, "o", "  context.dependencies  error  evidence:dependencies  may block  Only approved dependencies that exist\r\n"]
[6.175, "o", "  small-changes.size  note  evidence:change_size  may block  The change is small\r\n"]
[6.195, "o", "  team.money.decimal  warning  model:model  never blocks  Money is a Decimal\r\n"]
[6.215, "o", "Based on \"What to look for in a code review\" and \"Small CLs\" of the Google Engineering Practices Documentation (https://google.github.io/eng-practices/), by Google, licensed under CC BY 3.0 (https://creativecommons.org/licenses/by/3.0/). The rules' texts are summaries, changed from the original.\r\n"]
[7.015, "o", "\r\n# The whole repository audited by them\r\n"]
[7.815, "o", "shop $ "]
[7.85, "o", "f"]
[7.885, "o", "i"]
[7.92, "o", "s"]
[7.955, "o", "t"]
[7.99, "o", "r"]
[8.025, "o", "o"]
[8.06, "o", "n"]
[8.095, "o", " "]
[8.13, "o", "r"]
[8.165, "o", "e"]
[8.2, "o", "v"]
[8.235, "o", "i"]
[8.27, "o", "e"]
[8.305, "o", "w"]
[8.34, "o", " "]
[8.375, "o", "r"]
[8.41, "o", "u"]
[8.445, "o", "l"]
[8.48, "o", "e"]
[8.515, "o", "s"]
[8.55, "o", " "]
[8.585, "o", "a"]
[8.62, "o", "u"]
[8.655, "o", "d"]
[8.69, "o", "i"]
[8.725, "o", "t"]
[8.76, "o", " "]
[8.795, "o", "-"]
[8.83, "o", "-"]
[8.865, "o", "n"]
[8.9, "o", "a"]
[8.935, "o", "m"]
[8.97, "o", "e"]
[9.005, "o", " "]
[9.04, "o", "a"]
[9.075, "o", "c"]
[9.11, "o", "m"]
[9.145, "o", "e"]
[9.18, "o", "/"]
[9.215, "o", "s"]
[9.25, "o", "h"]
[9.285, "o", "o"]
[9.32, "o", "p"]
[9.355, "o", " "]
[9.39, "o", "-"]
[9.425, "o", "-"]
[9.46, "o", "o"]
[9.495, "o", "u"]
[9.53, "o", "t"]
[9.565, "o", "p"]
[9.6, "o", "u"]
[9.635, "o", "t"]
[9.67, "o", " "]
[9.705, "o", "."]
[9.74, "o", "."]
[9.775, "o", "/"]
[9.81, "o", "a"]
[9.845, "o", "u"]
[9.88, "o", "d"]
[9.915, "o", "i"]
[9.95, "o", "t"]
[9.985, "o", "\r\n"]
[10.005, "o", "1 place breaks 1 of 4 rules in 4 files\r\n"]
[10.025, "o", "  tests.assertions  1  A test asserts something\r\n"]
[10.045, "o", "  complexity.functions  0  Functions stay small enough to follow\r\n"]
[10.065, "o", "  style.guide  0  The code follows the language's style guide\r\n"]
[10.085, "o", "  consistency.existing-code  0  Consistent with the code around it\r\n"]
[10.105, "o", "  note: 8 rules a model checks are not audited (design.fits, functionality.intended, complexity.needless, naming.clear, comments.why, consistency.model, documentation.updated, team.money.decimal)\r\n"]
[10.125, "o", "  note: the evidence of a change has no meaning for a tree: tests.present, tests.fail-when-broken, context.explained, context.dependencies, small-changes.size\r\n"]
[10.145, "o", "  note: no tool's report was given: the rules tools check count nothing\r\n"]
[10.165, "o", "  written to ../audit/review-rules-audit.json\r\n"]
[10.965, "o", "\r\n# Each place as a proposed issue\r\n"]
[11.765, "o", "$ "]
[11.8, "o", "h"]
[11.835, "o", "e"]
[11.87, "o", "a"]
[11.905, "o", "d"]
[11.94, "o", " "]
[11.975, "o", "-"]
[12.01, "o", "2"]
[12.045, "o", "0"]
[12.08, "o", " "]
[12.115, "o", "a"]
[12.15, "o", "u"]
[12.185, "o", "d"]
[12.22, "o", "i"]
[12.255, "o", "t"]
[12.29, "o", "/"]
[12.325, "o", "r"]
[12.36, "o", "e"]
[12.395, "o", "v"]
[12.43, "o", "i"]
[12.465, "o", "e"]
[12.5, "o", "w"]
[12.535, "o", "-"]
[12.57, "o", "r"]
[12.605, "o", "u"]
[12.64, "o", "l"]
[12.675, "o", "e"]
[12.71, "o", "s"]
[12.745, "o", "-"]
[12.78, "o", "i"]
[12.815, "o", "s"]
[12.85, "o", "s"]
[12.885, "o", "u"]
[12.92, "o", "e"]
[12.955, "o", "s"]
[12.99, "o", "."]
[13.025, "o", "m"]
[13.06, "o", "d"]
[13.095, "o", "\r\n"]
[13.115, "o", "# Proposed issues: the code review rules' audit of 4a7a7aaba2723f39ebee106f896ba0493aa12af6\r\n"]
[13.135, "o", "\r\n"]
[13.155, "o", "## tests.assertions: A test asserts something (1)\r\n"]
[13.175, "o", "\r\n"]
[13.195, "o", "**Labels:** tech debt\r\n"]
[13.215, "o", "\r\n"]
[13.235, "o", "- [ ] `tests/test_pay.py:4`: This test asserts nothing: def test_total():\r\n"]
