repo_id
stringclasses
92 values
cross_repo_split
stringclasses
1 value
commit_index
int32
0
179
commit_sha
stringlengths
40
40
commit_timestamp
stringdate
2024-09-02 14:15:34+0800
2026-05-06 20:19:13+0800
in_repo_split
stringclasses
3 values
production_code_diff
large_stringlengths
0
22.7M
n_new_assertions
int32
1
3.53k
SiliconEinstein/Gaia
ood_test
86
23d7da39c254bd2041ee311cc3c7fb920498b1f1
2026-03-27T14:02:20+08:00
train
diff --git a/docs/foundations/graph-ir/graph-ir.md b/docs/foundations/graph-ir/graph-ir.md index 01ad045f..c3db1837 100644 --- a/docs/foundations/graph-ir/graph-ir.md +++ b/docs/foundations/graph-ir/graph-ir.md @@ -41,13 +41,13 @@ KnowledgeNode: | 字段 | Local | Global | |------|-------|--------| -| `id` | `lcn_` 前缀,...
175
SiliconEinstein/Gaia
ood_test
87
3d82d0aecf99ab5577502bdbc1ca9a0978593b0f
2026-03-29T19:47:18+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index 44aed6b7..3bb10284 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project Overview -Gaia is a Large Knowledge Model (LKM) — a billion-scale reasoning hypergraph for knowledge represe...
411
SiliconEinstein/Gaia
ood_test
88
3c6129c4da88e658ce545bff8c4fa5020816368d
2026-03-29T20:15:33+08:00
train
diff --git a/frontend/README.md b/frontend/README.md deleted file mode 100644 index d2e77611..00000000 --- a/frontend/README.md +++ /dev/null @@ -1,73 +0,0 @@ -# React + TypeScript + Vite - -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. - -Currently, two official pl...
344
SiliconEinstein/Gaia
ood_test
89
2ee1db4436888605fbfa2da5f107b7b2bfcd5d14
2026-03-30T10:16:49+08:00
train
diff --git a/gaia/gaia_ir/__init__.py b/gaia/gaia_ir/__init__.py index 2a5bf9cf..5111e209 100644 --- a/gaia/gaia_ir/__init__.py +++ b/gaia/gaia_ir/__init__.py @@ -1,50 +1,70 @@ -"""Gaia data models — Python implementation of docs/foundations/graph-ir/.""" +"""Gaia IR — data models for the Gaia reasoning hypergraph. -...
118
SiliconEinstein/Gaia
ood_test
90
71864ce296c1c619cc3ec46b45b7daf14632fcd7
2026-03-30T11:11:42+08:00
train
diff --git a/docs/foundations/gaia-ir/gaia-ir.md b/docs/foundations/gaia-ir/gaia-ir.md index aa835c44..72817ea0 100644 --- a/docs/foundations/gaia-ir/gaia-ir.md +++ b/docs/foundations/gaia-ir/gaia-ir.md @@ -32,6 +32,7 @@ Local 和 global 使用同一个 data class,字段按层级使用: Knowledge: id: str ...
21
SiliconEinstein/Gaia
ood_test
91
2f8be4f4f78cbb7edbb81a2f9844273f2c52a036
2026-03-30T12:18:38+08:00
train
diff --git a/gaia/gaia_ir/knowledge.py b/gaia/gaia_ir/knowledge.py index 34b0ad6a..10f3cb1a 100644 --- a/gaia/gaia_ir/knowledge.py +++ b/gaia/gaia_ir/knowledge.py @@ -92,9 +92,18 @@ class Knowledge(BaseModel): @model_validator(mode="after") def _compute_derived_fields(self) -> Knowledge: - # Auto-com...
19
SiliconEinstein/Gaia
ood_test
92
67ceb42573324ffacda19e114e10b10f927de6ee
2026-03-30T12:19:55+08:00
train
diff --git a/gaia/gaia_ir/binding.py b/gaia/gaia_ir/binding.py index 865c6e9f..bae5b03b 100644 --- a/gaia/gaia_ir/binding.py +++ b/gaia/gaia_ir/binding.py @@ -1,6 +1,6 @@ """CanonicalBinding model — local-to-global node mapping decision. -Implements the schema defined in docs/foundations/graph-ir/graph-ir.md §3.4. +...
124
SiliconEinstein/Gaia
ood_test
93
4768cef918b499b7bf2953d80b22b70fa8b8c620
2026-03-30T21:59:13+08:00
train
diff --git a/docs/README.md b/docs/README.md index 61ea0d52..2f8e01e2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -17,7 +17,7 @@ Start with the [Quick Start](for-users/quick-start.md), then read the [Language ### I want to develop Gaia > You're a developer working on the codebase. -Start with the [Architect...
187
SiliconEinstein/Gaia
ood_test
94
4f86a33a29eef7ff074a194e8a8d5a1e2df12e3f
2026-03-31T19:25:12+08:00
train
diff --git a/docs/README.md b/docs/README.md index 2f8e01e2..33ae44c2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -19,7 +19,7 @@ Start with the [Quick Start](for-users/quick-start.md), then read the [Language Start with the [Gaia IR Overview](foundations/gaia-ir/01-overview.md), then explore: - [CLI surface...
214
SiliconEinstein/Gaia
ood_test
95
5e8c831e2bc486ff1be86e7475509a3d0d6056f4
2026-03-31T20:50:32+08:00
train
diff --git a/docs/foundations/bp/inference.md b/docs/foundations/bp/inference.md index fd90413b..b378b5cd 100644 --- a/docs/foundations/bp/inference.md +++ b/docs/foundations/bp/inference.md @@ -32,7 +32,7 @@ Int 索引是 BP 引擎的实现细节,用于高效数组运算。外部系统 适配器(`libs/graph_ir/adapter.py`)从 Gaia IR 构建 FactorGraph: -1. 将 `LocalCano...
35
SiliconEinstein/Gaia
ood_test
96
2fef3b0594f6c06a2c751de634550049198c6ed2
2026-03-31T21:19:00+08:00
train
diff --git a/docs/foundations/ecosystem/07-related-systems.md b/docs/foundations/ecosystem/07-related-systems.md new file mode 100644 index 00000000..c4a7d1ed --- /dev/null +++ b/docs/foundations/ecosystem/07-related-systems.md @@ -0,0 +1,349 @@ +# Gaia 的相关系统与定位 + +> **Status:** Current draft + +> 相关文档: +> - [01-produc...
290
SiliconEinstein/Gaia
ood_test
97
927adc20e19434d522f0b7dcaccca0a2dbc6fa1e
2026-04-01T13:46:48+08:00
train
diff --git a/docs/foundations/bp/inference.md b/docs/foundations/bp/inference.md index b378b5cd..fa05fa6b 100644 --- a/docs/foundations/bp/inference.md +++ b/docs/foundations/bp/inference.md @@ -17,25 +17,18 @@ FactorGraph 是一个**概念**,不绑定特定的存储或运行方式: ### 结构 - **Variable nodes**:每个 knowledge 节点成为一个二值变量,携带先验信念 `p(x=1)`。...
111
SiliconEinstein/Gaia
ood_test
98
424aba04ba72e9a1a4a5350da479c97293388db4
2026-04-01T18:38:55+08:00
train
diff --git a/docs/plans/2026-04-01-lkm-development-roadmap.md b/docs/plans/2026-04-01-lkm-development-roadmap.md new file mode 100644 index 00000000..ee5d5c2b --- /dev/null +++ b/docs/plans/2026-04-01-lkm-development-roadmap.md @@ -0,0 +1,483 @@ +# LKM 重构开发路线图 + +**Status:** Active | **Created:** 2026-04-01 +**Goal:*...
16
SiliconEinstein/Gaia
ood_test
99
cc0a96cd73211ebf84a32eaba73fbb9c8312e732
2026-04-01T19:33:28+08:00
train
diff --git a/docs/plans/2026-04-01-m2-lkm-storage.md b/docs/plans/2026-04-01-m2-lkm-storage.md new file mode 100644 index 00000000..c32f6955 --- /dev/null +++ b/docs/plans/2026-04-01-m2-lkm-storage.md @@ -0,0 +1,1476 @@ +# M2: LKM Storage Layer — Implementation Plan + +> **For agentic workers:** REQUIRED: Use superpowe...
36
SiliconEinstein/Gaia
ood_test
100
62b8e14f4204b13090dad062062f0dd8c8b9bddd
2026-04-02T10:06:17+08:00
train
diff --git a/docs/plans/2026-03-30-gaia-ir-code-alignment.md b/docs/plans/2026-03-30-gaia-ir-code-alignment.md new file mode 100644 index 00000000..518360b3 --- /dev/null +++ b/docs/plans/2026-03-30-gaia-ir-code-alignment.md @@ -0,0 +1,1289 @@ +# Gaia IR Code Alignment Implementation Plan + +> **For agentic workers:** ...
14
SiliconEinstein/Gaia
ood_test
101
1943a74e865d5683700ce71334a6e8afa1e45020
2026-04-02T10:35:03+08:00
train
diff --git a/docs/specs/2026-03-31-m4-pipeline-b.md b/docs/specs/2026-03-31-m4-pipeline-b.md index bddccb17..5b05fdbf 100644 --- a/docs/specs/2026-03-31-m4-pipeline-b.md +++ b/docs/specs/2026-03-31-m4-pipeline-b.md @@ -1,35 +1,72 @@ -# M4 — Pipeline B: XML Extraction Spec +# M4 — Pipeline B: Paper Extraction Spec -> ...
37
SiliconEinstein/Gaia
ood_test
102
0b76246972cded522a2e27264c742f299fb3fd7c
2026-04-02T12:30:27+08:00
train
diff --git a/docs/foundations/gaia-ir/01-overview.md b/docs/foundations/gaia-ir/01-overview.md index 70b687f0..7dbc56e0 100644 --- a/docs/foundations/gaia-ir/01-overview.md +++ b/docs/foundations/gaia-ir/01-overview.md @@ -92,9 +92,9 @@ Gaia IR(结构) × Parameterization(参数) ``` - **Gaia IR** 编码推理超图的拓扑——Knowledge...
264
SiliconEinstein/Gaia
ood_test
103
9ff4a56f98c6d832888571b186f8e376ce0c4e09
2026-04-02T14:49:08+08:00
train
diff --git a/docs/foundations/gaia-ir/01-overview.md b/docs/foundations/gaia-ir/01-overview.md index 7dbc56e0..7a8f82d8 100644 --- a/docs/foundations/gaia-ir/01-overview.md +++ b/docs/foundations/gaia-ir/01-overview.md @@ -106,6 +106,21 @@ Gaia IR(结构) × Parameterization(参数) 每个 local 子图是独立编译、独立校验的单元。 +这里的 **l...
34
SiliconEinstein/Gaia
ood_test
104
23321dd319ff32eb37ad032f39c7dad82ff4f267
2026-04-02T15:19:58+08:00
train
diff --git a/gaia/lkm/core/extract.py b/gaia/lkm/core/extract.py index 9ab7a08b..a6ac3395 100644 --- a/gaia/lkm/core/extract.py +++ b/gaia/lkm/core/extract.py @@ -217,15 +217,15 @@ def _extract_problem( def extract( - review_xml: str, + review_xml: str | None, reasoning_chain_xml: str, select_concl...
17
SiliconEinstein/Gaia
ood_test
105
d0552bed8b47f80b175ef0350f68540ed20996c7
2026-04-02T17:36:54+08:00
train
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md new file mode 100644 index 00000000..f877ec96 --- /dev/null +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -0,0 +1,256 @@ +--- +name: gaia-ir-authoring +description: "Use when constructing a Gaia IR LocalCanonicalGrap...
15
SiliconEinstein/Gaia
ood_test
106
bbe0dbccb9b509cca035630985ac3f16acbff53d
2026-04-03T00:57:02+08:00
train
diff --git a/README.md b/README.md index 90c9a0bd..f372dabe 100644 --- a/README.md +++ b/README.md @@ -4,132 +4,253 @@ [![codecov](https://codecov.io/gh/SiliconEinstein/Gaia/graph/badge.svg)](https://codecov.io/gh/SiliconEinstein/Gaia) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://ope...
501
SiliconEinstein/Gaia
ood_test
107
435dc998cba1bd75270df1cf17f818d747a95833
2026-04-03T12:42:02+08:00
train
diff --git a/README.md b/README.md index f372dabe..53db3949 100644 --- a/README.md +++ b/README.md @@ -94,26 +94,42 @@ Notes: Create `src/galileo_falling_bodies/__init__.py`: ```python -from gaia.lang import Package, claim, deduction, setting - - -with Package("galileo_falling_bodies", namespace="reg", version="4.0...
420
SiliconEinstein/Gaia
ood_test
108
07e8cb26e63b6a1ebaf7e34b304d20a58342a345
2026-04-03T14:47:32+08:00
train
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index f877ec96..65102eff 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -1,256 +1,258 @@ --- name: gaia-ir-authoring -description: "Use when constructing a Gaia...
447
SiliconEinstein/Gaia
ood_test
109
c99f75be791bd15ad57c618db5d3d1127cf67a10
2026-04-03T17:07:30+08:00
train
diff --git a/README.md b/README.md index 53db3949..17a4ba35 100644 --- a/README.md +++ b/README.md @@ -1,269 +1,176 @@ -# Gaia +# Gaia Lang [![CI](https://github.com/SiliconEinstein/Gaia/actions/workflows/ci.yml/badge.svg)](https://github.com/SiliconEinstein/Gaia/actions/workflows/ci.yml) [![codecov](https://codeco...
31
SiliconEinstein/Gaia
ood_test
110
dc2d9fbdb246a627e02ccf68fb929e3a19702164
2026-04-03T17:21:31+08:00
train
diff --git a/README.md b/README.md index 17a4ba35..676f1ab0 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,13 @@ composite_faster = claim("A tied composite should fall faster (greater total mas paradox = contradiction(composite_slower, composite_faster, reason="Same premise yields opposite predictions") -#...
18
SiliconEinstein/Gaia
ood_test
111
e8ff338126657e9b4e63c0ee6021f05858ac639b
2026-04-03T22:47:39+08:00
train
diff --git a/.claude/skills/paper-formalization/SKILL.md b/.claude/skills/paper-formalization/SKILL.md new file mode 100644 index 00000000..6962279b --- /dev/null +++ b/.claude/skills/paper-formalization/SKILL.md @@ -0,0 +1,195 @@ +--- +name: paper-formalization +description: Use when formalizing a scientific paper int...
33
SiliconEinstein/Gaia
ood_test
112
9c4954520ce09cd7cee4d3d4d1daf33b0b5a30b5
2026-04-04T15:19:14+08:00
train
diff --git a/gaia/cli/commands/check.py b/gaia/cli/commands/check.py index c19d7146..68ce588b 100644 --- a/gaia/cli/commands/check.py +++ b/gaia/cli/commands/check.py @@ -11,6 +11,84 @@ from gaia.ir import LocalCanonicalGraph from gaia.ir.validator import validate_local_graph +def _knowledge_diagnostics(ir: dict) ...
79
SiliconEinstein/Gaia
ood_test
113
e329ec30acccfe1f9c5a5d53d9fc17d8ee2ff455
2026-04-04T15:50:45+08:00
train
diff --git a/docs/plans/2026-04-04-compile-readme.md b/docs/plans/2026-04-04-compile-readme.md new file mode 100644 index 00000000..262543e3 --- /dev/null +++ b/docs/plans/2026-04-04-compile-readme.md @@ -0,0 +1,772 @@ +# `gaia compile --readme` Implementation Plan + +> **For agentic workers:** REQUIRED: Use superpower...
37
SiliconEinstein/Gaia
ood_test
114
86f4185c87bbc0ebd10664f7ca6f5caa0d5597fa
2026-04-04T17:40:04+08:00
train
diff --git a/gaia/lkm/api/app.py b/gaia/lkm/api/app.py index e9dbc385..4243cec9 100644 --- a/gaia/lkm/api/app.py +++ b/gaia/lkm/api/app.py @@ -8,12 +8,14 @@ from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware from gaia.lkm.api.routes import router +from gaia.lkm.logging import configure_l...
69
SiliconEinstein/Gaia
ood_test
115
7aba103ac1490817eb4a59b893b5c80447013869
2026-04-04T17:54:35+08:00
train
diff --git a/docs/plans/2026-04-04-module-narrative.md b/docs/plans/2026-04-04-module-narrative.md new file mode 100644 index 00000000..a4a2db18 --- /dev/null +++ b/docs/plans/2026-04-04-module-narrative.md @@ -0,0 +1,568 @@ +# Module Narrative Order Implementation Plan + +> **For agentic workers:** REQUIRED: Use super...
119
SiliconEinstein/Gaia
ood_test
116
88ad84f7bf6c7069d3f12cdd02cc3380d5e987a4
2026-04-04T18:03:43+08:00
train
diff --git a/gaia/lkm/api/routes.py b/gaia/lkm/api/routes.py index 4a761871..7d872840 100644 --- a/gaia/lkm/api/routes.py +++ b/gaia/lkm/api/routes.py @@ -317,6 +317,19 @@ async def get_graph( return {"nodes": nodes, "edges": edges} +@router.get("/graph/subgraph/{gcn_id}") +async def get_subgraph( + gcn_id:...
23
SiliconEinstein/Gaia
ood_test
117
02cabbf8236d4310c17cc28dc388371276e1259f
2026-04-05T09:27:09+08:00
train
diff --git a/docs/plans/2026-04-01-lkm-development-roadmap.md b/docs/plans/2026-04-01-lkm-development-roadmap.md index ee5d5c2b..a6483a89 100644 --- a/docs/plans/2026-04-01-lkm-development-roadmap.md +++ b/docs/plans/2026-04-01-lkm-development-roadmap.md @@ -1,10 +1,49 @@ # LKM 重构开发路线图 -**Status:** Active | **Create...
151
SiliconEinstein/Gaia
ood_test
118
0e462345488e849fd7a5b6febd726c36e50284aa
2026-04-05T09:47:53+08:00
train
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index 65102eff..8f2dc696 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -76,21 +76,18 @@ from gaia.lang import claim, setting, question, contradiction # Settin...
51
SiliconEinstein/Gaia
ood_test
119
7c7c0b1e979a54c3626a0176dc6bf18fb88370a8
2026-04-05T10:29:54+08:00
train
diff --git a/docs/foundations/gaia-lang/dsl.md b/docs/foundations/gaia-lang/dsl.md index a42dfbee..a2930635 100644 --- a/docs/foundations/gaia-lang/dsl.md +++ b/docs/foundations/gaia-lang/dsl.md @@ -226,7 +226,7 @@ mathematical_induction(base=base, step=step, conclusion=conclusion) #### `composite(premises, conclusi...
149
SiliconEinstein/Gaia
ood_test
120
66de7d732e508f1a4ca66122ba573895e7e4f4ee
2026-04-05T12:21:50+08:00
train
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index 8f2dc696..a9282f2e 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -125,7 +125,10 @@ Use explicit strategy functions when you need a specific reasoning type ...
60
SiliconEinstein/Gaia
ood_test
121
4577103c9096b531284a535200f4f59e17e17c0c
2026-04-05T14:54:18+08:00
train
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index a9282f2e..0541a6eb 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -124,6 +124,7 @@ Use explicit strategy functions when you need a specific reasoning type b...
193
SiliconEinstein/Gaia
ood_test
122
1dc55462a1ac1f4d2f27967aeff7f86b8e93d490
2026-04-05T15:53:31+08:00
train
diff --git a/.claude/skills/paper-formalization/SKILL.md b/.claude/skills/paper-formalization/SKILL.md index 1e382983..454b115d 100644 --- a/.claude/skills/paper-formalization/SKILL.md +++ b/.claude/skills/paper-formalization/SKILL.md @@ -150,6 +150,12 @@ _strat = abduction( **注意:** `abduction()` 返回 Strategy(不是 Know...
25
SiliconEinstein/Gaia
ood_test
123
6e39bafd4c0fee1c8d5633bb054ba6655f27d595
2026-04-05T20:29:33+08:00
train
diff --git a/README.md b/README.md index ee42a0d3..586aeb44 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ The engine compiles the IR into a factor graph, automatically selects the best a ``` Inferred 6 beliefs from 4 priors and 0 strategy parameter records -BP converged: True after 23 iterations +Metho...
9
SiliconEinstein/Gaia
ood_test
124
8f36ef83201d782bda6bb82e04fa17ef95c38058
2026-04-06T11:15:13+08:00
train
diff --git a/docs/foundations/bp/formal-strategy-lowering.md b/docs/foundations/bp/formal-strategy-lowering.md index cfb46aa9..cf4bc2e0 100644 --- a/docs/foundations/bp/formal-strategy-lowering.md +++ b/docs/foundations/bp/formal-strategy-lowering.md @@ -1,110 +1,149 @@ -# FormalStrategy 因子图 Lowering:中间变量与二元因子 +# Forma...
18
SiliconEinstein/Gaia
ood_test
125
54b2aa51e250da0aa183437c22f26c520a95dffd
2026-04-06T19:42:19+08:00
train
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index 0541a6eb..5ed7d341 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -72,7 +72,7 @@ Write declarations directly at module top level. Do NOT use a `Package` con...
127
SiliconEinstein/Gaia
ood_test
126
769fc31ff66905a3c90566062c05946af13dbd95
2026-04-07T14:41:59+08:00
train
diff --git a/.claude/projects/-Users-kunchen-project-Gaia/memory/bug_formalexpr_relation_prior.md b/.claude/projects/-Users-kunchen-project-Gaia/memory/bug_formalexpr_relation_prior.md new file mode 100644 index 00000000..985e0d3b --- /dev/null +++ b/.claude/projects/-Users-kunchen-project-Gaia/memory/bug_formalexpr_re...
136
SiliconEinstein/Gaia
ood_test
127
3da705dbced34b16b15993bd0cf8a790add54a69
2026-04-07T17:19:04+08:00
train
diff --git a/docs/plans/2026-04-04-m6-semantic-discovery.md b/docs/plans/2026-04-04-m6-semantic-discovery.md new file mode 100644 index 00000000..c7a966aa --- /dev/null +++ b/docs/plans/2026-04-04-m6-semantic-discovery.md @@ -0,0 +1,1630 @@ +# M6 — Semantic Discovery Implementation Plan + +> **For agentic workers:** RE...
123
SiliconEinstein/Gaia
ood_test
128
d5efe188136cf1a75894e3344ab4408ca96df6e4
2026-04-08T18:47:49+08:00
train
diff --git a/README.md b/README.md index d26a52c8..86634784 100644 --- a/README.md +++ b/README.md @@ -2,47 +2,14 @@ [![CI](https://github.com/SiliconEinstein/Gaia/actions/workflows/ci.yml/badge.svg)](https://github.com/SiliconEinstein/Gaia/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/SiliconEinstein...
150
SiliconEinstein/Gaia
ood_test
129
40c00442d6bfffb7f44c04c25dd3f6e23f8eee5e
2026-04-09T10:31:45+08:00
val
diff --git a/docs/foundations/theory/01-plausible-reasoning.md b/docs/foundations/theory/01-plausible-reasoning.md index 2f1bfc0d..45353591 100644 --- a/docs/foundations/theory/01-plausible-reasoning.md +++ b/docs/foundations/theory/01-plausible-reasoning.md @@ -46,7 +46,7 @@ George Polya(*Mathematics and Plausible Rea...
156
SiliconEinstein/Gaia
ood_test
130
26ac67b24694a45592f98a5e7698e7fe85c003af
2026-04-09T10:32:03+08:00
val
diff --git a/gaia/cli/_packages.py b/gaia/cli/_packages.py index 4be91df9..2c49cfc1 100644 --- a/gaia/cli/_packages.py +++ b/gaia/cli/_packages.py @@ -2,9 +2,11 @@ from __future__ import annotations +import hashlib import importlib import json import sys +from collections import defaultdict, deque from datacla...
80
SiliconEinstein/Gaia
ood_test
131
14a968ef0a660be47e1fd42509f296991192e1af
2026-04-09T10:32:09+08:00
val
diff --git a/gaia/cli/_packages.py b/gaia/cli/_packages.py index 2c49cfc1..1871d5f3 100644 --- a/gaia/cli/_packages.py +++ b/gaia/cli/_packages.py @@ -16,6 +16,7 @@ from gaia.lang.runtime import Knowledge, Strategy from gaia.lang.runtime.package import CollectedPackage from gaia.lang.runtime.package import _pyproject...
53
SiliconEinstein/Gaia
ood_test
132
a1c9445ac7cc75d3538f481d3615e5d3e2507624
2026-04-09T10:32:16+08:00
val
diff --git a/gaia/cli/_packages.py b/gaia/cli/_packages.py index 1871d5f3..b4f1a1d5 100644 --- a/gaia/cli/_packages.py +++ b/gaia/cli/_packages.py @@ -310,9 +310,47 @@ def _resolve_dependency_premises_manifest(import_name: str) -> tuple[Path, dict[ return root, premises_manifest -def _validate_fills_relations(...
129
SiliconEinstein/Gaia
ood_test
133
142ca5b253d9a9a91dccc4ffc18f0938aa3ee250
2026-04-09T10:32:31+08:00
val
diff --git a/docs/specs/2026-04-08-gaia-package-hole-bridge-design.md b/docs/specs/2026-04-08-gaia-package-hole-bridge-design.md index 02546b94..dc85862b 100644 --- a/docs/specs/2026-04-08-gaia-package-hole-bridge-design.md +++ b/docs/specs/2026-04-08-gaia-package-hole-bridge-design.md @@ -421,29 +421,35 @@ relation_id...
187
SiliconEinstein/Gaia
ood_test
134
bf8b5f83de77dab8b0f4218be26aa945aa29f2d8
2026-04-09T15:26:18+08:00
val
diff --git a/docs/README.md b/docs/README.md index 72d6ce6e..f5ea9532 100644 --- a/docs/README.md +++ b/docs/README.md @@ -12,7 +12,7 @@ Start with [What is Gaia?](for-visitors/what-is-gaia.md), then see a [Worked Exa ### I want to use Gaia to author knowledge packages > You're a researcher or research agent using th...
118
SiliconEinstein/Gaia
ood_test
135
b698eb9f6530ee8c29d9a8507ffb0e84c4d04c08
2026-04-09T17:46:43+08:00
val
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index 5ed7d341..d612cdf8 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -234,22 +234,22 @@ result = engine.run(fg) # Auto-selects JT (exact) or loopy BP beliefs...
214
SiliconEinstein/Gaia
ood_test
136
4aee1afe376b71b1e7ec380c543d53d15cd62687
2026-04-09T23:04:23+08:00
val
diff --git a/README.md b/README.md index 48d15ef0..3a8ef2bb 100644 --- a/README.md +++ b/README.md @@ -106,11 +106,13 @@ Gaia is agent-ready. A [Claude Code](https://claude.ai/code) plugin provides ski ### Formalize a Paper End-to-End -1. **`/gaia:formalization`** — Point Claude at your paper (PDF or text in `arti...
59
SiliconEinstein/Gaia
ood_test
137
fc8f58133bac71d15804e879d47f5d946230d9bb
2026-04-10T08:52:51+08:00
val
diff --git a/docs/foundations/gaia-lang/dsl.md b/docs/foundations/gaia-lang/dsl.md index f7c2cde8..27498f4c 100644 --- a/docs/foundations/gaia-lang/dsl.md +++ b/docs/foundations/gaia-lang/dsl.md @@ -258,6 +258,27 @@ __all__ = ["bg", "hypothesis"] --- +## Reference Syntax + +Claim content and strategy reasons may c...
201
SiliconEinstein/Gaia
ood_test
138
b686e7ea8047af6e625423d210fd74e94233fc3d
2026-04-10T16:26:19+08:00
val
diff --git a/gaia/cli/commands/render.py b/gaia/cli/commands/render.py index 2b84a354..636b44cb 100644 --- a/gaia/cli/commands/render.py +++ b/gaia/cli/commands/render.py @@ -209,6 +209,30 @@ def render_command( ) want_github = False + # github strictly requires parameterization alongside beliefs...
48
SiliconEinstein/Gaia
ood_test
139
cec33c293ab6b0f62d4069b6bc8ea47f66980e4f
2026-04-10T18:48:09+08:00
val
diff --git a/gaia/cli/_packages.py b/gaia/cli/_packages.py index a8961ee0..7ccab4c7 100644 --- a/gaia/cli/_packages.py +++ b/gaia/cli/_packages.py @@ -310,8 +310,10 @@ def _resolve_dependency_premises_manifest(import_name: str) -> tuple[Path, dict[ premises_path = root / ".gaia" / "manifests" / "premises.json" ...
24
SiliconEinstein/Gaia
ood_test
140
cebeb8a622ba436f5334ce118924fb2faeeaf498
2026-04-10T19:03:39+08:00
val
diff --git a/gaia/cli/_packages.py b/gaia/cli/_packages.py index 7ccab4c7..96d7ce70 100644 --- a/gaia/cli/_packages.py +++ b/gaia/cli/_packages.py @@ -17,7 +17,7 @@ from typing import Any from gaia.lang.runtime import Knowledge, Strategy from gaia.lang.runtime.package import CollectedPackage -from gaia.lang.runtime...
21
SiliconEinstein/Gaia
ood_test
141
20b578542c89f1e98da1686cd36bb197fec528d7
2026-04-10T19:12:55+08:00
val
diff --git a/gaia/cli/_packages.py b/gaia/cli/_packages.py index 96d7ce70..b2e52fbb 100644 --- a/gaia/cli/_packages.py +++ b/gaia/cli/_packages.py @@ -232,15 +232,20 @@ def _interface_hash( ) -def _distribution_name(import_name: str) -> str: - return f"{import_name.replace('_', '-')}-gaia" - - -def _parse_g...
52
SiliconEinstein/Gaia
ood_test
142
09ba36d5bd7be6b204fc0f4d8955b7a43189027e
2026-04-10T22:58:15+08:00
val
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index d612cdf8..5f750dc3 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -49,7 +49,7 @@ dependencies = [] # Other *-gaia packages if needed inclu...
86
SiliconEinstein/Gaia
ood_test
143
16ba5562df8cb302d1abda0a377cd01807144a2d
2026-04-11T14:41:30+08:00
val
diff --git a/docs/plans/2026-04-10-obsidian-wiki-backend.md b/docs/plans/2026-04-10-obsidian-wiki-backend.md new file mode 100644 index 00000000..04b2f173 --- /dev/null +++ b/docs/plans/2026-04-10-obsidian-wiki-backend.md @@ -0,0 +1,1204 @@ +# Obsidian Wiki Backend Implementation Plan + +> **For agentic workers:** REQU...
51
SiliconEinstein/Gaia
ood_test
144
573c1bb4147d0dd994c96bf97f406678e0e648a0
2026-04-11T18:24:36+08:00
val
diff --git a/docs/specs/2026-04-10-obsidian-wiki-backend.md b/docs/specs/2026-04-10-obsidian-wiki-backend.md index d45814e9..066d9f16 100644 --- a/docs/specs/2026-04-10-obsidian-wiki-backend.md +++ b/docs/specs/2026-04-10-obsidian-wiki-backend.md @@ -36,7 +36,7 @@ What's missing is a **browsable, interlinked knowledge ...
8
SiliconEinstein/Gaia
ood_test
145
c577fb18b4f1310a7bf2327ab93f848811ca0920
2026-04-11T18:52:13+08:00
test
diff --git a/CLAUDE.md b/CLAUDE.md index 3bb10284..e5a22217 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -194,6 +194,37 @@ litellm.api_base = os.getenv("OPENAI_API_BASE") - **不确定就问**:对设计方案的任何偏离,无论多小,都要在实现前提出。 - **Plan 必须覆盖 spec 的每一步**:写 implementation plan 时,逐条核对 spec 中的每个步骤/流程,确保每一步都有对应的 task。遗漏步骤等于悄悄砍需求。 +## Scripts...
177
SiliconEinstein/Gaia
ood_test
146
89dfa2fba3606427d53b4a6a8830d2fdfbb94778
2026-04-13T09:47:12+08:00
test
diff --git a/CLAUDE.md b/CLAUDE.md index e5a22217..e4dd4ac2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -48,21 +48,21 @@ services/gateway/ → FastAPI HTTP API (routes, dependency injection) libs/storage/ → Storage backends (LanceDB content, Neo4j/Kuzu graph, LanceDB vector) libs/storage/models.py → C...
39
SiliconEinstein/Gaia
ood_test
147
b4967ae550462d2c505833d5141c1c8a69eed993
2026-04-13T22:38:39+08:00
test
diff --git a/docs/plans/2026-04-12-knowledge-graph-viz-redesign.md b/docs/plans/2026-04-12-knowledge-graph-viz-redesign.md new file mode 100644 index 00000000..9c2a5716 --- /dev/null +++ b/docs/plans/2026-04-12-knowledge-graph-viz-redesign.md @@ -0,0 +1,2054 @@ +# Knowledge Graph Visualization Redesign — Implementation...
52
SiliconEinstein/Gaia
ood_test
148
4d40aefe9aa2dc5b291ccd28d5fa2518cde7c020
2026-04-14T00:30:36+08:00
test
diff --git a/docs/foundations/bp/potentials.md b/docs/foundations/bp/potentials.md index 5867768c..e60f3561 100644 --- a/docs/foundations/bp/potentials.md +++ b/docs/foundations/bp/potentials.md @@ -20,14 +20,14 @@ | FactorType | 语义 | 理论参照 | |------------|------|---------| -| **IMPLICATION** | `variables=[A]`, `con...
1,158
SiliconEinstein/Gaia
ood_test
149
0255047b0cde2aa1b2c18bb88f96d69a3b3ea611
2026-04-14T12:31:55+08:00
test
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index 5f750dc3..1d9c724e 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -72,7 +72,7 @@ Write declarations directly at module top level. Do NOT use a `Package` con...
170
SiliconEinstein/Gaia
ood_test
150
0990869af33de62d93d382b98e1ac955a1f8a9f9
2026-04-14T14:45:14+08:00
test
diff --git a/gaia/cli/_packages.py b/gaia/cli/_packages.py index 2e1274e1..f89e7029 100644 --- a/gaia/cli/_packages.py +++ b/gaia/cli/_packages.py @@ -822,6 +822,61 @@ def build_package_manifests(loaded: LoadedGaiaPackage, compiled) -> dict[str, di return manifests +def collect_foreign_node_priors( + graph,...
140
SiliconEinstein/Gaia
ood_test
151
304045c65240db06ea7d589f9f4528a6dcb1fc2f
2026-04-14T23:28:39+08:00
test
diff --git a/gaia/bp/__init__.py b/gaia/bp/__init__.py index 15e25cce..4afa2da5 100644 --- a/gaia/bp/__init__.py +++ b/gaia/bp/__init__.py @@ -14,7 +14,7 @@ from gaia.bp.exact import comparison_table, exact_inference from gaia.bp.engine import EngineConfig, InferenceEngine, InferenceResult from gaia.bp.gbp import Gen...
159
SiliconEinstein/Gaia
ood_test
152
edf40eba22ef8c5e449857530c749f02f2b615a0
2026-04-15T11:03:49+08:00
test
diff --git a/.claude/skills/gaia-ir-authoring/SKILL.md b/.claude/skills/gaia-ir-authoring/SKILL.md index 1d9c724e..4fe9a07b 100644 --- a/.claude/skills/gaia-ir-authoring/SKILL.md +++ b/.claude/skills/gaia-ir-authoring/SKILL.md @@ -239,31 +239,15 @@ assert result.valid, result.errors ### Step 7: Run inference (option...
23
SiliconEinstein/Gaia
ood_test
153
5f855a8195d5f23548593b00f4ea5282738334b1
2026-04-15T12:22:17+08:00
test
diff --git a/gaia/bp/bp.py b/gaia/bp/bp.py index 7ba4cdbf..cf46bd1c 100644 --- a/gaia/bp/bp.py +++ b/gaia/bp/bp.py @@ -367,7 +367,7 @@ class BeliefPropagation: ) # Step 2: Compute all factor→variable messages (synchronous) - # For directed implication factors (deduction), the ...
110
SiliconEinstein/Gaia
ood_test
154
d8e7b08b3807a72259e34baadb66596986f856bf
2026-04-15T15:46:32+08:00
test
diff --git a/gaia/cli/commands/_github.py b/gaia/cli/commands/_github.py index 279ff56b..0f86cd04 100644 --- a/gaia/cli/commands/_github.py +++ b/gaia/cli/commands/_github.py @@ -318,7 +318,27 @@ def _render_coarse_mermaid( try: from gaia.ir.coarsen import compute_coarse_cpts - node_p...
12
SiliconEinstein/Gaia
ood_test
155
fdfbd40a04dd4c06b819509d4eea82c689cdfd75
2026-04-17T12:18:08+08:00
test
diff --git a/gaia/bp/bp.py b/gaia/bp/bp.py index cf46bd1c..d32968d7 100644 --- a/gaia/bp/bp.py +++ b/gaia/bp/bp.py @@ -367,17 +367,9 @@ class BeliefPropagation: ) # Step 2: Compute all factor→variable messages (synchronous) - # For directed implication factors (deduction/suppo...
158
SiliconEinstein/Gaia
ood_test
156
f45d3f32f2d2e154ba92d4e304ee78d2da1a1e4c
2026-04-18T11:43:03+08:00
test
diff --git a/README.md b/README.md index 6dbde2b2..57d43bdc 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ gaia/ ├── ir/ Gaia IR schema, validation, formalization ├── bp/ Belief propagation engine (loopy BP, junction tree, generalized BP) ├── cli/ CLI commands (init, compile, check...
22
SiliconEinstein/Gaia
ood_test
157
73ea53ad742fda6f583d4bc8ecdb2a000c052e44
2026-04-18T13:47:37+08:00
test
diff --git a/docs/archive/plans/2026-03-02-lkm-api-design-v2.md b/docs/archive/plans/2026-03-02-lkm-api-design-v2.md deleted file mode 100644 index 55c0c0cc..00000000 --- a/docs/archive/plans/2026-03-02-lkm-api-design-v2.md +++ /dev/null @@ -1,930 +0,0 @@ -# LKM API 设计 v2.2 - -> **Status:** SUPERSEDED by `2026-03-03-lk...
102
SiliconEinstein/Gaia
ood_test
158
54c6832d3f342cfaa0bcbc78b3969670499a2389
2026-04-18T15:57:22+08:00
test
diff --git a/gaia/ir/coarsen.py b/gaia/ir/coarsen.py index 0f64de06..fdd63aab 100644 --- a/gaia/ir/coarsen.py +++ b/gaia/ir/coarsen.py @@ -34,12 +34,33 @@ def coarsen_ir(ir: dict, exported_ids: set[str]) -> dict: leaf_ids: set[str] = set() for k in ir["knowledges"]: kid = k["id"] - label = k.g...
140
SiliconEinstein/Gaia
ood_test
159
9995320c36b5662ecd42e0837e12667ae6048ac4
2026-04-25T18:59:01+08:00
test
diff --git a/docs/ideas/gaia-discovery-insights.md b/docs/ideas/gaia-discovery-insights.md new file mode 100644 index 00000000..5bcf69b6 --- /dev/null +++ b/docs/ideas/gaia-discovery-insights.md @@ -0,0 +1,327 @@ +# Insights from gaia-discovery for Gaia Lang v6 + +> **Date:** 2026-04-19 +> **Context:** Analysis of Si...
283
SiliconEinstein/Gaia
ood_test
160
ada4c1f648bb841be65c627bd54d81dad44dc521
2026-04-29T07:28:15+08:00
test
diff --git a/README.md b/README.md index 57d43bdc..7feb5e15 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,24 @@ Gaia is agent-ready. A [Claude Code](https://claude.ai/code) plugin provides ski /plugin install gaia ``` +### Codex CLI + +Gaia skills also work with [OpenAI Codex CLI](https://developers.openai....
163
SiliconEinstein/Gaia
ood_test
161
20676fbd5e7e97fc343d03c3f8dc0552fecbb101
2026-05-04T08:29:49+08:00
test
diff --git a/gaia/cli/_packages.py b/gaia/cli/_packages.py index 01e7adc1..626de940 100644 --- a/gaia/cli/_packages.py +++ b/gaia/cli/_packages.py @@ -145,7 +145,16 @@ def load_gaia_package(path: str | Path = ".") -> LoadedGaiaPackage: package_roots = [pkg_path, pkg_path / "src"] source_root = next((root for ...
281
VojtechPetru/django-live-translations
ood_test
0
e78110afcdb738f91f7bf38e12001eca481bbf63
2026-03-18T12:00:00+00:00
train
diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..52ab7f0 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,137 @@ +# AGENTS.md + +Django app providing live, in-browser translation editing with pluggable backends (PO files, database). +Package source lives in `src/live_translations/`, tests in `tests/`, dem...
845
VojtechPetru/django-live-translations
ood_test
1
ccf71f048c928f62e2bceece84aea3099ee20f98
2026-03-18T12:00:00+00:00
train
diff --git a/src/live_translations/middleware.py b/src/live_translations/middleware.py index d5fb85f..593c468 100644 --- a/src/live_translations/middleware.py +++ b/src/live_translations/middleware.py @@ -169,6 +169,8 @@ class LiveTranslationsMiddleware: @staticmethod def _strip_zwc(response: django.http.Http...
709
VojtechPetru/django-live-translations
ood_test
2
28af0b033d09508134135d2f4494843b0a87793c
2026-03-19T19:24:34+01:00
train
diff --git a/README.md b/README.md index ac826b1..2b13932 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ The project enforces strict quality standards through pre-commit hooks and CI: - **Linting**: `ruff check` - **Type checking**: `pyrefly` - **Test coverage**: 90%+ required -- **Test suite**: 440+ uni...
107
VojtechPetru/django-live-translations
ood_test
3
f27536561d3353bd58a29df9bb81653d18672ae7
2026-03-20T09:03:35+01:00
train
diff --git a/docs/configuration.md b/docs/configuration.md index 8f58185..486b104 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -35,7 +35,7 @@ LIVE_TRANSLATIONS = { | `GETTEXT_DOMAIN` | `str` | `"django"` | Gettext domain — the basename of `.po`/`.mo` catalog files (e.g. `"django"` resolves to `dja...
85
VojtechPetru/django-live-translations
ood_test
4
6114816161ab0acec4776ce95a06ea126efdd6d2
2026-03-21T20:30:08+01:00
train
diff --git a/README.md b/README.md index 2b13932..a916dd8 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ The project enforces strict quality standards through pre-commit hooks and CI: - **Linting**: `ruff check` - **Type checking**: `pyrefly` - **Test coverage**: 90%+ required -- **Test suite**: 470+ uni...
485
VojtechPetru/django-live-translations
ood_test
5
05c86df06424b2a7582b1ea3cdca7a38eebb94c8
2026-03-21T21:19:47+01:00
train
diff --git a/src/live_translations/middleware.py b/src/live_translations/middleware.py index 117b092..1291f58 100644 --- a/src/live_translations/middleware.py +++ b/src/live_translations/middleware.py @@ -178,7 +178,8 @@ class LiveTranslationsMiddleware: if strings.ZWC_BOUNDARY not in content: ret...
122
VojtechPetru/django-live-translations
ood_test
6
62814afc66d115b33a5447115274af2e515a1595
2026-03-27T20:30:33+01:00
train
diff --git a/README.md b/README.md index a916dd8..1dc8b40 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ The project enforces strict quality standards through pre-commit hooks and CI: - **Linting**: `ruff check` - **Type checking**: `pyrefly` - **Test coverage**: 90%+ required -- **Test suite**: 550+ uni...
1,192
VojtechPetru/django-live-translations
ood_test
7
b1ed83b2da4e90fd48aec482f09d67f36c93eaed
2026-03-28T10:23:49+01:00
val
diff --git a/README.md b/README.md index 1dc8b40..1284e07 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Edit translations directly on any page of your Django application. Toggle edit mode, click any translatable string, and save changes that take effect immediately - no deployment, no restarts, no context s...
163
VojtechPetru/django-live-translations
ood_test
8
a3574613d1679a22cefdfe2bc2d29ffbedc5d2f7
2026-03-28T17:36:58+01:00
test
diff --git a/docs/admin.md b/docs/admin.md index 0276d12..02ea658 100644 --- a/docs/admin.md +++ b/docs/admin.md @@ -8,7 +8,7 @@ description: Managing translation overrides from the Django admin panel django-live-translations registers two models in Django's admin: `TranslationEntry` for managing overrides and `Transl...
28
Youhai020616/douyin
ood_test
0
be8c388b7533ac73a3dc6b480cd62bcbd230a78a
2026-03-16T06:36:15+08:00
train
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3fab973 --- /dev/null +++ b/README.md @@ -0,0 +1,351 @@ +<p align="center"> + <h1 align="center">🎬 douyin</h1> + <p align="center">AI-powered Douyin (抖音/TikTok China) automation — search, download, publish, engage, and analyze.</p> +</p> + +<p al...
86
YuminosukeSato/bsts-causalimpact
ood_test
0
bad1382ad824c2faa85f4df80506574e605ee55a
2026-03-22T13:53:07+09:00
train
diff --git a/python/causal_impact/__init__.py b/python/causal_impact/__init__.py new file mode 100644 index 0000000..047bde4 --- /dev/null +++ b/python/causal_impact/__init__.py @@ -0,0 +1,5 @@ +"""CausalImpact: Causal inference using Bayesian structural time series.""" + +from causal_impact._core import __version__ + ...
23
YuminosukeSato/bsts-causalimpact
ood_test
1
775e9d8e43cfe64fcad8005f2fd18c4cf735cfca
2026-03-22T13:57:04+09:00
train
23
YuminosukeSato/bsts-causalimpact
ood_test
2
fc26497a293fbbd09ba42eb74e101913837b4283
2026-03-22T13:57:54+09:00
train
diff --git a/python/causal_impact/analysis.py b/python/causal_impact/analysis.py new file mode 100644 index 0000000..4947011 --- /dev/null +++ b/python/causal_impact/analysis.py @@ -0,0 +1,97 @@ +"""Causal effect computation from Gibbs sampler output.""" + +from __future__ import annotations + +from dataclasses import ...
13
YuminosukeSato/bsts-causalimpact
ood_test
3
92123d17d54bc0ace7a3601cb5191bbf3245d1fe
2026-03-22T13:58:54+09:00
train
diff --git a/python/causal_impact/plot.py b/python/causal_impact/plot.py new file mode 100644 index 0000000..f081cbd --- /dev/null +++ b/python/causal_impact/plot.py @@ -0,0 +1,83 @@ +"""Matplotlib plotting for CausalImpact results.""" + +from __future__ import annotations + +from typing import TYPE_CHECKING + +import ...
12
YuminosukeSato/bsts-causalimpact
ood_test
4
9ea9a21d9398a581c610ca6cad970abec9aae0f4
2026-03-22T14:00:58+09:00
train
diff --git a/python/causal_impact/__init__.py b/python/causal_impact/__init__.py index 047bde4..24ae95e 100644 --- a/python/causal_impact/__init__.py +++ b/python/causal_impact/__init__.py @@ -1,5 +1,6 @@ """CausalImpact: Causal inference using Bayesian structural time series.""" from causal_impact._core import __v...
42
YuminosukeSato/bsts-causalimpact
ood_test
5
34d15a5fd841dc3e8b2bf4ae5d5e4d9b02502e15
2026-03-22T21:49:50+09:00
train
diff --git a/README.md b/README.md new file mode 100644 index 0000000..09d7575 --- /dev/null +++ b/README.md @@ -0,0 +1,123 @@ +# CausalImpact + +A Python implementation of Google's [CausalImpact](https://google.github.io/CausalImpact/) (R package) for causal inference using Bayesian structural time series models. + +T...
8
YuminosukeSato/bsts-causalimpact
ood_test
6
c930df438dafc33cff9a86e27619d952ac353deb
2026-03-22T22:16:28+09:00
train
diff --git a/README.md b/README.md index 09d7575..1d16a0a 100644 --- a/README.md +++ b/README.md @@ -2,23 +2,50 @@ A Python implementation of Google's [CausalImpact](https://google.github.io/CausalImpact/) (R package) for causal inference using Bayesian structural time series models. -The Gibbs sampler is written ...
23
YuminosukeSato/bsts-causalimpact
ood_test
7
caf9d3dfe7d33b5404ea6d80eb094b98d88dbcf7
2026-03-22T22:15:52+09:00
train
7
YuminosukeSato/bsts-causalimpact
ood_test
8
de9e16f9151c9a197f7875f30d8f42eda89e943f
2026-03-22T22:47:45+09:00
train
diff --git a/README.md b/README.md index 1d16a0a..9abf314 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,12 @@ src/ (Rust) distributions.rs # Posterior sampling distributions ``` +## Setup + +```bash +git config core.hooksPath .githooks +``` + ## Running Tests ```bash
29
YuminosukeSato/bsts-causalimpact
ood_test
9
506eeaefaa14a577a44f15c3c299293313268ae7
2026-03-22T23:02:53+09:00
train
diff --git a/python/causal_impact/main.py b/python/causal_impact/main.py index c4e4652..fedb5b4 100644 --- a/python/causal_impact/main.py +++ b/python/causal_impact/main.py @@ -23,6 +23,7 @@ DEFAULT_MODEL_ARGS = { "seed": 0, "standardize_data": True, "prior_level_sd": 0.01, + "expected_model_size": 1,...
8
YuminosukeSato/bsts-causalimpact
ood_test
10
498dd25188dc566a24d8debc40d1d4c4a8c41c97
2026-03-22T23:18:13+09:00
train
diff --git a/README.md b/README.md index 9abf314..cf73786 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A Python implementation of Google's [CausalImpact](https://google.github.io/CausalImpact/) (R package) for causal inference using Bayesian structural time series models. -The Gibbs sampler is written in...
131
YuminosukeSato/bsts-causalimpact
ood_test
11
fbfbba636d0f5fb2296b734d0fc074b6038ccdfe
2026-03-22T23:23:50+09:00
train
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..4e91cf8 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,65 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free e...
42
YuminosukeSato/bsts-causalimpact
ood_test
12
f915f3461c57192b449c077321f786c2f67d2850
2026-03-23T00:28:30+09:00
train
diff --git a/README.md b/README.md index b3ffcd6..0f0ab6a 100644 --- a/README.md +++ b/README.md @@ -65,29 +65,63 @@ fig.savefig("causal_impact.png") ## Comparison with Alternatives -| Aspect | bsts-causalimpact | tfp-causalimpact | -|---|---|---| -| Algorithm | Gibbs sampler (Rust, same as R bsts) | Gibbs sampler...
105
YuminosukeSato/bsts-causalimpact
ood_test
13
661567dd9a6555a84554b7d95c8352794df5d3e8
2026-03-23T01:30:06+09:00
train
diff --git a/python/causal_impact/analysis.py b/python/causal_impact/analysis.py index 9ce9364..525ac50 100644 --- a/python/causal_impact/analysis.py +++ b/python/causal_impact/analysis.py @@ -11,21 +11,34 @@ import numpy as np class CausalImpactResults: """Results of causal impact analysis.""" - point_effec...
109