IdeaCredIdeaCred

ralfbecher/orionbelt-semantic-layer

83

API-first semantic layer engine with MCP server that compiles declarative YAML models into optimized, dialect-specific SQL across PostgreSQL, Snowflake, ClickHouse, Dremio, and Databricks.

What's novel

API-first semantic layer engine with MCP server that compiles declarative YAML models into optimized, dialect-specific SQL across PostgreSQL, Snowflake, ClickHouse, Dremio, and Databricks.

Code Analysis

6 files read · 2 rounds

OrionBelt is a Python-based Semantic Layer Compiler that translates YAML-defined business logic (dimensions, measures, metrics) into optimized SQL queries for various database dialects via a FastAPI REST API.

Strengths

The project demonstrates excellent separation of concerns with a clear parser/compiler/API split. It handles complex semantic modeling (joins, aggregations, custom functions) and supports multiple database dialects with robust error reporting that suggests fixes to users.

Weaknesses

While the core logic is solid, the test coverage appears moderate; there's no evidence of extensive fuzzing or performance benchmarking tests. The novelty is limited as it solves a well-established problem (semantic layer generation) rather than introducing a fundamentally new paradigm.

Score Breakdown

Innovation
6 (25%)
Craft
77 (35%)
Traction
26 (15%)
Scope
85 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci-1
Tests+8
Polish+2
Releases+3
Has License+5
Code Quality+26
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+2
Has Dependency Mgmt+5

Traction

Forks+6
Stars+12
Hn Points+0
Watchers+3
Early Traction+5
Devto Reactions+0
Community Contribs+0

Scope

Commits+8
Languages+5
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

73

Contributors

1

Files

127

Active weeks

4

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

18

Forks

1

License

Apache-2.0