Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio: scale spreadsheet figures in thousands or millions with decimals (#16590)
Nilayf3892ae02577
diff --git a/studio/backend/core/rag/office_formats.py b/studio/backend/core/rag/office_formats.pyindex afd24a878d8..198509bcbfe 100644--- a/studio/backend/core/rag/office_formats.py+++ b/studio/backend/core/rag/office_formats.py@@ -342,6 +342,8 @@ def _section_plan(tokens: list[tuple[str, str]]):thousands = 0while whole.endswith(","): # trailing commas scale by thousandswhole, thousands = whole[:-1], thousands + 1+ while fraction.endswith(","):+ fraction, thousands = fraction[:-1], thousands + 1grouped, whole = "," in whole, whole.replace(",", "")places, required = sum(fraction.count(c) for c in "0#?"), fraction.count("0")return (diff --git a/studio/backend/tests/test_rag_office_formats.py b/studio/backend/tests/test_rag_office_formats.pyindex 508b5bca8dc..18c4388811c 100644--- a/studio/backend/tests/test_rag_office_formats.py+++ b/studio/backend/tests/test_rag_office_formats.py@@ -615,6 +615,9 @@ def test_ods_reads_typed_values_without_text(tmp_path):(0.5, "#.##", ".5"),(1.234, "0.0#", "1.23"),(1500000, '#,##0,,"M"', "2M"),+ (1234567890, '$#,##0.0,,"M"', "$1,234.6M"),+ (1234567, '#,##0.0,"K"', "1,234.6K"),+ (123456789, "0.00,,", "123.46"),(1234.5, "General", "1234.5"),(5, "[>100]0;0.0", "5"),pytest.param(1234.5, "0" * 5000, "1234.5", id = "oversized-format-left-as-stored"),