Commit 0228fe8
Feature/improve data gen (#184)
* Rewrite synthetic-data-generation for improved performance and features
* Fix databricks-connect version requirements for Python compatibility
The serverless() method requires databricks-connect 15.1.0+, but version
17.x only supports Python 3.12. Updated documentation to specify:
- Python 3.10/3.11: use >=15.1,<16.2
- Python 3.12: use >=16.2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Improve synthetic-data-generation skill with Spark preference and catalog management
- Strongly recommend Spark + Faker for all data generation (default approach)
- Only use Polars for <10K rows if user explicitly prefers local generation
- Add volume upload instructions using databricks fs commands
- Remove CREATE CATALOG statements - assume catalogs already exist
- Update decision guides and examples to reflect Spark-first approach
- Consolidate and simplify execution options and installation instructions
- Update best practices and common issues sections
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Cleanup data gen skill
* Add stronger guidance to use Databricks Connect
* Update data gen for different run modes
* Small updates to databricks-connect and environments
* Updates to improve serverless dbconnect and polars local for data gen
* Add guidance on cache with serverless
* Update data gen for better cluster/job guidance
* Update classic library install
* Suggest uv and improve python task job payload
* Add new data gen tests (first 3)
* Update data gen ground_truth and baseline
* Remove default catalog setting
* Add window syntax common issue
* Rename and overhaul data gen skill and tests timeouts
* Fix skill name mismatch and add missing skills to install scripts
- Rename databricks-synthetic-data-generation to databricks-synthetic-data-gen
across all install scripts, documentation, and cross-references to match
the actual skill directory name
- Add missing skills (databricks-iceberg, databricks-parsing) to install.sh
and install.ps1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix PR review issues for databricks-synthetic-data-gen skill
Bugs:
- Remove .cache()/.unpersist() in generate_synthetic_data.py (serverless incompatible)
- Fix .gitignore formatting (restore blank line separator)
Design:
- Refactor ground_truth.yaml to use external response files (1127 → 347 lines)
- Change timeout from 480s to 240s with explanatory comment
- Add Windows timeout warning in mlflow_eval.py
Nits:
- Fix hardcoded catalog name (dustin_vannoy_catalog → my_catalog)
- Fix DatabricksEnv import path (databricks.connect.session → databricks.connect)
- Add EOF newline to 1-setup-and-execution.md
- Remove unused imports in evaluate.py
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Simplify serverless job config in test response
Remove new_cluster section and use environment_key at task level
for cleaner serverless job definition.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add Python 3.12+ requirement to run instructions
DatabricksEnv requires databricks-connect>=16.4 which requires Python 3.12+.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove commented out lines from manifest.yaml
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Update databricks-connect version range and fix version detection
- Expand version constraint from >=16.4,<17.0 to >=16.4,<17.4 to
support databricks-connect 17.x versions
- Fix get_databricks_connect_version() to use importlib.metadata.version()
instead of non-existent databricks.connect.__version__ attribute
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Reduce guidelines for faster tests with mlflwo
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 6930632 commit 0228fe8
43 files changed
Lines changed: 3831 additions & 699 deletions
File tree
- .test
- baselines/databricks-synthetic-data-gen
- scripts
- skills
- _routing
- databricks-synthetic-data-gen
- expected_responses
- src/skill_test
- grp
- runners
- scorers
- tests
- databricks-builder-app
- client/src/pages
- server/services
- databricks-skills
- databricks-agent-bricks
- databricks-genie
- databricks-spark-declarative-pipelines
- databricks-synthetic-data-generation
- databricks-synthetic-data-gen
- references
- scripts
- databricks-unity-catalog
- databricks-unstructured-pdf-generation
- databricks-zerobus-ingest
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
15 | 29 | | |
16 | 30 | | |
17 | 31 | | |
18 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
19 | 41 | | |
20 | 42 | | |
21 | 43 | | |
22 | 44 | | |
23 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
24 | 52 | | |
25 | 53 | | |
26 | 54 | | |
27 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
28 | 64 | | |
29 | 65 | | |
30 | 66 | | |
| |||
34 | 70 | | |
35 | 71 | | |
36 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
37 | 77 | | |
38 | 78 | | |
39 | 79 | | |
| |||
42 | 82 | | |
43 | 83 | | |
44 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
45 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
46 | 98 | | |
47 | 99 | | |
48 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments