paper-with-me

Papers

Type Checking Project Haystack Grids using JSON Schema and Pydantic

2026-05-19 · Thomas Hirsch, Samina Kadkhoda Masoumali, Gerald Schweiger arxiv

Ontologies enable scalable energy services in buildings by supporting interoperability and automation. Project Haystack is a building ontology that is widely adopted due to its flexible, tag-based semantic model, openness, and extensibility, but suffers from ambiguous tag usage and limited automated validation. Although Project Haystack is formally open, its reliance on custom file formats and domain-specific languages that originate from the Haxall ecosystem creates a de facto barrier to integration. In this paper, we address these limitations by introducing a Python-based toolchain for Haystack. We present (i) a parser for Haystack definition files (Trio file format), and (ii) a code generator that derives Pydantic models and JSON Schema definitions from these parsed specifications. The resulting models enable static type checking and enable structural validation of Haystack grids within Python, as well as schema-based validation of JSON representations outside the Python ecosystem. All tools, generated models, and schemas are released publicly under an open-source license, with the goal of strengthening the Haystack ecosystem and opening a practical pathway beyond its current technical boundaries.

📄 PDF Abstract BibTeX arXiv:2606.24891

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TaskGen: A Task-Based, Memory-Infused Agentic Framework using StrictJSON

2024-07-22 · John Chong Min Tan, Prince Saroj, Bharat Runwal, Hardik Maheshwari 외

TaskGen is an open-sourced agentic framework which uses an Agent to solve an arbitrary task by breaking them down into subtasks. Each subtask is mapped to an Equipped Function or another Agent to execute. In order to red…

Language ModelingLanguage ModellingLarge Language ModelManagement+4

CoGen: Creation of Reusable UI Components in Figma via Textual Commands

2026-01-15 · Ishani Kanapathipillai, Obhasha Priyankara arxiv

The evolution of User Interface design has emphasized the need for efficient, reusable, and editable components to ensure an efficient design process. This research introduces CoGen, a system that uses machine learning t…

JSON-Bag: A generic game trajectory representation

2025-08-01 · Dien Nguyen, Diego Perez-Liebana, Simon Lucas arxiv

We introduce JSON Bag-of-Tokens model (JSON-Bag) as a method to generically represent game trajectories by tokenizing their JSON descriptions and apply Jensen-Shannon distance (JSD) as distance metric for them. Using a p…

ManyTypes4Py: A Benchmark Python Dataset for Machine Learning-based Type Inference

2021-04-10 · Amir M. Mir, Evaldas Latoskinas, Georgios Gousios

In this paper, we present ManyTypes4Py, a large Python dataset for machine learning (ML)-based type inference. The dataset contains a total of 5,382 Python projects with more than 869K type annotations. Duplicate source …

BIG-bench Machine LearningVocal Bursts Type Prediction

Invoice Haystack: Benchmarking Document Retrieval and Visual Question Answering Under Strong Visual Homogeneity

2026-06-24 · Heethanjan Kanagalingam, Thenukan Pathmanathan, Mokeeshan Vathanakumar, Basim Azam 외 arxiv

Vision Language Models have achieved near-human performance on single-document Visual Question Answering, yet their effectiveness degrades significantly when retrieving information from large collections of visually homo…

Visual Question Answering