<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/AJqtDrSoP" -->

---
title: GitHub - TheoLeeCJ/SemIf: Semantic ifs from open models,...
description: SemIf (formerly OpenJev) is an open-source project that reproduces the interface pattern of TypeSafe's closed Jev service for runtime-defined semantic...
canonical: https://daily.dev/posts/ajqtdrsop
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub - TheoLeeCJ/SemIf: Semantic ifs from open models, on a 3090 at home. Independent; not affiliated with Jev or TypeSafe. | daily.dev
og:description: SemIf (formerly OpenJev) is an open-source project that reproduces the interface pattern of TypeSafe's closed Jev service for runtime-defined semantic...
og:url: https://daily.dev/posts/ajqtdrsop
og:image: https://api.daily.dev/og/posts/AJqtDrSoP.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub - TheoLeeCJ/SemIf: Semantic ifs from open models, on a 3090 at home. Independent; not affiliated with Jev or TypeSafe.

**[Matthew Laird](https://daily.dev/sources/u-uk0giik)** · [@hvk500](https://daily.dev/hvk500) · 5 upvotes · 0 comments

## Summary

SemIf (formerly OpenJev) is an open-source project that reproduces the interface pattern of TypeSafe's closed Jev service for runtime-defined semantic decisions, using open models like Qwen3.5-4B running on consumer GPUs such as an RTX 3090. Instead of generating text answers that get parsed into if-statements, it reads typed option probabilities directly from a model in a single forward pass, avoiding JSON repair and decoding loops. The repo includes speed benchmarks (direct logit readout is over 5x faster than generating a JSON array), quality comparisons against a published Jev subset (0.845 vs 0.883 agreement), per-workload temperature calibration, support for CUDA, Apple Silicon (MLX/MPS), CPU-only llama.cpp backends, and a browser-based WebGPU demo requiring no waitlist.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/TheoLeeCJ/SemIf>

---

Tags: [#ai-inference](https://daily.dev/tags/ai-inference), [#open-source](https://daily.dev/tags/open-source), [#python](https://daily.dev/tags/python), [#qwen](https://daily.dev/tags/qwen)

[View this post on daily.dev](https://daily.dev/posts/ajqtdrsop)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/ajqtdrsop","headline":"GitHub - TheoLeeCJ/SemIf: Semantic ifs from open models, on a 3090 at home. Independent; not affiliated with Jev or TypeSafe.","text":"Shared: GitHub - TheoLeeCJ/SemIf: Semantic ifs from open models, on a 3090 at home. Independent; not affiliated with Jev or TypeSafe.","url":"https://daily.dev/posts/ajqtdrsop","datePublished":"2026-09-23T11:06:33.892Z","dateModified":"2026-10-15T02:15:30.208Z","author":{"@type":"Person","name":"Matthew Laird","url":"https://daily.dev/hvk500","image":"https://avatars0.githubusercontent.com/u/14907718?v=4","description":"Passionate developer, reliability engineer, maker and drinker of coffee.","worksFor":{"@type":"Organization","name":"MagicOrange","logo":"https://www.google.com/s2/favicons?domain=magicorange.com\u0026sz=128"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":13415}},"image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/JRs057CpF"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/u-uk0giik","name":"Matthew Laird"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Matthew Laird","item":"https://daily.dev/sources/u-uk0giik"},{"@type":"ListItem","position":3,"name":"GitHub - TheoLeeCJ/SemIf: Semantic ifs from open models, on a 3090 at home. Independent; not affiliated with Jev or TypeSafe."}]}
```

