Legacy Data Storage Schema Migration Bridge Engine
GovTech's data transformation initiatives demand modernizing legacy storage structures into cloud-native formats. Construct an automated data schema migration bridge that extracts legacy database structures, resolves schema drift, and generates zero-downtime SQL migration scripts.
What you are building
The core problem, expected build, and operating context for this challenge.
Build an automated legacy storage schema translation and drift detection pipeline.
How work is evaluated
Evaluates accuracy of SQL migration script generation and schema compatibility.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
valid_sql_syntax
Ensures valid modern SQL output
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
type_conversion_accuracy
Accuracy of legacy to modern type mapping • target: 1 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Parse legacy relational schema representations
Automatically map obsolete field types to cloud-native database standards
Generate validated zero-downtime DDL migration scripts
Reference links and supporting material
Synthetic legacy database schemas from public sector system archives.
Challenge setup
Evaluates accuracy of SQL migration script generation and schema compatibility.
Challenge input
Legacy SQL DDL string
sqlglot
Automated multi-dialect SQL conversion
Evaluated output
JSON containing modern_sql_ddl and field_mapping_summary
- Ensures valid modern SQL output
- Accuracy of legacy to modern type mapping • target: 1 • range: 0-1
- Benchmark: SQLTrans-Bench
- Type Conversion Accuracy target: 1
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- MemGPT · Required
- deepchecks · Optional
- SonarSource · Optional
Evaluation contract
- valid_sql_syntax · Weight 1
- type_conversion_accuracy · Weight 1
Metrics
- type_conversion_accuracy · Target 1
Benchmarks
- SQLTrans-Bench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: Legacy SQL DDL string
Output: JSON containing modern_sql_ddl and field_mapping_summary
Execution harness: Python
Evaluation tools
- sqlglot · SQL Parser & Transpiler
Recipe freeze marker
No recipe freeze time is recorded.