Skip to content

Commit 19b18ad

Browse files
jeremymanningclaude
andcommitted
Update default configuration: Local Development → Local Single-core
- Rename "Local Development" to "Local Single-core" - Change default CPUs from 4 to 1 - Change default memory from 8GB to 16GB - Update corresponding tests to match new configuration name 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b3fc9d2 commit 19b18ad

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

clustrix/notebook_magic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,11 @@ class widgets: # type: ignore
178178
logger = logging.getLogger(__name__)
179179
# Default cluster configurations
180180
DEFAULT_CONFIGS = {
181-
"Local Development": {
182-
"name": "Local Development",
181+
"Local Single-core": {
182+
"name": "Local Single-core",
183183
"cluster_type": "local",
184-
"default_cores": 4,
185-
"default_memory": "8GB",
184+
"default_cores": 1,
185+
"default_memory": "16GB",
186186
"description": "Local machine for development and testing",
187187
},
188188
"Local Multi-core": {

tests/test_notebook_magic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def test_default_configs_values(self):
6161

6262
def test_local_configs_present(self):
6363
"""Test that local configurations are present."""
64-
assert "Local Development" in DEFAULT_CONFIGS
64+
assert "Local Single-core" in DEFAULT_CONFIGS
6565
assert "Local Multi-core" in DEFAULT_CONFIGS
66-
assert DEFAULT_CONFIGS["Local Development"]["cluster_type"] == "local"
66+
assert DEFAULT_CONFIGS["Local Single-core"]["cluster_type"] == "local"
6767
assert DEFAULT_CONFIGS["Local Multi-core"]["cluster_type"] == "local"
6868
assert DEFAULT_CONFIGS["Local Multi-core"]["default_cores"] == -1
6969

@@ -215,7 +215,7 @@ def test_widget_initialization(self, mock_ipython_environment):
215215
widget = EnhancedClusterConfigWidget()
216216
# Check that default configs are loaded
217217
assert len(widget.configs) >= len(DEFAULT_CONFIGS)
218-
assert "Local Development" in widget.configs
218+
assert "Local Single-core" in widget.configs
219219
assert "Local Multi-core" in widget.configs
220220
# Check initial state
221221
assert widget.current_config_name is not None

0 commit comments

Comments
 (0)