Repository: arthrod/prompting
Pull request #10: Revisiting docker
Author: login: tschm
Labels: name: Review effort 1/5
name: Review effort 2/5
Created: 2025-03-26T04:42:08Z | Merged: 2025-03-26T23:00:47Z

### **User description**
I am not sure why you would need the devcontainer. I think it could go.
There are problems in the Makefile.
I simplified the docker ignore file.
Also your docker build business is somewhat too big for the purpose here. You don’t need caching etc.

To make a release:

Click on Actions in the Menu Bar, On the left side you should see “Bump version and publish”, click there, on the right side you see “Run Workflow”, click, and “Run Workflow” again....


___

### **PR Type**
Enhancement, Configuration changes, Dependencies


___

### **Description**
- Simplified and optimized Docker setup:
  - Removed `.dockerignore` and `.github/workflows/docker-build.yml`.
  - Added `docker/.dockerignore` and `docker/Dockerfile` for a cleaner structure.

- Updated workflows for tagging, pre-commit, and dependency analysis:
  - Replaced `cvxgrp` actions with `tschm/cradle` actions.
  - Added `deptry` step for dependency analysis.

- Adjusted development environment configurations:
  - Disabled `pytest` and enabled `ruff` for linting.
  - Updated `Makefile` with a new `run` target for running the app.

- Refactored `pyproject.toml` dependencies:
  - Removed `pytest` and `pytest-cov` from development dependencies.
  - Added `pre-commit` as a dev dependency.


___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Configuration changes</strong></td><td><details><summary>7 files</summary><table>
<tr>
  <td><strong>devcontainer.json</strong><dd><code>Updated linting and testing configurations</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-24ad71c8613ddcf6fd23818cb3bb477a1fb6d83af4550b0bad43099813088686">+2/-2</a>&nbsp; &nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>.dockerignore</strong><dd><code>Removed old Docker ignore file</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-2f754321d62f08ba8392b9b168b83e24ea2852bb5d815d63e767f6c3d23c6ac5">+0/-58</a>&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>docker-build.yml</strong><dd><code>Removed Docker build workflow</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-3414847e2ad632333f775cabb810f0dc0df61a570365df34750a08b00912fe82">+0/-57</a>&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>pre-commit.yml</strong><dd><code>Updated pre-commit workflow and added deptry</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-ac5eead3f3ce4863c524fff031a87b7aecccb4a0493df087a4e1c704a1505036">+11/-1</a>&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>release.yml</strong><dd><code>Updated release workflow with tagging and Docker steps</code>&nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34">+26/-3</a>&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>docker-compose.yml</strong><dd><code>Updated Dockerfile path in service configuration</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-e45e45baeda1c1e73482975a664062aa56f20c03dd9d64a827aba57775bed0d3">+1/-1</a>&nbsp; &nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>.dockerignore</strong><dd><code>Added new Docker ignore file</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-39a2532e7e2a0cc9579bf9828a36a37308c83ba0d1c1c9e7450e0fa354c2dc45">+14/-0</a>&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Enhancement</strong></td><td><details><summary>2 files</summary><table>
<tr>
  <td><strong>Makefile</strong><dd><code>Added `run` target and updated `marimo` target</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52">+7/-2</a>&nbsp; &nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>Dockerfile</strong><dd><code>Added Dockerfile for app setup and execution</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-f34da55ca08f1a30591d8b0b3e885bcc678537b2a9a4aadea4f190806b374ddc">[link]</a>&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Dependencies</strong></td><td><details><summary>1 files</summary><table>
<tr>
  <td><strong>pyproject.toml</strong><dd><code>Refactored dependencies and removed pytest</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
  <td><a href="https://github.com/arthrod/prompting/pull/10/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711">+8/-4</a>&nbsp; &nbsp; &nbsp; </td>

</tr>
</table></details></td></tr></tr></tbody></table>

___

> <details> <summary>  Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about Qodo Merge usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details>


Diff:
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index cf8d2d5..5686726 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -19,7 +19,7 @@
                 "python.linting.enabled": true,
                 "python.linting.ruffEnabled": true,
                 "python.linting.pylintEnabled": false,
-                "python.testing.pytestEnabled": true,
+                "python.testing.pytestEnabled": false,
                 "python.testing.unittestEnabled": false,
                 "python.testing.pytestArgs": ["."],
                 "python.terminal.activateEnvInCurrentTerminal": true,
diff --git a/.dockerignore b/.dockerignore
deleted file mode 100644
index 603290e..0000000
--- a/.dockerignore
+++ /dev/null
@@ -1,58 +0,0 @@
-# Git
-.git
-.gitignore
-.github
-
-# Python
-__pycache__/
-*.py[cod]
-*$py.class
-*.so
-.Python
-build/
-develop-eggs/
-dist/
-downloads/
-eggs/
-.eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-wheels/
-*.egg-info/
-.installed.cfg
-*.egg
-
-# Virtual Environments
-.env
-.venv
-env/
-venv/
-ENV/
-
-# Testing
-.pytest_cache/
-.coverage
-htmlcov/
-
-# IDE specific files
-.idea/
-.vscode/
-*.swp
-*.swo
-
-# OS specific
-.DS_Store
-Thumbs.db
-
-# Docker
-.dockerignore
-docker-compose*.yml
-
-# Local development files
-*.log
-.ruff_cache/
-.qodo
-.venv
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
deleted file mode 100644
index 4aa80d4..0000000
--- a/.github/workflows/docker-build.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-name: Build and Push Docker Image
-
-on:
-  push:
-    branches: [ main ]
-    tags: [ 'v*' ]
-  pull_request:
-    branches: [ main ]
-
-jobs:
-  build:
-    runs-on: ubuntu-latest
-    permissions:
-      contents: read
-      packages: write
-
-    steps:
-      - name: Checkout repository
-        uses: actions/checkout@v4
-
-      - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@v3
-
-      - name: Login to GitHub Container Registry
-        if: github.event_name != 'pull_request'
-        uses: docker/login-action@v3
-        with:
-          registry: ghcr.io
-          username: ${{ github.actor }}
-          password: ${{ secrets.GITHUB_TOKEN }}
-
-      - name: Extract metadata for Docker
-        id: meta
-        uses: docker/metadata-action@v5
-        with:
-          images: ghcr.io/${{ github.repository }}
-          tags: |
-            type=semver,pattern={{version}}
-            type=semver,pattern={{major}}.{{minor}}
-            type=ref,event=branch
-            type=ref,event=pr
-            type=sha
-          labels: |
-            org.opencontainers.image.title=Legal Prompting Techniques App
-            org.opencontainers.image.description=Interactive application for learning legal-focused LLM prompting techniques
-            org.opencontainers.image.vendor=Arthur Souza Rodrigues
-            org.opencontainers.image.base.name=ghcr.io/marimo-team/marimo:latest
-
-      - name: Build and push Docker image
-        uses: docker/build-push-action@v6
-        with:
-          context: .
-          push: ${{ github.event_name != 'pull_request' }}
-          tags: ${{ steps.meta.outputs.tags }}
-          labels: ${{ steps.meta.outputs.labels }}
-          cache-from: type=gha
-          cache-to: type=gha,mode=max
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 2a580fb..34b1708 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -8,4 +8,14 @@ jobs:
   pre-commit:
     runs-on: ubuntu-latest
     steps:
-      - uses: cvxgrp/.github/actions/pre-commit@v2.2.8
+      - uses: tschm/cradle/actions/pre-commit@v0.1.57
+
+  deptry:
+    runs-on: ubuntu-latest
+    steps:
+      - name: "Build the virtual environment"
+        uses: tschm/cradle/actions/environment@v0.1.57
+
+      - uses: tschm/cradle/actions/deptry@v0.1.57
+        with:
+          source-folder: prompting
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 29ee756..bc3d82a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,15 +5,38 @@ on:
 
 
 jobs:
-  tag:
+  tagging:
     permissions:
       contents: write
 
     runs-on: ubuntu-latest
 
+    outputs:
+      new_tag: ${{ steps.tag.outputs.new_tag }}
+
     steps:
       - name: Generate Tag
-        uses: cvxgrp/.github/actions/tag@v2.2.8
+        id: tag
+        uses: tschm/cradle/actions/tag@v0.1.57
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+
+  docker:
+    runs-on: ubuntu-latest
+    needs: tagging
+    steps:
+      - name: Checkout [${{ github.repository }}]
+        uses: actions/checkout@v4
+
+      - name: "Build and publish the Container"
+        uses: tschm/cradle/actions/docker@v0.1.57
         with:
+          github_actor: ${{ github.actor }}
+          github_repository: ${{ github.repository }}
+          tag: ${{ needs.tagging.outputs.new_tag }}
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          build_package: 'false'
+          labels: |
+            org.opencontainers.image.title=Legal Prompting Techniques App
+            org.opencontainers.image.description=Interactive application for learning legal-focused LLM prompting techniques
+            org.opencontainers.image.vendor=Arthur Souza Rodrigues
+            org.opencontainers.image.base.name=ghcr.io/marimo-team/marimo:latest
diff --git a/Makefile b/Makefile
index 385f23b..bede564 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ RESET := \033[0m
 
 .DEFAULT_GOAL := help
 
-.PHONY: help verify install fmt marimo clean
+.PHONY: help verify install fmt marimo run clean
 
 ##@ Development Setup
 
@@ -37,7 +37,12 @@ clean: ## Clean generated files and directories
 marimo: install ## Start a Marimo server
 	@printf "$(BLUE)Start Marimo server...$(RESET)\n"
 	@uv pip install marimo
-	@uv run marimo edit notebooks
+	@uv run marimo edit prompting
+
+run: install
+	@printf "$(BLUE)Start Marimo server...$(RESET)\n"
+	@uv pip install marimo
+	@uv run marimo run prompting/app.py
 
 ##@ Help
 
diff --git a/README.md b/README.md
index 7e0abed..3eda270 100644
--- a/README.md
+++ b/README.md
@@ -36,12 +36,12 @@ You can run the application in several ways:
 
 ```bash
 # Using make (recommended)
-make install
+# will install uv and construct the virtual environment based on the pyproject.toml file
 make run
 
-# Or using uv directly
+# Or using uv directly (assuming it is installed)
 uv venv
-uv sync --all-packages
+uv sync --install --all-packages
 uv run marimo run app.py
 ```
 
diff --git a/docker-compose.yml b/docker-compose.yml
index 8bb5ef1..d26931a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,7 +4,7 @@ services:
   prompting-app:
     build:
       context: .
-      dockerfile: Dockerfile
+      dockerfile: docker/Dockerfile
     ports:
       - "8080:8080"  # Map container port 8080 to host port 8080 (necessary for browser access)
     environment:
diff --git a/docker/.dockerignore b/docker/.dockerignore
new file mode 100644
index 0000000..c026fc0
--- /dev/null
+++ b/docker/.dockerignore
@@ -0,0 +1,14 @@
+#https://stackoverflow.com/questions/28097064/dockerignore-ignore-everything-except-a-file-and-the-dockerfile
+
+# Ignore Everything
+**
+
+# do not ignore
+!pyproject.toml
+!uv.lock
+!README.md
+!prompting
+
+# ignore
+**/__pycache__
+**/*.pyc
diff --git a/Dockerfile b/docker/Dockerfile
similarity index 78%
rename from Dockerfile
rename to docker/Dockerfile
index ec924af..1b1d081 100644
--- a/Dockerfile
+++ b/docker/Dockerfile
@@ -5,14 +5,14 @@ WORKDIR /app
 # Install uv for better dependency management
 RUN pip install -U uv
 
-# Copy project files
+# Copy project files (copies the prompting folder)
 COPY . .
 
 # Install project dependencies using uv sync
-RUN uv sync --all-packages
+RUN uv sync --install --all-packages
 
 # Create necessary directories
-RUN mkdir -p prompting/layouts data
+RUN mkdir -p data
 
 # Expose the port the app runs on
 EXPOSE 8080
diff --git a/pyproject.toml b/pyproject.toml
index 69f9c44..538eb30 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -14,12 +14,17 @@ dependencies = [
     "python-dotenv>=1.0.1",
 ]
 
-[project.optional-dependencies]
+[dependency-groups]
 dev = [
-    "ruff>=0.3.0",
-    "pytest>=8.0.0",
-    "pytest-cov>=5.0.0",
+    "pre-commit>=4.2.0",
+    "ruff>=0.11.1"
 ]
+#[project.optional-dependencies]
+#dev = [
+#    "ruff>=0.3.0",
+#    "pytest>=8.0.0",
+#    "pytest-cov>=5.0.0",
+#]
 
 [project.urls]
 "Homepage" = "https://prompting.synthetic.lawyer"
diff --git a/uv.lock b/uv.lock
index 0876303..156c660 100644
--- a/uv.lock
+++ b/uv.lock
@@ -25,6 +25,15 @@ wheels = [
     { url = "https://files.pythonhosted.org/packages/38/fc/bce832fd4fd99766c04d1ee0eead6b0ec6486fb100ae5e74c1d91292b982/certifi-2025.1.31-py3-none-any.whl", hash = "sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe", size = 166393 },
 ]
 
+[[package]]
+name = "cfgv"
+version = "3.4.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/11/74/539e56497d9bd1d484fd863dd69cbbfa653cd2aa27abfe35653494d85e94/cfgv-3.4.0.tar.gz", hash = "sha256:e52591d4c5f5dead8e0f673fb16db7949d2cfb3f7da4582893288f0ded8fe560", size = 7114 }
+wheels = [
+    { url = "https://files.pythonhosted.org/packages/c5/55/51844dd50c4fc7a33b653bfaba4c2456f06955289ca770a5dbd5fd267374/cfgv-3.4.0-py2.py3-none-any.whl", hash = "sha256:b7265b1f29fd3316bfcd2b330d63d024f2bfd8bcb8b0272f8e19a504856c48f9", size = 7249 },
+]
+
 [[package]]
 name = "click"
 version = "8.1.8"
@@ -47,42 +56,12 @@ wheels = [
 ]
 
 [[package]]
-name = "coverage"
-version = "7.7.0"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/02/36/465f5492443265e1278f9a82ffe6aeed3f1db779da0d6e7d4611a5cfb6af/coverage-7.7.0.tar.gz", hash = "sha256:cd879d4646055a573775a1cec863d00c9ff8c55860f8b17f6d8eee9140c06166", size = 809969 }
-wheels = [
-    { url = "https://files.pythonhosted.org/packages/b7/47/f7b870caa26082ff8033be074ac61dc175a6b0c965adf7b910f92a6d7cfe/coverage-7.7.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:056d3017ed67e7ddf266e6f57378ece543755a4c9231e997789ab3bd11392c94", size = 210907 },
-    { url = "https://files.pythonhosted.org/packages/ea/eb/40b39bdc6c1da403257f0fcb2c1b2fd81ff9f66c13abbe3862f42780e1c1/coverage-7.7.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:33c1394d8407e2771547583b66a85d07ed441ff8fae5a4adb4237ad39ece60db", size = 211162 },
-    { url = "https://files.pythonhosted.org/packages/53/08/42a2db41b4646d6261122773e222dd7105e2306526f2d7846de6fee808ec/coverage-7.7.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4fbb7a0c3c21908520149d7751cf5b74eb9b38b54d62997b1e9b3ac19a8ee2fe", size = 245223 },
-    { url = "https://files.pythonhosted.org/packages/78/2a/0ceb328a7e67e8639d5c7800b8161d4b5f489073ac8d5ac33b11eadee218/coverage-7.7.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bb356e7ae7c2da13f404bf8f75be90f743c6df8d4607022e759f5d7d89fe83f8", size = 242114 },
-    { url = "https://files.pythonhosted.org/packages/ba/68/42b13b849d40af1581830ff06c60f4ec84649764f4a58d5c6e20ae11cbd4/coverage-7.7.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bce730d484038e97f27ea2dbe5d392ec5c2261f28c319a3bb266f6b213650135", size = 244371 },
-    { url = "https://files.pythonhosted.org/packages/68/66/ab7c3b9fdbeb8bdd322f5b67b1886463834dba2014a534caba60fb0075ea/coverage-7.7.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:aa4dff57fc21a575672176d5ab0ef15a927199e775c5e8a3d75162ab2b0c7705", size = 244134 },
-    { url = "https://files.pythonhosted.org/packages/01/74/b833d299a479681957d6b238e16a0725586e1d56ec1e43658f3184550bb0/coverage-7.7.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b667b91f4f714b17af2a18e220015c941d1cf8b07c17f2160033dbe1e64149f0", size = 242353 },
-    { url = "https://files.pythonhosted.org/packages/f9/c5/0ed656d65da39bbab8e8fc367dc3d465a7501fea0f2b1caccfb4f6361c9f/coverage-7.7.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:693d921621a0c8043bfdc61f7d4df5ea6d22165fe8b807cac21eb80dd94e4bbd", size = 243543 },
-    { url = "https://files.pythonhosted.org/packages/87/b5/142bcff3828e4cce5d4c9ddc9222de1664464263acca09638e4eb0dbda7c/coverage-7.7.0-cp312-cp312-win32.whl", hash = "sha256:52fc89602cde411a4196c8c6894afb384f2125f34c031774f82a4f2608c59d7d", size = 213543 },
-    { url = "https://files.pythonhosted.org/packages/29/74/99d226985def03284bad6a9aff27a1079a8881ec7523b5980b00a5260527/coverage-7.7.0-cp312-cp312-win_amd64.whl", hash = "sha256:0ce8cf59e09d31a4915ff4c3b94c6514af4c84b22c4cc8ad7c3c546a86150a92", size = 214344 },
-    { url = "https://files.pythonhosted.org/packages/45/2f/df6235ec963b9eb6b6b2f3c24f70448f1ffa13b9a481c155a6caff176395/coverage-7.7.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4545485fef7a8a2d8f30e6f79ce719eb154aab7e44217eb444c1d38239af2072", size = 210934 },
-    { url = "https://files.pythonhosted.org/packages/f3/85/ff19510bf642e334845318ddb73a550d2b17082831fa9ae053ce72288be7/coverage-7.7.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:1393e5aa9441dafb0162c36c8506c648b89aea9565b31f6bfa351e66c11bcd82", size = 211212 },
-    { url = "https://files.pythonhosted.org/packages/2d/6a/af6582a419550d35eacc3e1bf9f4a936dda0ae559632a0bc4e3aef694ac8/coverage-7.7.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:316f29cc3392fa3912493ee4c83afa4a0e2db04ff69600711f8c03997c39baaa", size = 244727 },
-    { url = "https://files.pythonhosted.org/packages/55/62/7c49526111c91f3d7d27e111c22c8d08722f5b661c3f031b625b4d7bc4d9/coverage-7.7.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e1ffde1d6bc2a92f9c9207d1ad808550873748ac2d4d923c815b866baa343b3f", size = 241768 },
-    { url = "https://files.pythonhosted.org/packages/62/4b/2dc27700782be9795cbbbe98394dd19ef74815d78d5027ed894972cd1b4a/coverage-7.7.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:416e2a8845eaff288f97eaf76ab40367deafb9073ffc47bf2a583f26b05e5265", size = 243790 },
-    { url = "https://files.pythonhosted.org/packages/d3/11/9cc1ae56d3015edca69437f3121c2b44de309f6828980b29e4cc9b13246d/coverage-7.7.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5efdeff5f353ed3352c04e6b318ab05c6ce9249c25ed3c2090c6e9cadda1e3b2", size = 243861 },
-    { url = "https://files.pythonhosted.org/packages/db/e4/2398ed93edcf42ff43002d91c37be11514d825cec382606654fd44f4b8fa/coverage-7.7.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:57f3bd0d29bf2bd9325c0ff9cc532a175110c4bf8f412c05b2405fd35745266d", size = 241942 },
-    { url = "https://files.pythonhosted.org/packages/ec/fe/b6bd35b17a2b8d26bdb21d5ea4351a837ec01edf552655e833629af05b90/coverage-7.7.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3ab7090f04b12dc6469882ce81244572779d3a4b67eea1c96fb9ecc8c607ef39", size = 243228 },
-    { url = "https://files.pythonhosted.org/packages/6d/06/d8701bae1e5d865edeb00a6c2a71bd7659ca6af349789271c6fd16a57909/coverage-7.7.0-cp313-cp313-win32.whl", hash = "sha256:180e3fc68ee4dc5af8b33b6ca4e3bb8aa1abe25eedcb958ba5cff7123071af68", size = 213572 },
-    { url = "https://files.pythonhosted.org/packages/d7/c1/7e67780bfcaed6bed20100c9e1b2645e3414577b4bdad169578325249045/coverage-7.7.0-cp313-cp313-win_amd64.whl", hash = "sha256:55143aa13c49491f5606f05b49ed88663446dce3a4d3c5d77baa4e36a16d3573", size = 214372 },
-    { url = "https://files.pythonhosted.org/packages/ed/25/50b0447442a415ad3da33093c589d9ef945dd6933225f1ce0ac97476397e/coverage-7.7.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:cc41374d2f27d81d6558f8a24e5c114580ffefc197fd43eabd7058182f743322", size = 211774 },
-    { url = "https://files.pythonhosted.org/packages/13/cc/3daddc707e934d3c0aafaa4a9b217f53fcf4133d4e40cc6ae63aa51243b8/coverage-7.7.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:89078312f06237417adda7c021c33f80f7a6d2db8572a5f6c330d89b080061ce", size = 211995 },
-    { url = "https://files.pythonhosted.org/packages/98/99/c92f43355d3d67f6bf8c946a350f2174e18f9ea7c8a1e36c9eb84ab7d20b/coverage-7.7.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5b2f144444879363ea8834cd7b6869d79ac796cb8f864b0cfdde50296cd95816", size = 256226 },
-    { url = "https://files.pythonhosted.org/packages/25/62/65f0f33c08e0a1632f1e487b9c2d252e8bad6a77a942836043972b0ba6d2/coverage-7.7.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:60e6347d1ed882b1159ffea172cb8466ee46c665af4ca397edbf10ff53e9ffaf", size = 251937 },
-    { url = "https://files.pythonhosted.org/packages/b2/10/99a9565aaeb159aade178c6509c8324a9c9e825b01f02242a37c2a8869f8/coverage-7.7.0-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb203c0afffaf1a8f5b9659a013f8f16a1b2cad3a80a8733ceedc968c0cf4c57", size = 254276 },
-    { url = "https://files.pythonhosted.org/packages/a7/12/206196edbf0b82250b11bf5c252fe25ebaa2b7c8d66edb0c194e7b3403fe/coverage-7.7.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:ad0edaa97cb983d9f2ff48cadddc3e1fb09f24aa558abeb4dc9a0dbacd12cbb4", size = 255366 },
-    { url = "https://files.pythonhosted.org/packages/a5/82/a2abb8d4cdd99c6a443ab6682c0eee5797490a2113a45ffaa8b6b31c5dcc/coverage-7.7.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:c5f8a5364fc37b2f172c26a038bc7ec4885f429de4a05fc10fdcb53fb5834c5c", size = 253536 },
-    { url = "https://files.pythonhosted.org/packages/4d/7d/3747e000e60ad5dd8157bd978f99979967d56cb35c55235980c85305db86/coverage-7.7.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c4e09534037933bf6eb31d804e72c52ec23219b32c1730f9152feabbd7499463", size = 254344 },
-    { url = "https://files.pythonhosted.org/packages/45/56/7c33f8a6de1b3b079374d2ae490ccf76fb7c094a23f72d10f071989fc3ef/coverage-7.7.0-cp313-cp313t-win32.whl", hash = "sha256:1b336d06af14f8da5b1f391e8dec03634daf54dfcb4d1c4fb6d04c09d83cef90", size = 214284 },
-    { url = "https://files.pythonhosted.org/packages/95/ab/657bfa6171800a67bd1c005402f06d6b78610820ef1364ea4f85b04bbb5b/coverage-7.7.0-cp313-cp313t-win_amd64.whl", hash = "sha256:b54a1ee4c6f1905a436cbaa04b26626d27925a41cbc3a337e2d3ff7038187f07", size = 215445 },
-    { url = "https://files.pythonhosted.org/packages/2a/ac/60f409a448e5b0e9b8539716f683568aa5848c1be903cdbbc805a552cdf8/coverage-7.7.0-py3-none-any.whl", hash = "sha256:708f0a1105ef2b11c79ed54ed31f17e6325ac936501fc373f24be3e6a578146a", size = 202803 },
+name = "distlib"
+version = "0.3.9"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0d/dd/1bec4c5ddb504ca60fc29472f3d27e8d4da1257a854e1d96742f15c1d02d/distlib-0.3.9.tar.gz", hash = "sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403", size = 613923 }
+wheels = [
+    { url = "https://files.pythonhosted.org/packages/91/a1/cf2472db20f7ce4a6be1253a81cfdf85ad9c7885ffbed7047fb72c24cf87/distlib-0.3.9-py2.py3-none-any.whl", hash = "sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87", size = 468973 },
 ]
 
 [[package]]
@@ -94,6 +73,15 @@ wheels = [
     { url = "https://files.pythonhosted.org/packages/8f/d7/9322c609343d929e75e7e5e6255e614fcc67572cfd083959cdef3b7aad79/docutils-0.21.2-py3-none-any.whl", hash = "sha256:dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2", size = 587408 },
 ]
 
+[[package]]
+name = "filelock"
+version = "3.18.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0a/10/c23352565a6544bdc5353e0b15fc1c563352101f30e24bf500207a54df9a/filelock-3.18.0.tar.gz", hash = "sha256:adbc88eabb99d2fec8c9c1b229b171f18afa655400173ddc653d5d01501fb9f2", size = 18075 }
+wheels = [
+    { url = "https://files.pythonhosted.org/packages/4d/36/2a115987e2d8c300a974597416d9de88f2444426de9571f4b59b2cca3acc/filelock-3.18.0-py3-none-any.whl", hash = "sha256:c401f4f8377c4464e6db25fff06205fd89bdd83b65eb0488ed1b160f780e21de", size = 16215 },
+]
+
 [[package]]
 name = "h11"
 version = "0.14.0"
@@ -132,21 +120,21 @@ wheels = [
 ]
 
 [[package]]
-name = "idna"
-version = "3.10"
+name = "identify"
+version = "2.6.9"
 source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490 }
+sdist = { url = "https://files.pythonhosted.org/packages/9b/98/a71ab060daec766acc30fb47dfca219d03de34a70d616a79a38c6066c5bf/identify-2.6.9.tar.gz", hash = "sha256:d40dfe3142a1421d8518e3d3985ef5ac42890683e32306ad614a29490abeb6bf", size = 99249 }
 wheels = [
-    { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442 },
+    { url = "https://files.pythonhosted.org/packages/07/ce/0845144ed1f0e25db5e7a79c2354c1da4b5ce392b8966449d5db8dca18f1/identify-2.6.9-py2.py3-none-any.whl", hash = "sha256:c98b4322da415a8e5a70ff6e51fbc2d2932c015532d77e9f8537b4ba7813b150", size = 99101 },
 ]
 
 [[package]]
-name = "iniconfig"
-version = "2.1.0"
+name = "idna"
+version = "3.10"
 source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f2/97/ebf4da567aa6827c909642694d71c9fcf53e5b504f2d96afea02718862f3/iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7", size = 4793 }
+sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490 }
 wheels = [
-    { url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050 },
+    { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442 },
 ]
 
 [[package]]
@@ -216,6 +204,15 @@ wheels = [
     { url = "https://files.pythonhosted.org/packages/f9/c0/fb39bd876ea2fd9509343d643690cd2f9715e6a77271e7c7b26f1eea70c1/narwhals-1.31.0-py3-none-any.whl", hash = "sha256:2a7b79bb5f511055c4c0142121fc0d4171ea171458e12d44dbd9c8fc6488e997", size = 313124 },
 ]
 
+[[package]]
+name = "nodeenv"
+version = "1.9.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/43/16/fc88b08840de0e0a72a2f9d8c6bae36be573e475a6326ae854bcc549fc45/nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", size = 47437 }
+wheels = [
+    { url = "https://files.pythonhosted.org/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314 },
+]
+
 [[package]]
 name = "packaging"
 version = "24.2"
@@ -235,12 +232,28 @@ wheels = [
 ]
 
 [[package]]
-name = "pluggy"
-version = "1.5.0"
+name = "platformdirs"
+version = "4.3.7"
 source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955 }
+sdist = { url = "https://files.pythonhosted.org/packages/b6/2d/7d512a3913d60623e7eb945c6d1b4f0bddf1d0b7ada5225274c87e5b53d1/platformdirs-4.3.7.tar.gz", hash = "sha256:eb437d586b6a0986388f0d6f74aa0cde27b48d0e3d66843640bfb6bdcdb6e351", size = 21291 }
 wheels = [
-    { url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 },
+    { url = "https://files.pythonhosted.org/packages/6d/45/59578566b3275b8fd9157885918fcd0c4d74162928a5310926887b856a51/platformdirs-4.3.7-py3-none-any.whl", hash = "sha256:a03875334331946f13c549dbd8f4bac7a13a50a895a0eb1e8c6a8ace80d40a94", size = 18499 },
+]
+
+[[package]]
+name = "pre-commit"
+version = "4.2.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+    { name = "cfgv" },
+    { name = "identify" },
+    { name = "nodeenv" },
+    { name = "pyyaml" },
+    { name = "virtualenv" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/08/39/679ca9b26c7bb2999ff122d50faa301e49af82ca9c066ec061cfbc0c6784/pre_commit-4.2.0.tar.gz", hash = "sha256:601283b9757afd87d40c4c4a9b2b5de9637a8ea02eaff7adc2d0fb4e04841146", size = 193424 }
+wheels = [
+    { url = "https://files.pythonhosted.org/packages/88/74/a88bf1b1efeae488a0c0b7bdf71429c313722d1fc0f377537fbe554e6180/pre_commit-4.2.0-py2.py3-none-any.whl", hash = "sha256:a009ca7205f1eb497d10b845e52c838a98b6cdd2102a6c8e4540e94ee75c58bd", size = 220707 },
 ]
 
 [[package]]
@@ -253,10 +266,9 @@ dependencies = [
     { name = "python-dotenv" },
 ]
 
-[package.optional-dependencies]
+[package.dev-dependencies]
 dev = [
-    { name = "pytest" },
-    { name = "pytest-cov" },
+    { name = "pre-commit" },
     { name = "ruff" },
 ]
 
@@ -264,12 +276,14 @@ dev = [
 requires-dist = [
     { name = "httpx", specifier = ">=0.28.1" },
     { name = "marimo", specifier = ">=0.11.17" },
-    { name = "pytest", marker = "extra == 'dev'", specifier = ">=8.0.0" },
-    { name = "pytest-cov", marker = "extra == 'dev'", specifier = ">=5.0.0" },
     { name = "python-dotenv", specifier = ">=1.0.1" },
-    { name = "ruff", marker = "extra == 'dev'", specifier = ">=0.3.0" },
 ]
-provides-extras = ["dev"]
+
+[package.metadata.requires-dev]
+dev = [
+    { name = "pre-commit", specifier = ">=4.2.0" },
+    { name = "ruff", specifier = ">=0.11.1" },
+]
 
 [[package]]
 name = "psutil"
@@ -337,34 +351,6 @@ wheels = [
     { url = "https://files.pythonhosted.org/packages/eb/f5/b9e2a42aa8f9e34d52d66de87941ecd236570c7ed2e87775ed23bbe4e224/pymdown_extensions-10.14.3-py3-none-any.whl", hash = "sha256:05e0bee73d64b9c71a4ae17c72abc2f700e8bc8403755a00580b49a4e9f189e9", size = 264467 },
 ]
 
-[[package]]
-name = "pytest"
-version = "8.3.5"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
-    { name = "colorama", marker = "sys_platform == 'win32'" },
-    { name = "iniconfig" },
-    { name = "packaging" },
-    { name = "pluggy" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/ae/3c/c9d525a414d506893f0cd8a8d0de7706446213181570cdbd766691164e40/pytest-8.3.5.tar.gz", hash = "sha256:f4efe70cc14e511565ac476b57c279e12a855b11f48f212af1080ef2263d3845", size = 1450891 }
-wheels = [
-    { url = "https://files.pythonhosted.org/packages/30/3d/64ad57c803f1fa1e963a7946b6e0fea4a70df53c1a7fed304586539c2bac/pytest-8.3.5-py3-none-any.whl", hash = "sha256:c69214aa47deac29fad6c2a4f590b9c4a9fdb16a403176fe154b79c0b4d4d820", size = 343634 },
-]
-
-[[package]]
-name = "pytest-cov"
-version = "6.0.0"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
-    { name = "coverage" },
-    { name = "pytest" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/be/45/9b538de8cef30e17c7b45ef42f538a94889ed6a16f2387a6c89e73220651/pytest-cov-6.0.0.tar.gz", hash = "sha256:fde0b595ca248bb8e2d76f020b465f3b107c9632e6a1d1705f17834c89dcadc0", size = 66945 }
-wheels = [
-    { url = "https://files.pythonhosted.org/packages/36/3b/48e79f2cd6a61dbbd4807b4ed46cb564b4fd50a76166b1c4ea5c1d9e2371/pytest_cov-6.0.0-py3-none-any.whl", hash = "sha256:eee6f1b9e61008bd34975a4d5bab25801eb31898b032dd55addc93e96fcaaa35", size = 22949 },
-]
-
 [[package]]
 name = "python-dotenv"
 version = "1.0.1"
@@ -477,6 +463,20 @@ wheels = [
     { url = "https://files.pythonhosted.org/packages/61/14/33a3a1352cfa71812a3a21e8c9bfb83f60b0011f5e36f2b1399d51928209/uvicorn-0.34.0-py3-none-any.whl", hash = "sha256:023dc038422502fa28a09c7a30bf2b6991512da7dcdb8fd35fe57cfc154126f4", size = 62315 },
 ]
 
+[[package]]
+name = "virtualenv"
+version = "20.29.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+    { name = "distlib" },
+    { name = "filelock" },
+    { name = "platformdirs" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c7/9c/57d19fa093bcf5ac61a48087dd44d00655f85421d1aa9722f8befbf3f40a/virtualenv-20.29.3.tar.gz", hash = "sha256:95e39403fcf3940ac45bc717597dba16110b74506131845d9b687d5e73d947ac", size = 4320280 }
+wheels = [
+    { url = "https://files.pythonhosted.org/packages/c2/eb/c6db6e3001d58c6a9e67c74bb7b4206767caa3ccc28c6b9eaf4c23fb4e34/virtualenv-20.29.3-py3-none-any.whl", hash = "sha256:3e3d00f5807e83b234dfb6122bf37cfadf4be216c53a49ac059d02414f819170", size = 4301458 },
+]
+
 [[package]]
 name = "websockets"
 version = "15.0.1"


Reviews:
user: login: gemini-code-assist[bot]
body: Hello @tschm, I'm Gemini Code Assist[^1]! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

## Summary of Changes
This pull request focuses on simplifying and improving the Docker setup for the project. According to the author, the changes include removing the `devcontainer`, simplifying the `.dockerignore` file, and streamlining the Docker build process by removing caching. The Makefile has also been updated, and a new 'run' target has been added. The GitHub Actions workflows have been modified to use actions from `tschm/cradle` and to handle Docker image building and publishing more effectively.

### Highlights
* **Docker Configuration**: The `devcontainer` directory and associated configurations have been removed, and the `.dockerignore` file has been simplified to improve build context.
* **Makefile Updates**: The Makefile has been updated to include a new 'run' target for starting the Marimo server and to edit the prompting notebooks.
* **GitHub Actions Workflows**: The GitHub Actions workflows for Docker builds and releases have been updated to use actions from `tschm/cradle`, improving the automation and management of Docker images.
* **Dependency Management**: The `pyproject.toml` file has been modified to use `dependency-groups` instead of `project.optional-dependencies` for development dependencies, and `pre-commit` has been added as a development dependency.

### Changelog
<details>
<summary>Click here to see the changelog</summary>

* **.devcontainer/devcontainer.json**
  * Disabled python linting and testing in devcontainer settings.
* **.dockerignore**
  * The entire file has been replaced with a simplified version that ignores most files except for `pyproject.toml`, `uv.lock`, `README.md`, and the `prompting` directory.
* **.github/workflows/docker-build.yml**
  * The entire file has been removed.
* **.github/workflows/pre-commit.yml**
  * Updated the `pre-commit` action to use `tschm/cradle/actions/pre-commit@v0.1.57` instead of `cvxgrp/.github/actions/pre-commit@v2.2.8`.
  * Added a new job `deptry` to check for unused dependencies.
* **.github/workflows/release.yml**
  * Renamed the `tag` job to `tagging` and added an output for the new tag.
  * Added a new job `docker` to build and publish the Docker container using `tschm/cradle/actions/docker@v0.1.57`.
* **Makefile**
  * Added a new `run` target to start the Marimo server and run the `app.py` file in the `prompting` directory.
  * Modified the `marimo` target to edit the prompting notebooks.
* **docker-compose.yml**
  * Updated the `dockerfile` path to `docker/Dockerfile`.
* **docker/.dockerignore**
  * Created a new `.dockerignore` file specifically for the Docker build context, ignoring everything except necessary files and directories.
* **pyproject.toml**
  * Replaced `project.optional-dependencies` with `dependency-groups` for development dependencies.
  * Added `pre-commit` as a development dependency.
  * Commented out `ruff`, `pytest`, and `pytest-cov` from the dev dependencies.
* **uv.lock**
  * The `uv.lock` file has been updated to reflect the changes in dependencies, including the addition of `cfgv`, `distlib`, `filelock`, `identify`, `nodeenv`, `platformdirs`, `pre-commit`, and `virtualenv`, and the removal of `coverage`, `pytest`, and `pytest-cov`.

</details>


<details>

<summary><b>Using Gemini Code Assist</b></summary>
<br>

The full guide for Gemini Code Assist can be found on our [documentation page](https://developers.google.com/gemini-code-assist/docs/review-github-code), here are some quick tips.

<b>Invoking Gemini</b>

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either `/gemini <command>` or `@gemini-code-assist <command>`. Below is a summary of the supported commands.

Feature | Command | Description
--- | --- | ---
Code Review | `/gemini review` | Performs a code review for the current pull request in its current state.
Pull Request Summary | `/gemini summary` | Provides a summary of the current pull request in its current state.
Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments.
Help | `/gemini help` | Displays a list of available commands.

<b>Customization</b>

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a `.gemini/` folder in the base of the repository. Detailed instructions can be found [here](https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github).

<b>Limitations & Feedback</b>

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with :thumbsup: and :thumbsdown: on @gemini-code-assist comments to provide feedback.

</details>

<b>You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the [Gemini Code Assist IDE Extension](https://cloud.google.com/products/gemini/code-assist).</b>


[^1]: Review the [Privacy Notices](https://policies.google.com/privacy), [Generative AI Prohibited Use Policy](https://policies.google.com/terms/generative-ai/use-policy), [Terms of Service](https://policies.google.com/terms), and learn how to configure Gemini Code Assist in GitHub [here](https://developers.google.com/gemini-code-assist/docs/review-github-code). Gemini can make mistakes, so double check it and [use code with caution](https://support.google.com/legal/answer/13505487).

---

> The Dockerfile, once grand and wide,
> Now trimmed and neat, with naught to hide.
> No cache to keep, no layers to hold,
> A simpler build, a story told.
> 
> From cradle's actions, workflows flow,
> Automating tasks, watch the images grow.
> With each new tag, a version bright,
> Legal Prompting App, shining light.


state: COMMENTED
author_association: NONE
submitted_at: 2025-03-26T04:42:17Z
user: login: gemini-code-assist[bot]
body: ## Code Review
This pull request aims to simplify the Docker setup and improve the release process. While some changes seem beneficial, others require closer examination to ensure they don't negatively impact the project's functionality or maintainability. The removal of the devcontainer and the changes to the Makefile and Docker-related files are the main areas of focus.

### Summary of Findings
* **Disabling Python Linting and Testing in `.devcontainer/devcontainer.json`**: The pull request disables Python linting and testing in the devcontainer configuration. This could lead to a decrease in code quality and an increase in potential bugs. It's important to understand the reasoning behind this change and whether it aligns with the project's goals.
* **Complete Removal of `.dockerignore` Content**: The `.dockerignore` file has been completely emptied, which could lead to sensitive files being included in the Docker image, increasing its size and potentially exposing secrets.
* **Removal of `docker-build.yml` Workflow**: The `docker-build.yml` workflow has been removed, which could break the automated Docker image building and publishing process. It's crucial to understand the implications of this change on the project's release pipeline.
* **Incomplete Portuguese Translations**: Several techniques in `prompting/app.py` lack Portuguese translations, hindering the application's multilingual support.

### Merge Readiness
The pull request is not ready to be merged. The removal of the `docker-build.yml` workflow and the emptying of the `.dockerignore` file are critical issues that need to be addressed before merging. Additionally, the disabling of Python linting and testing in the devcontainer configuration should be carefully considered. I am unable to approve this pull request, and recommend that others review and approve this code before merging. The pull request should not be merged until the critical and high severity issues are addressed.
state: CHANGES_REQUESTED
author_association: NONE
submitted_at: 2025-03-26T04:42:39Z
user: login: coderabbitai[bot]
body: **Actionable comments posted: 0**

<details>
<summary>🧹 Nitpick comments (3)</summary><blockquote>

<details>
<summary>pyproject.toml (2)</summary><blockquote>

`17-20`: **Adopt Dependency Groups for Dev Dependencies**  
The shift from using the `[project.optional-dependencies]` section to the more generalized `[dependency-groups]` is well executed. Adding `"pre-commit>=4.2.0"` into the `dev` group aligns with modern dependency management practices. Please verify that any tooling or scripts previously relying on the removed dev dependencies (e.g., `ruff`, `pytest`, and `pytest-cov`) have been updated accordingly.

---

`21-26`: **Consider Removing Obsolete Commented-Out Dependency Block**  
The old `[project.optional-dependencies]` section remains as commented-out code. To avoid potential confusion and keep the configuration clean, consider removing these lines unless they’re needed for historical reference or documentation purposes.

</blockquote></details>
<details>
<summary>.github/workflows/release.yml (1)</summary><blockquote>

`24-41`: **New Docker Job Streamlines Container Operations**  
The addition of the `docker` job that builds and publishes your container is a welcome simplification of the release process. It correctly uses the output from the `tagging` job to set the image tag and includes detailed labels for the container image.  
However, please verify that the token reference `secrets.github_token` (in lowercase) is intentionally different from the usual `GITHUB_TOKEN` (uppercase) already used in the `tagging` job. Confirm that this secret is set up correctly in the repository’s secrets.

</blockquote></details>

</blockquote></details>

<details>
<summary>📜 Review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: CHILL**
**Plan: Pro**

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between 37da492b55eca36efe01658fe585985182da5bfa and cc3171aed11418e962318f32e9a0c5afe4a7f2a8.

</details>

<details>
<summary>⛔ Files ignored due to path filters (1)</summary>

* `uv.lock` is excluded by `!**/*.lock`

</details>

<details>
<summary>📒 Files selected for processing (9)</summary>

* `.devcontainer/devcontainer.json` (1 hunks)
* `.dockerignore` (0 hunks)
* `.github/workflows/docker-build.yml` (0 hunks)
* `.github/workflows/pre-commit.yml` (1 hunks)
* `.github/workflows/release.yml` (1 hunks)
* `Makefile` (2 hunks)
* `docker-compose.yml` (1 hunks)
* `docker/.dockerignore` (1 hunks)
* `pyproject.toml` (1 hunks)

</details>

<details>
<summary>💤 Files with no reviewable changes (2)</summary>

* .dockerignore
* .github/workflows/docker-build.yml

</details>

<details>
<summary>🔇 Additional comments (8)</summary><blockquote>

<details>
<summary>docker-compose.yml (1)</summary>

`7-7`: **Update Dockerfile Path in Build Context**  
The Dockerfile path has been updated to `"docker/Dockerfile"`, which reflects a reorganization of your project files. Please confirm that this new path is correct relative to your repository structure and that the Dockerfile is appropriately located in the `docker/` directory.

</details>
<details>
<summary>docker/.dockerignore (1)</summary>

`1-15`: **Validate .dockerignore Rules**  
The newly introduced `.dockerignore` file is configured to ignore everything (`**`) by default and then selectively include key files and directories (e.g., `pyproject.toml`, `uv.lock`, `README.md`, and the `prompting` directory). It also correctly ignores Python cache directories and compiled files. Ensure that no additional critical files are inadvertently excluded from the Docker build context.

</details>
<details>
<summary>Makefile (2)</summary>

`8-8`: **Enhanced PHONY Declaration**  
The inclusion of the new `run` target in the `.PHONY` declaration ensures that Make treats it as a non-file target. This is a good practice to avoid potential conflicts if a file named “run” ever appears in the project.

---

`37-45`: **Update Marimo and Introduce Run Target**  
- The `marimo` target has been updated to run `@uv run marimo edit prompting` instead of editing notebooks, which appears to be an intentional shift reflecting a change in functionality.  
- The new `run` target installs `marimo` and executes `@uv run marimo run prompting/app.py`, simplifying the process to start the Marimo server.  

Please ensure that the new path `prompting/app.py` exists and functions as expected.

</details>
<details>
<summary>.devcontainer/devcontainer.json (1)</summary>

`19-22`: **Adjust DevContainer Linting and Testing Settings**  
The configuration changes disabling Python linting (`"python.linting.enabled": false`) and pytest (`"python.testing.pytestEnabled": false`) in your devcontainer align with the broader project changes. Verify that these modifications are intentional and that you have alternate mechanisms (such as external CI checks or pre-commit hooks) in place for linting and testing.

</details>
<details>
<summary>.github/workflows/pre-commit.yml (2)</summary>

`11-11`: **Upgrade Pre-commit Action Version**  
Switching to `tschm/cradle/actions/pre-commit@v0.1.57` should bring improvements and bug fixes in your pre-commit process. Please verify that this update maintains compatibility with your existing pre-commit hooks.

---

`13-21`: **New Dependency Analysis (deptry) Job Introduced**  
The addition of the `deptry` job, which builds a virtual environment and runs the deptry action on the `prompting` directory, enhances your dependency management practices. Confirm that the selected `source-folder` (`prompting`) is the intended directory for this analysis.

</details>
<details>
<summary>.github/workflows/release.yml (1)</summary>

`8-16`: **Enhanced Tagging Job Configuration**  
Renaming the job from `tag` to `tagging` and defining the output `new_tag` improves both clarity and the flow of data between jobs. Ensure that downstream jobs correctly reference this changed output and that any documentation is updated accordingly.

</details>

</blockquote></details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->
state: COMMENTED
author_association: NONE
submitted_at: 2025-03-26T04:46:54Z
user: login: coderabbitai[bot]
state: APPROVED
author_association: NONE
submitted_at: 2025-03-26T04:46:57Z
user: login: tschm
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-26T04:47:02Z
user: login: tschm
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-26T04:47:56Z
user: login: tschm
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-26T04:48:49Z

Review comments:
diff_hunk: @@ -16,10 +16,10 @@
             "settings": {
                 "python.pythonPath": ".venv/bin/python",
                 "python.defaultInterpreterPath": ".venv/bin/python",
-                "python.linting.enabled": true,
+                "python.linting.enabled": false,
                 "python.linting.ruffEnabled": true,
                 "python.linting.pylintEnabled": false,
-                "python.testing.pytestEnabled": true,
+                "python.testing.pytestEnabled": false,
                 "python.testing.unittestEnabled": false,
path: .devcontainer/devcontainer.json
user: login: gemini-code-assist[bot]
body: ![medium](https://img.shields.io/badge/priority-medium-yellow)

Why are linting and testing being disabled? Disabling these features might lead to lower code quality and more bugs. Consider keeping them enabled or providing a clear justification for disabling them.
created_at: 2025-03-26T04:42:39Z
author_association: NONE
diff_hunk: @@ -37,7 +37,12 @@ clean: ## Clean generated files and directories
 marimo: install ## Start a Marimo server
 	@printf "$(BLUE)Start Marimo server...$(RESET)\n"
 	@uv pip install marimo
-	@uv run marimo edit notebooks
+	@uv run marimo edit prompting
path: Makefile
user: login: gemini-code-assist[bot]
body: ![medium](https://img.shields.io/badge/priority-medium-yellow)

Why are you changing `notebooks` to `prompting` here?  Is this a directory rename?  If so, it might be good to call that out in the commit message.
created_at: 2025-03-26T04:42:39Z
author_association: NONE
diff_hunk: @@ -4,7 +4,7 @@ services:
   prompting-app:
     build:
       context: .
-      dockerfile: Dockerfile
+      dockerfile: docker/Dockerfile
path: docker-compose.yml
user: login: gemini-code-assist[bot]
body: ![medium](https://img.shields.io/badge/priority-medium-yellow)

The Dockerfile path has been changed from `Dockerfile` to `docker/Dockerfile`. Ensure that the Dockerfile is indeed located in the `docker/` directory and that this change doesn't break the Docker Compose setup.
created_at: 2025-03-26T04:42:39Z
author_association: NONE
diff_hunk: @@ -14,12 +14,16 @@ dependencies = [
     "python-dotenv>=1.0.1",
 ]
 
-[project.optional-dependencies]
+[dependency-groups]
 dev = [
-    "ruff>=0.3.0",
-    "pytest>=8.0.0",
-    "pytest-cov>=5.0.0",
+    "pre-commit>=4.2.0"
 ]
+#[project.optional-dependencies]
+#dev = [
+#    "ruff>=0.3.0",
+#    "pytest>=8.0.0",
+#    "pytest-cov>=5.0.0",
+#]
path: pyproject.toml
user: login: gemini-code-assist[bot]
body: ![medium](https://img.shields.io/badge/priority-medium-yellow)

The `dev` dependencies have been commented out and `pre-commit` has been added. Is this intentional? If so, please provide a justification for removing the original dependencies (`ruff`, `pytest`, `pytest-cov`).
created_at: 2025-03-26T04:42:39Z
author_association: NONE
diff_hunk: @@ -253,23 +266,20 @@ dependencies = [
     { name = "python-dotenv" },
 ]
 
-[package.optional-dependencies]
+[package.dev-dependencies]
 dev = [
-    { name = "pytest" },
-    { name = "pytest-cov" },
-    { name = "ruff" },
+    { name = "pre-commit" },
 ]
path: uv.lock
user: login: gemini-code-assist[bot]
body: ![medium](https://img.shields.io/badge/priority-medium-yellow)

The `dev` dependencies have been changed from `pytest`, `pytest-cov`, and `ruff` to `pre-commit`. Is this intentional? If so, please provide a justification for removing the original dependencies.
created_at: 2025-03-26T04:42:39Z
author_association: NONE
diff_hunk: @@ -37,7 +37,12 @@ clean: ## Clean generated files and directories
 marimo: install ## Start a Marimo server
 	@printf "$(BLUE)Start Marimo server...$(RESET)\n"
 	@uv pip install marimo
-	@uv run marimo edit notebooks
+	@uv run marimo edit prompting
path: Makefile
user: login: tschm
body: notebooks was used in the template
created_at: 2025-03-26T04:47:02Z
author_association: CONTRIBUTOR
diff_hunk: @@ -14,12 +14,16 @@ dependencies = [
     "python-dotenv>=1.0.1",
 ]
 
-[project.optional-dependencies]
+[dependency-groups]
 dev = [
-    "ruff>=0.3.0",
-    "pytest>=8.0.0",
-    "pytest-cov>=5.0.0",
+    "pre-commit>=4.2.0"
 ]
+#[project.optional-dependencies]
+#dev = [
+#    "ruff>=0.3.0",
+#    "pytest>=8.0.0",
+#    "pytest-cov>=5.0.0",
+#]
path: pyproject.toml
user: login: tschm
body: there are no tests in this project, hence pytest could be removed (or better tests could be introduced)
created_at: 2025-03-26T04:47:56Z
author_association: CONTRIBUTOR
diff_hunk: @@ -253,23 +266,20 @@ dependencies = [
     { name = "python-dotenv" },
 ]
 
-[package.optional-dependencies]
+[package.dev-dependencies]
 dev = [
-    { name = "pytest" },
-    { name = "pytest-cov" },
-    { name = "ruff" },
+    { name = "pre-commit" },
 ]
path: uv.lock
user: login: tschm
body: pre-commit is needed once the hooks are locally installed. This may require to run ‘make fmt’ but an explicit installation of pre-commit is no harm
created_at: 2025-03-26T04:48:49Z
author_association: CONTRIBUTOR

PR comments:
user: login: coderabbitai[bot]
created_at: 2025-03-26T04:42:16Z
body: <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- walkthrough_start -->

<details>
<summary>📝 Walkthrough</summary>

## Summary by CodeRabbit

- **New Features**
  - Introduced a new command to start the application seamlessly.
  - Enabled an automated Docker image build step for deployment.

- **Chores**
  - Enhanced development and CI workflows for smoother operations.
  - Refined dependency management and testing setup.
  - Optimized Docker build configuration and file exclusions.

- **Documentation**
  - Updated setup instructions to reflect the new run command and installation steps.
## Walkthrough
The changes include configuration modifications and file updates across various parts of the project. Python testing has been disabled in the development container. Two Docker-related files have been removed, while a new Docker ignore file has been added under Docker. Several GitHub workflow files have been modified—updating actions, renaming jobs, and adding new ones. The Makefile has new targets and updated commands. Finally, dependency declarations in the project configuration file have been restructured, reflecting updates to dependency management practices.

## Changes

| Files                                                      | Change Summary                                                                                                                                                                                                                                                                                                                                                                        |
|------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `.devcontainer/devcontainer.json`                          | Disabled Python testing (`python.testing.pytestEnabled: false`) in the container configuration.                                                                                                                                                                                                                                                                                                        |
| `.dockerignore`, `.github/workflows/docker-build.yml`      | Deleted files: removed the global Docker ignore file and the GitHub Actions workflow for building/pushing Docker images.                                                                                                                                                                                                                                                           |
| `.github/workflows/pre-commit.yml`,<br>`.github/workflows/release.yml` | Updated GitHub workflows: changed the `pre-commit` job to use a new action; added a new `deptry` job in pre-commit workflow; renamed the tagging job to `tagging`, updated its configuration, and added a new `docker` job that uses the output from tagging.                                                                                                                |
| `Makefile`                                                 | Added a new `run` target (dependent on `install`), and updated the `marimo` target command from editing notebooks to editing prompting.                                                                                                                                                                                                                                             |
| `docker-compose.yml`                                       | Updated the Dockerfile path for the `prompting-app` service from `Dockerfile` to `docker/Dockerfile`.                                                                                                                                                                                                                                                                                |
| `docker/.dockerignore`                                     | Created a new Docker ignore file that initially ignores all files, with exceptions made for specific files and directories such as `pyproject.toml`, `uv.lock`, `README.md`, and the `prompting` directory; additionally, ignores Python cache files.                                                                                                                               |
| `pyproject.toml`                                           | Restructured dependency declarations: replaced `[project.optional-dependencies]` with `[dependency-groups]` in the `dev` group, removed dependencies (`ruff`, `pytest`, `pytest-cov`), and added a new dependency (`pre-commit>=4.2.0`).                                                                                                                               |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant GW as GitHub Workflow
    participant Tag as Tagging Job
    participant Docker as Docker Job
    GW->>Tag: Trigger Tagging Job
    Tag->>Tag: Generate new tag using updated action
    Tag-->>GW: Output new_tag
    GW->>Docker: Trigger Docker Job with new_tag output
    Docker->>Docker: Checkout repo, build & publish Docker image
```

```mermaid
sequenceDiagram
    participant GW as GitHub Workflow
    participant PC as Pre-commit Job
    participant DT as Deptry Job
    GW->>PC: Trigger Pre-commit Job
    PC->>PC: Run pre-commit using tschm/cradle/actions/pre-commit@v0.1.57
    GW->>DT: Trigger Deptry Job
    DT->>DT: Build virtual environment (tschm/cradle/actions/environment@v0.1.57)
    DT->>DT: Run dependency check via tschm/cradle/actions/deptry@v0.1.57 (source-folder: prompting)
```

## Poem
> I’m a rabbit in the code garden, hopping along with cheer,  
> Changes bloom in every file, making our path more clear.  
> Docker files vanish like soft morning dew,  
> Workflows now dance to a brand new tune.  
> Makefile targets and dependency groups sing in delight,  
> Code hops forward with every update in sight! 🐇  
> Happy coding under the moonlit byte!

</details>

<!-- walkthrough_end -->


---

<details>
<summary>📜 Recent review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: CHILL**
**Plan: Lite**

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between a3edf751451e42e21c91a076cbfc30dd0861f212 and 070ef4b032ba9769ad5de20cbf46dd53612777a3.

</details>

<details>
<summary>📒 Files selected for processing (1)</summary>

* `README.md` (1 hunks)

</details>

<details>
<summary>🔇 Additional comments (3)</summary><blockquote>

<details>
<summary>README.md (3)</summary>

`39-39`: **Clarify "make run" behavior with an informative comment.**  
The added comment clearly informs the user that running `make run` will install `uv` and set up the virtual environment based on the `pyproject.toml`. This extra context improves usability and aligns with the updated installation process.

---

`42-42`: **Explain Alternative Usage for `uv` Directly.**  
The new comment clarifying the alternative method ("Or using uv directly (assuming it is installed)") is clear. It appropriately informs users who prefer to manage `uv` installations on their own.

---

`44-44`: **Update the `uv sync` Command to Include Explicit Installation.**  
Changing the command to `uv sync --install --all-packages` makes the installation step explicit. This update ensures consistency with your Dockerfile changes and avoids ambiguity about package installation responsibilities.

</details>

</blockquote></details>

</details>
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpADK2VmgqyjcEj2wAbb5AokAI7Y0riQ4rjedJAARDYkEkjq8BhEkLT4DADWlDGQAO5oyIjYAszqNPRy4bCe2IiU4YgMsMzoGPSo8EoY4gBm8NFFkBhOAo0AjAAMGjC11nYMmJDj6AwM0g301DWeffi++PkpaQCqNgAyXADasLi43IgcAPTPROqwpRpMzM8uuLAKIpnrwWNxxKkQT5vM9pgBdAAUdweT1e7wBXx+fwoAKBtBBQOY4JOUN8sKmAEoNEYAJJYAGeJTNCjwYn4DAAGl2OAB+D4JAAHrxNtJINgMBscdpevIAkQXLQTtzyBtEIh1PJ8H1uUoJExetLKFySkRSIgIWkATt1AofFVPAFmPgpLRZgBBWiK8TstC+WRchk82B8nj4FK4ZD4PAoNUhZDHAEpbkAWTQOQGUXa9DYvXg7OQVrCDPksDQUkg6qJ3ngA2igYAIpkcnx4EQMHy9vAorMPPJfYh8IwWeJgp5AwxsBQAr1II3so0BNgu/RQarEMbcNQlYWUGFUM7KN55D9uFEBZB9nxA+GyEoV5PuPgGlzuP94BPvC4j/4SPKKIrUm5epPC1Rg0BaE5qQMDwFhQCVvGwJkKwSZQ/ByY9S1SaQOAMKB7HgKsa0GbYOn4YlygAL2iOdm2Q3BsG4FZZRIJ1EkAwMDnoAADDQMnnFk2w7Lis1nJsFyXbx6HyPksj6bwji5fIEEz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xOOQWaEXafE+wTPJEZXFvzFA7cwfBkAGm9S+pNKvQXoU736FD03e1neYZ7yTYOdxhcmSYc71ea3F3mo9PMSMJ+bJt/mBQD4rbDWGEINhmJbYdckszvxt43qAJjyCPj9togGAzgP4DQDXxzh98FeCoDUDPxN4b8AwF2KFK6pugiAXVCt0GBGZaAuqQZjiFfidi+4jABgKHgmAekJgaAOgBMAmBq4JgppEgAAE4nCFuQ8aaT6Ch4Lct4tAFMAYC4FGeJANXGgA9J9ALcaAU0juLnF7iBAfQJwhMAtwQSGAEwBtDeLVxOEnCtANXGrmiZoBIJEwJwqHiQm4Ebx+E8CGgFwIMApgfQWUYYC7F9APST40PNRItyeg1ctAPoAIAtyQSPSHpNXDeL6A3iXxrkcQjeNYkTBcCauD0q5AQkgSuxaAUPHQCom4ELxckn8a+ItwTAGAN4k8VMA9JOEGA4Eg8VME9BTBTSkEgCVBIkl7iNJUwbBmrgEBTAXx9Im8ZpJvGqRcCSgC3B+PAmITPQuBHCVBPYkekpJIE0CRAAIHhRFxtAZcauK0h0BdUA8fQEAA= -->

<!-- internal state end -->
<!-- tips_start -->

---



<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=arthrod/prompting&utm_content=10):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Generate unit testing code for this file.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai generate unit testing code for this file.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and generate unit testing code.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai plan` to trigger planning for file edits and PR creation.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->
author_association: NONE
user: login: qodo-code-review[bot]
created_at: 2025-03-26T04:42:29Z
body: _Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account [here](https://app.qodo.ai/qodo-merge)._

## PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

<table>
<tr><td>⏱️&nbsp;<strong>Estimated effort to review</strong>: 2 🔵🔵⚪⚪⚪</td></tr>
<tr><td>🧪&nbsp;<strong>No relevant tests</strong></td></tr>
<tr><td>🔒&nbsp;<strong>No security concerns identified</strong></td></tr>
<tr><td>⚡&nbsp;<strong>Recommended focus areas for review</strong><br><br>

<details><summary><a href='https://github.com/arthrod/prompting/pull/10/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R40-R40'><strong>Path Discrepancy</strong></a>

The Makefile was updated to use 'prompting' directory for Marimo, but the old command used 'notebooks'. Verify that this path change is intentional and that all necessary files exist in the new location.
</summary>

```txt
@uv run marimo edit prompting
```

</details>

<details><summary><a href='https://github.com/arthrod/prompting/pull/10/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R17-R26'><strong>Dependency Configuration</strong></a>

The PR changes dependency management from 'project.optional-dependencies' to 'dependency-groups' while keeping the old configuration commented out. This mixed approach might cause confusion for future maintenance.
</summary>

```toml
[dependency-groups]
dev = [
    "pre-commit>=4.2.0"
]
#[project.optional-dependencies]
#dev = [
#    "ruff>=0.3.0",
#    "pytest>=8.0.0",
#    "pytest-cov>=5.0.0",
#]
```

</details>

<details><summary><a href='https://github.com/arthrod/prompting/pull/10/files#diff-f34da55ca08f1a30591d8b0b3e885bcc678537b2a9a4aadea4f190806b374ddcR15-R15'><strong>Directory Creation</strong></a>

The Dockerfile creates directories that might already exist in the copied project files. Verify if this explicit directory creation is necessary or if it could be removed.
</summary>

```txt
RUN mkdir -p prompting/layouts data
```

</details>

</td></tr>
</table>

author_association: NONE
user: login: qodo-code-review[bot]
created_at: 2025-03-26T04:42:46Z
body: _Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account [here](https://app.qodo.ai/qodo-merge)._

## PR Code Suggestions ✨

<!-- cc3171a -->

Explore these optional code suggestions:

<table><thead><tr><td><strong>Category</strong></td><td align=left><strong>Suggestion&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </strong></td><td align=center><strong>Impact</strong></td></tr><tbody><tr><td rowspan=1>Possible issue</td>
<td>



<details><summary>✅ 
Fix dependency installation
</summary>

___

<details><summary><b>Suggestion Impact:</b></summary>The commit implemented the suggestion by adding the --install flag to the uv sync command, ensuring that dependencies are actually installed rather than just resolved

code diff:

```diff
-RUN uv sync --all-packages
+RUN uv sync --install --all-packages
```

</details>


___


**The <code>uv sync</code> command doesn't install packages by default. You should use <code>uv pip </code><br><code>install</code> or add the <code>--install</code> flag to the <code>uv sync</code> command to ensure dependencies <br>are actually installed.**

[docker/Dockerfile [11-12]](https://github.com/arthrod/prompting/pull/10/files#diff-f34da55ca08f1a30591d8b0b3e885bcc678537b2a9a4aadea4f190806b374ddcR11-R12)

```diff
 # Install project dependencies using uv sync
-RUN uv sync --all-packages
+RUN uv sync --install --all-packages
```

`[Suggestion has been applied]`

<details><summary>Suggestion importance[1-10]: 9</summary>

__

Why: The suggestion correctly identifies a critical issue in the dependency installation process. The `uv sync` command only resolves dependencies but doesn't install them without the `--install` flag, which could cause the Docker container to fail at runtime.


</details></details></td><td align=center>High

</td></tr><tr><td rowspan=2>General</td>
<td>



<details><summary>✅ 
Fix contradictory linting configuration
</summary>

___

<details><summary><b>Suggestion Impact:</b></summary>The commit changed python.linting.enabled from false to true, exactly as suggested, which resolves the contradiction with python.linting.ruffEnabled being set to true

code diff:

```diff
-                "python.linting.enabled": false,
+                "python.linting.enabled": true,
```

</details>


___


**You've disabled linting (<code>"python.linting.enabled": false</code>) but still have Ruff <br>linting enabled (<code>"python.linting.ruffEnabled": true</code>). This creates a <br>contradictory configuration where Ruff is enabled but won't run because linting <br>is disabled globally.**

[.devcontainer/devcontainer.json [19-20]](https://github.com/arthrod/prompting/pull/10/files#diff-24ad71c8613ddcf6fd23818cb3bb477a1fb6d83af4550b0bad43099813088686R19-R20)

```diff
-"python.linting.enabled": false,
+"python.linting.enabled": true,
 "python.linting.ruffEnabled": true,
```

`[Suggestion has been applied]`

<details><summary>Suggestion importance[1-10]: 8</summary>

__

Why: The suggestion correctly identifies a significant configuration contradiction where Ruff linting is enabled but won't work because global linting is disabled. This would cause confusion and prevent linting from functioning as expected.

</details></details></td><td align=center>Medium

</td></tr><tr><td>



<details><summary>✅ 
Prevent directory creation errors
</summary>

___

<details><summary><b>Suggestion Impact:</b></summary>The commit modified the directory creation command, but instead of adding '|| true' as suggested, it simplified the command by removing 'prompting/layouts' from the directories to create, which addresses the underlying issue in a different way

code diff:

```diff
 # Create necessary directories
-RUN mkdir -p prompting/layouts data
+RUN mkdir -p data
```

</details>


___


**Creating directories that should already exist in the copied project files <br>indicates a potential issue. Since you're copying the entire project with <code>COPY . </code><br><code>.</code>, these directories should already exist if they're part of the project. If <br>they don't exist in the source, creating them might lead to unexpected behavior.**

[docker/Dockerfile [14-15]](https://github.com/arthrod/prompting/pull/10/files#diff-f34da55ca08f1a30591d8b0b3e885bcc678537b2a9a4aadea4f190806b374ddcR14-R15)

```diff
-# Create necessary directories
-RUN mkdir -p prompting/layouts data
+# Ensure necessary directories exist
+RUN mkdir -p prompting/layouts data || true
```

`[Suggestion has been applied]`

<details><summary>Suggestion importance[1-10]: 4</summary>

__

Why: The suggestion provides a more resilient approach to directory creation by adding `|| true` to prevent failures if directories already exist. While not critical, it improves robustness of the Docker build process.


</details></details></td><td align=center>Low

</td></tr>
<tr><td align="center" colspan="2">

- [ ] Update <!-- /improve --more_suggestions=true -->

</td><td></td></tr></tbody></table>
author_association: NONE