[ { "path": "src/calc.py", "floor": "isolated", "why": "ordinary module" }, { "path": "src/pkg/utils.py", "floor": "isolated", "why": "ordinary module" }, { "path": "src/__init__.py", "floor": "isolated", "why": "ordinary module" }, { "path": "tests/test_calc.py", "floor": "isolated", "why": "test of ordinary code" }, { "path": "tests/conftest.py", "floor": "isolated", "why": "test support code" }, { "path": "tests/test_auth.py", "floor": "logic", "why": "test of critical code: not critical itself, but not trivial" }, { "path": "tests/auth/test_login.py", "floor": "logic", "why": "test of critical code" }, { "path": "tests/test_migrations.py", "floor": "logic", "why": "test of data code" }, { "path": "tests/fixtures/users.json", "floor": "isolated", "why": "test fixture" }, { "path": "tests/fixtures/seed.sql", "floor": "isolated", "why": "SQL that is only test data" }, { "path": "app/auth/permissions.py", "floor": "critical", "why": "authorization code" }, { "path": "app/auth/README.md", "floor": "trivial", "why": "documentation inside a critical directory" }, { "path": "app/payments/charge.py", "floor": "critical", "why": "moves money" }, { "path": "app/billing/invoice.py", "floor": "critical", "why": "billing moves money" }, { "path": "app/crypto/hash.py", "floor": "critical", "why": "cryptography" }, { "path": "app/models/user.py", "floor": "data", "why": "ORM model: defines stored data", "relabelled": "lead ruling 11: ORM models define stored data" }, { "path": "app/models/concerns/authenticatable.py", "floor": "critical", "why": "authentication behaviour" }, { "path": "alembic/versions/3f2a_add_users.py", "floor": "data", "why": "migration history" }, { "path": "migrations/0003_add_index.sql", "floor": "data", "why": "schema migration" }, { "path": "app/db/session.py", "floor": "data", "why": "persistence layer" }, { "path": "src/db/README.md", "floor": "trivial", "why": "documentation inside a data directory" }, { "path": "src/sparse.py", "floor": "isolated", "why": "name contains 'pars' but is not parsing" }, { "path": "src/sparse_matrix.py", "floor": "isolated", "why": "name contains 'pars' but is not parsing" }, { "path": "src/parser.py", "floor": "logic", "why": "parsing has a broad input space" }, { "path": "src/tokenizer.py", "floor": "logic", "why": "tokenizing has a broad input space" }, { "path": "src/utils/parse_date.py", "floor": "logic", "why": "parsing has a broad input space" }, { "path": "src/money/rounding.py", "floor": "logic", "why": "money arithmetic must be exact" }, { "path": "src/pricing/discount.py", "floor": "logic", "why": "pricing arithmetic" }, { "path": "src/algo/sort.py", "floor": "logic", "why": "algorithmic logic" }, { "path": "setup.py", "floor": "integration", "why": "dependency and packaging manifest" }, { "path": "pyproject.toml", "floor": "integration", "why": "dependency manifest" }, { "path": "requirements.txt", "floor": "integration", "why": "dependency manifest" }, { "path": "requirements-dev.txt", "floor": "integration", "why": "dependency manifest" }, { "path": "poetry.lock", "floor": "integration", "why": "lockfile: code you did not write changes" }, { "path": "uv.lock", "floor": "integration", "why": "lockfile" }, { "path": "Pipfile.lock", "floor": "integration", "why": "lockfile" }, { "path": "docs/index.rst", "floor": "trivial", "why": "documentation" }, { "path": "scripts/install.sh", "floor": "critical", "why": "installer changes the user's machine" }, { "path": "install.sh", "floor": "critical", "why": "installer changes the user's machine" }, { "path": "docs/installation.md", "floor": "trivial", "why": "documentation about installing" }, { "path": "PKGBUILD", "floor": "critical", "why": "package build script" }, { "path": "src/components/InstallButton.tsx", "floor": "isolated", "why": "UI component, not an installer" }, { "path": "package.json", "floor": "integration", "why": "dependency manifest" }, { "path": "package-lock.json", "floor": "integration", "why": "lockfile" }, { "path": "yarn.lock", "floor": "integration", "why": "lockfile" }, { "path": "pnpm-lock.yaml", "floor": "integration", "why": "lockfile" }, { "path": "Cargo.lock", "floor": "integration", "why": "lockfile" }, { "path": "flake.lock", "floor": "integration", "why": "lockfile" }, { "path": "Gemfile.lock", "floor": "integration", "why": "lockfile" }, { "path": "go.sum", "floor": "integration", "why": "lockfile" }, { "path": "src/hooks/useCart.ts", "floor": "isolated", "why": "React hook, not a tool hook" }, { "path": "src/hooks/useLocalStorage.ts", "floor": "isolated", "why": "React hook over browser storage" }, { "path": "src/components/AuthorCard.tsx", "floor": "isolated", "why": "'author' is not 'auth'" }, { "path": "src/components/Button.tsx", "floor": "isolated", "why": "ordinary UI component" }, { "path": "src/components/Button.test.tsx", "floor": "isolated", "why": "test of ordinary code" }, { "path": "src/components/__snapshots__/Button.test.tsx.snap", "floor": "isolated", "why": "snapshot" }, { "path": "src/styles/main.css", "floor": "trivial", "why": "styling only" }, { "path": "src/styles/theme.scss", "floor": "trivial", "why": "styling only" }, { "path": "public/logo.png", "floor": "trivial", "why": "static asset" }, { "path": "public/favicon.ico", "floor": "trivial", "why": "static asset" }, { "path": "public/index.html", "floor": "isolated", "why": "markup that can carry behaviour" }, { "path": "src/pages/api/users.ts", "floor": "integration", "why": "public interface surface" }, { "path": "server/routes/auth.ts", "floor": "critical", "why": "authentication routes" }, { "path": "server/middleware/jwt.ts", "floor": "critical", "why": "token verification" }, { "path": "server/src/queue/lock.ts", "floor": "critical", "why": "concurrency primitive" }, { "path": "src/locales/en.json", "floor": "trivial", "why": "translated strings" }, { "path": "src/utils/clock.ts", "floor": "isolated", "why": "'clock' is not a lock" }, { "path": "src/utils/block.ts", "floor": "isolated", "why": "'block' is not a lock" }, { "path": "tsconfig.json", "floor": "integration", "why": "build configuration changes how every module is built", "relabelled": "lead ruling 8-10: build configuration is integration across ecosystems" }, { "path": ".eslintrc.json", "floor": "isolated", "why": "lint configuration" }, { "path": "AUTHORS.md", "floor": "trivial", "why": "documentation" }, { "path": "README.md", "floor": "trivial", "why": "documentation" }, { "path": "docs/release-notes.md", "floor": "trivial", "why": "documentation about a release" }, { "path": "CHANGELOG.md", "floor": "trivial", "why": "documentation" }, { "path": "LICENSE", "floor": "trivial", "why": "legal text only" }, { "path": "COPYING", "floor": "trivial", "why": "legal text only" }, { "path": "SECURITY.md", "floor": "trivial", "why": "documentation" }, { "path": ".gitignore", "floor": "trivial", "why": "repository metadata" }, { "path": ".editorconfig", "floor": "trivial", "why": "repository metadata" }, { "path": ".env.example", "floor": "isolated", "why": "template of settings, no secrets, but documents the config surface" }, { "path": ".env", "floor": "critical", "why": "real environment file holds secrets" }, { "path": ".env.production", "floor": "critical", "why": "real environment file holds secrets" }, { "path": "dist/bundle.js", "floor": "isolated", "why": "build output" }, { "path": "src/generated/api-types.ts", "floor": "isolated", "why": "generated code" }, { "path": "src/lib/server.min.js", "floor": "isolated", "why": "minified build output" }, { "path": "packages/ui/src/Button.tsx", "floor": "isolated", "why": "ordinary UI component in a monorepo" }, { "path": "packages/auth/src/index.ts", "floor": "critical", "why": "authentication package" }, { "path": "packages/ui/package.json", "floor": "integration", "why": "dependency manifest" }, { "path": "apps/web/src/App.tsx", "floor": "isolated", "why": "ordinary UI component in a monorepo" }, { "path": "apps/web/webpack.config.js", "floor": "integration", "why": "build configuration", "relabelled": "lead ruling 8-10: build configuration is integration" }, { "path": "vendor/lib/foo.go", "floor": "integration", "why": "vendored code you did not write" }, { "path": "src/components/ReleaseNotes.tsx", "floor": "isolated", "why": "UI component, not release machinery" }, { "path": "src/pages/releases.tsx", "floor": "isolated", "why": "a web page listing releases" }, { "path": "config/feature_flags.yml", "floor": "integration", "why": "runtime switches change behaviour across modules" }, { "path": "src/flags.json", "floor": "integration", "why": "runtime switches change behaviour across modules" }, { "path": "go.mod", "floor": "integration", "why": "dependency manifest" }, { "path": "cmd/server/main.go", "floor": "isolated", "why": "ordinary entry point" }, { "path": "internal/auth/token.go", "floor": "critical", "why": "token handling" }, { "path": "internal/sync/mutex.go", "floor": "critical", "why": "concurrency primitive" }, { "path": "internal/storage/s3.go", "floor": "data", "why": "persistence layer" }, { "path": "internal/parser/parse.go", "floor": "logic", "why": "parsing" }, { "path": "internal/handler/user_handler_test.go", "floor": "isolated", "why": "test of ordinary code" }, { "path": "api/v1/user.proto", "floor": "integration", "why": "public interface definition" }, { "path": "pkg/api/server.go", "floor": "integration", "why": "public interface surface" }, { "path": "internal/pb/user.pb.go", "floor": "isolated", "why": "generated code" }, { "path": "Makefile", "floor": "integration", "why": "build configuration changes how every module is built", "relabelled": "lead ruling 8-10: build configuration is integration across ecosystems" }, { "path": ".goreleaser.yaml", "floor": "release", "why": "release machinery" }, { "path": "Cargo.toml", "floor": "integration", "why": "dependency manifest" }, { "path": "src/main.rs", "floor": "isolated", "why": "ordinary entry point" }, { "path": "crates/core/src/lexer.rs", "floor": "logic", "why": "lexing" }, { "path": "crates/core/Cargo.toml", "floor": "integration", "why": "dependency manifest" }, { "path": "src/crypto/aes.rs", "floor": "critical", "why": "cryptography" }, { "path": "tests/integration_test.rs", "floor": "isolated", "why": "test of ordinary code" }, { "path": "build.rs", "floor": "isolated", "why": "build script" }, { "path": "pom.xml", "floor": "integration", "why": "dependency manifest" }, { "path": "build.gradle.kts", "floor": "integration", "why": "dependency manifest" }, { "path": "src/main/java/com/acme/OrderService.java", "floor": "isolated", "why": "ordinary class" }, { "path": "src/test/java/com/acme/OrderServiceTest.java", "floor": "isolated", "why": "test of ordinary code" }, { "path": "src/main/java/com/acme/security/PasswordEncoder.java", "floor": "critical", "why": "password handling" }, { "path": "src/main/resources/db/migration/V2__add_orders.sql", "floor": "data", "why": "schema migration" }, { "path": "src/main/kotlin/com/acme/pricing/TaxCalculator.kt", "floor": "logic", "why": "pricing arithmetic" }, { "path": "src/main/resources/application.yml", "floor": "isolated", "why": "application settings" }, { "path": "CMakeLists.txt", "floor": "integration", "why": "build configuration changes how every module is built", "relabelled": "lead ruling 8-10: build configuration is integration across ecosystems" }, { "path": "include/mylib/api.h", "floor": "integration", "why": "public header is an interface" }, { "path": "src/mylib.c", "floor": "isolated", "why": "ordinary source" }, { "path": "src/spinlock.c", "floor": "critical", "why": "concurrency primitive" }, { "path": "src/crypto/sha256.c", "floor": "critical", "why": "cryptography" }, { "path": "tests/test_parser.c", "floor": "isolated", "why": "test of logic code" }, { "path": "third_party/zlib/inflate.c", "floor": "integration", "why": "vendored code you did not write" }, { "path": "Gemfile", "floor": "integration", "why": "dependency manifest" }, { "path": "app/controllers/users_controller.rb", "floor": "isolated", "why": "ordinary controller" }, { "path": "db/migrate/20240101_add_x.rb", "floor": "data", "why": "schema migration" }, { "path": "db/schema.rb", "floor": "data", "why": "schema definition" }, { "path": "spec/models/user_spec.rb", "floor": "logic", "why": "test of data code (an ORM model)", "relabelled": "lead ruling 11: models are data, so their test is at least logic" }, { "path": "Package.swift", "floor": "integration", "why": "dependency manifest" }, { "path": "Package.resolved", "floor": "integration", "why": "lockfile" }, { "path": "Sources/App/Views/ProfileView.swift", "floor": "isolated", "why": "ordinary view" }, { "path": "Sources/App/Keychain/KeychainStore.swift", "floor": "critical", "why": "secret storage" }, { "path": "Tests/AppTests/ProfileTests.swift", "floor": "isolated", "why": "test of ordinary code" }, { "path": "scripts/build.sh", "floor": "isolated", "why": "build script" }, { "path": "scripts/release.sh", "floor": "release", "why": "release machinery" }, { "path": "scripts/deploy.sh", "floor": "release", "why": "deployment machinery" }, { "path": "scripts/backup.sh", "floor": "data", "why": "backup of stored data" }, { "path": "db/queries/report.sql", "floor": "data", "why": "SQL touches stored data" }, { "path": "sql/001_init.sql", "floor": "data", "why": "schema definition" }, { "path": "prisma/schema.prisma", "floor": "data", "why": "schema definition" }, { "path": "Dockerfile", "floor": "integration", "why": "image build changes what runs in production" }, { "path": "docker/Dockerfile.dev", "floor": "integration", "why": "image build" }, { "path": "docker-compose.yml", "floor": "integration", "why": "service wiring" }, { "path": ".dockerignore", "floor": "trivial", "why": "repository metadata" }, { "path": "terraform/main.tf", "floor": "integration", "why": "infrastructure change" }, { "path": "terraform/iam.tf", "floor": "critical", "why": "access policy" }, { "path": "k8s/deployment.yaml", "floor": "integration", "why": "infrastructure change" }, { "path": "charts/app/values.yaml", "floor": "integration", "why": "deployment settings" }, { "path": "ansible/playbook.yml", "floor": "integration", "why": "infrastructure change" }, { "path": ".github/workflows/ci.yml", "floor": "integration", "why": "CI pipeline change affects every merge" }, { "path": ".github/workflows/release.yml", "floor": "release", "why": "release pipeline" }, { "path": ".github/workflows/deploy.yml", "floor": "release", "why": "deployment pipeline" }, { "path": ".gitlab-ci.yml", "floor": "integration", "why": "CI pipeline" }, { "path": "Jenkinsfile", "floor": "integration", "why": "CI pipeline" }, { "path": ".githooks/pre-commit", "floor": "critical", "why": "git hook runs automatically on every commit", "relabelled": "lead ruling 13: things that run automatically on a machine are critical" }, { "path": ".husky/pre-commit", "floor": "critical", "why": "git hook runs automatically on every commit", "relabelled": "lead ruling 13: things that run automatically on a machine are critical" }, { "path": ".github/ISSUE_TEMPLATE/bug.md", "floor": "trivial", "why": "documentation" }, { "path": "api/openapi.yaml", "floor": "integration", "why": "public API schema" }, { "path": "openapi.json", "floor": "integration", "why": "public API schema" }, { "path": "schema.graphql", "floor": "integration", "why": "public API schema" }, { "path": "proto/events.proto", "floor": "integration", "why": "public interface definition" }, { "path": "src/config.schema.json", "floor": "integration", "why": "contract for configuration" }, { "path": "docs/architecture.md", "floor": "trivial", "why": "documentation" }, { "path": "docs/api/reference.md", "floor": "trivial", "why": "documentation of an API" }, { "path": "docs/migrations.md", "floor": "trivial", "why": "documentation about migrations" }, { "path": "db/migrations/README.md", "floor": "trivial", "why": "documentation of a migration directory" }, { "path": "docs/auth.md", "floor": "trivial", "why": "documentation about authentication" }, { "path": "docs/diagrams/flow.png", "floor": "trivial", "why": "image" }, { "path": "assets/fonts/inter.woff2", "floor": "trivial", "why": "font" }, { "path": "VERSION", "floor": "release", "why": "version marker for a release" }, { "path": "src/billing/README.md", "floor": "trivial", "why": "documentation inside a critical directory" }, { "path": "src/recipes/parsley.py", "floor": "isolated", "why": "parsley is a herb, not parsing" }, { "path": "web/src/components/ParsnipRecipe.vue", "floor": "isolated", "why": "parsnip is a vegetable" }, { "path": "web/src/components/Parsimony/Notice.tsx", "floor": "isolated", "why": "parsimony is not parsing" }, { "path": "src/secretary/office_hours.py", "floor": "isolated", "why": "secretary is a job title, not a secret" }, { "path": "lib/secretariat/minutes.rb", "floor": "isolated", "why": "secretariat is not a secret" }, { "path": "docs/conf.py", "floor": "isolated", "why": "a Python file in docs is code that runs" }, { "path": "docs/examples/server.go", "floor": "isolated", "why": "example program is code" }, { "path": "src/main/kotlin/com/acme/ui/NoticeBanner.kt", "floor": "isolated", "why": "code whose name begins with notice" }, { "path": "src/components/ContributorsList.tsx", "floor": "isolated", "why": "component whose name begins with contributors" }, { "path": "site/i18n/loader.js", "floor": "isolated", "why": "code in a translations directory" }, { "path": "web/src/locales/index.ts", "floor": "isolated", "why": "code in a locales directory" }, { "path": "lib/CopyingHelper.rb", "floor": "isolated", "why": "code whose name begins with copying" }, { "path": "public/assets/js/app.js", "floor": "isolated", "why": "script in an assets directory" }, { "path": "lib/acme/csv_tokenizer.rb", "floor": "logic", "why": "tokenizer: broad input space" }, { "path": "Sources/Acme/JSONDecoder.swift", "floor": "logic", "why": "decoder" }, { "path": "src/Acme/Grammar/Rules.cs", "floor": "logic", "why": "grammar" }, { "path": "app/Services/CronExpression.php", "floor": "logic", "why": "cron expression evaluation" }, { "path": "lib/acme/interval_tree.ex", "floor": "logic", "why": "interval arithmetic" }, { "path": "src/solver/simplex.py", "floor": "logic", "why": "numeric solver" }, { "path": "pkg/matcher/glob.go", "floor": "logic", "why": "pattern matcher" }, { "path": "Sources/Net/ProtocolFramer.swift", "floor": "logic", "why": "protocol framing" }, { "path": "src/main/scala/acme/ExprEvaluator.scala", "floor": "logic", "why": "expression evaluator" }, { "path": "lib/acme/diff_merger.js", "floor": "logic", "why": "merge algorithm" }, { "path": "src/codec/base64.c", "floor": "logic", "why": "codec" }, { "path": "webpack.config.js", "floor": "integration", "why": "build configuration" }, { "path": "web/vite.config.ts", "floor": "integration", "why": "build configuration" }, { "path": "app/build.gradle.kts", "floor": "integration", "why": "build configuration" }, { "path": "BUILD.bazel", "floor": "integration", "why": "build rules" }, { "path": "WORKSPACE", "floor": "integration", "why": "build workspace" }, { "path": "rollup.config.mjs", "floor": "integration", "why": "build configuration" }, { "path": "babel.config.js", "floor": "integration", "why": "transpiler configuration" }, { "path": "meson.build", "floor": "integration", "why": "build definition" }, { "path": "build.sbt", "floor": "integration", "why": "build definition" }, { "path": "justfile", "floor": "integration", "why": "build task runner" }, { "path": "gradle/wrapper/gradle-wrapper.properties", "floor": "integration", "why": "pins the build tool" }, { "path": "Directory.Build.props", "floor": "integration", "why": "build configuration" }, { "path": "renovate.json", "floor": "integration", "why": "dependency update policy" }, { "path": "app/Models/User.php", "floor": "data", "why": "ORM model" }, { "path": "src/entities/user.entity.ts", "floor": "data", "why": "ORM entity" }, { "path": "internal/repository/orders.go", "floor": "data", "why": "repository touches stored data" }, { "path": "app/Repositories/OrderRepository.php", "floor": "data", "why": "repository" }, { "path": "src/main/java/com/acme/entity/Invoice.java", "floor": "data", "why": "JPA entity" }, { "path": "Sources/App/Models/Todo.swift", "floor": "data", "why": "Fluent model" }, { "path": "src/models.py", "floor": "data", "why": "Django models" }, { "path": "src/persistence/jpa/Mapping.java", "floor": "data", "why": "persistence layer" }, { "path": "web/src/viewmodels/CartViewModel.ts", "floor": "isolated", "why": "front-end view model" }, { "path": "web/src/components/ViewModel/Dialog.tsx", "floor": "isolated", "why": "front-end view model" }, { "path": "app/src/main/java/com/acme/ui/model/ScreenState.kt", "floor": "isolated", "why": "UI state model" }, { "path": "Sources/App/ViewModels/TodoViewModel.swift", "floor": "isolated", "why": "view model" }, { "path": "ml/models/resnet.py", "floor": "isolated", "why": "machine-learning model" }, { "path": "training/model.py", "floor": "isolated", "why": "machine-learning model" }, { "path": "ai/models/classifier.py", "floor": "isolated", "why": "machine-learning model" }, { "path": "src/train_model.py", "floor": "isolated", "why": "machine-learning training script" }, { "path": "web/src/store/cart.ts", "floor": "isolated", "why": "front-end state store" }, { "path": "web/src/stores/useCartStore.ts", "floor": "isolated", "why": "front-end state store" }, { "path": ".bashrc", "floor": "critical", "why": "runs in every shell" }, { "path": "dotfiles/zsh/.zshrc", "floor": "critical", "why": "runs in every shell" }, { "path": "etc/systemd/system/sync.service", "floor": "critical", "why": "systemd unit" }, { "path": "Library/LaunchAgents/com.acme.agent.plist", "floor": "critical", "why": "launch agent" }, { "path": "config/autostart/sync.desktop", "floor": "critical", "why": "autostart entry" }, { "path": "etc/cron.d/rotate", "floor": "critical", "why": "cron job" }, { "path": "config/fish/conf.d/paths.fish", "floor": "critical", "why": "runs in every fish session" }, { "path": "hooks/pre-push", "floor": "critical", "why": "git hook" }, { "path": "config/profile.d/java.sh", "floor": "critical", "why": "runs at every login" }, { "path": "lib/acme/version.rb", "floor": "release", "why": "version marker" }, { "path": "src/acme/_version.py", "floor": "release", "why": "version marker" }, { "path": "Sources/Acme/Version.swift", "floor": "release", "why": "version marker" }, { "path": "include/acme/version.h", "floor": "release", "why": "version marker" }, { "path": ".bumpversion.cfg", "floor": "release", "why": "release tooling state" }, { "path": "release-please-config.json", "floor": "release", "why": "release tooling" }, { "path": ".changeset/config.json", "floor": "release", "why": "release tooling" }, { "path": "src/main/java/com/acme/Version.java", "floor": "release", "why": "version marker" }, { "path": "version.txt", "floor": "release", "why": "version marker" } ]