Einsia commited on
Commit
45c7035
·
verified ·
1 Parent(s): 860fd4c

Rename LitGraph to InsightPro (names only; data unchanged)

Browse files
CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  # Release 2026-11-12
2
 
3
  Built from the frozen 856-domain export used for the manuscript library counts,
 
1
+ # 2026-11-30
2
+
3
+ Renamed from LitGraph to InsightPro (dataset id `Einsia/InsightPro`; the old id redirects).
4
+ Only names changed: the dataset card, the launcher and API messages, and the library database
5
+ environment variable (`LITGRAPH_LIBRARY_DB` -> `INSIGHTPRO_LIBRARY_DB`). Data files are unchanged.
6
+
7
  # Release 2026-11-12
8
 
9
  Built from the frozen 856-domain export used for the manuscript library counts,
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- pretty_name: LitGraph
3
  language:
4
  - en
5
  - zh
@@ -32,9 +32,9 @@ configs:
32
  path: data/domain_papers.parquet
33
  ---
34
 
35
- # LitGraph
36
 
37
- LitGraph organizes AI literature into 856 research domains, with structured
38
  insights, problems, supporting-paper links, and paper cards for research ideation.
39
  This release is dated 2026-11-12.
40
 
@@ -78,8 +78,8 @@ Download the complete dataset repository, then run from its root:
78
 
79
  ```bash
80
  pip install huggingface_hub
81
- hf download Einsia/LitGraph --repo-type dataset --local-dir LitGraph
82
- cd LitGraph
83
  ```
84
 
85
  ```bash
@@ -111,7 +111,7 @@ Load an individual table directly from Hugging Face:
111
 
112
  ```python
113
  from datasets import load_dataset
114
- insights = load_dataset('Einsia/LitGraph', 'insights', split='train')
115
  ```
116
 
117
  Or read the downloaded files locally:
@@ -149,7 +149,7 @@ Model-extracted statements can contain errors and should be checked against the
149
  linked original publications. Paper IDs are local numeric IDs, not OpenAlex IDs.
150
 
151
  This is a current corpus, not a historical-cutoff or benchmark-masked snapshot.
152
- The 38-domain IdeaX benchmark data, run trajectories, generated ideas, scores,
153
  credentials, and working directories are outside this dataset release.
154
 
155
  A dataset-wide reuse license has not yet been specified. This repository does
 
1
  ---
2
+ pretty_name: InsightPro
3
  language:
4
  - en
5
  - zh
 
32
  path: data/domain_papers.parquet
33
  ---
34
 
35
+ # InsightPro
36
 
37
+ InsightPro organizes AI literature into 856 research domains, with structured
38
  insights, problems, supporting-paper links, and paper cards for research ideation.
39
  This release is dated 2026-11-12.
40
 
 
78
 
79
  ```bash
80
  pip install huggingface_hub
81
+ hf download Einsia/InsightPro --repo-type dataset --local-dir InsightPro
82
+ cd InsightPro
83
  ```
84
 
85
  ```bash
 
111
 
112
  ```python
113
  from datasets import load_dataset
114
+ insights = load_dataset('Einsia/InsightPro', 'insights', split='train')
115
  ```
116
 
117
  Or read the downloaded files locally:
 
149
  linked original publications. Paper IDs are local numeric IDs, not OpenAlex IDs.
150
 
151
  This is a current corpus, not a historical-cutoff or benchmark-masked snapshot.
152
+ The 38-domain InsightPro benchmark data, run trajectories, generated ideas, scores,
153
  credentials, and working directories are outside this dataset release.
154
 
155
  A dataset-wide reuse license has not yet been specified. This repository does
SHA256SUMS CHANGED
@@ -1,16 +1,16 @@
1
- 076a8d3b368e80173e57088552781cdbba73b80c94d8bc6f8d16d562d783176f CHANGELOG.md
2
- f33e3bea13bba1d372ce1c35bff014e4859b0c0341bcf433512b89cc7d79189b README.md
3
- 17b3d21d76799e06ede2bdcb6c89fec5367eb456f0f60234ab13e6ef6dc0e5fe api/library_api.py
4
- bcd934753c00d22a3d1267f01400595d0eb16fbe882426fd1e0ad2292542b772 api/library_api_agent_prompt.md
5
- 8f05bf8abd6829f476dc57da95d207f843269b81ad410162cbba4b6833eb0581 api/library_api_docs.py
6
  05363d0c31d73df8919c8d08fff69571bb29701fc701ee35fa944facfb32b4ab api/library_api_index.py
7
- a4a389d9e9589ab4cda2adb6da1aad53a3ecf3b7970dbe7047f075c534a8a617 api/library_query.py
8
  70b7b44dad6396cebb6cb341145012a2ccda6bb0090a76d15a760b520cd1c3e5 data/domain_papers.parquet
9
  d05559df3c7a6e814bf70a36500283928bc87a42edf7bf51a676286cd28b29e6 data/domains.parquet
10
  82d22c7b8919c9122f52d403bcc9bb856fc8ef9b6c800cb54f1d9cbddd42f2fe data/insights.parquet
11
  62101a0f4a20e091d59f8ed4233064bd6a3f169a075df9d70e2f1f8fda27fae9 data/papers.parquet
12
  b9f3009c56da9877d6bab359fa3d85b2587c56a05bee22980bbc6c875d798745 data/problems.parquet
13
- c21a0ab860559e0114c65e060b7ae51a78ddb5710e1b4fe49d86e5f2c30224f1 serve.py
14
  222b0300bed5ff27ede83067301d6958d5ba5d4a397a2eda24814c6dbc119b8a snapshot/api_index.db
15
  dc5e74fd69f1a36c5b3b618274639b2450a5256d2f254d79603e3cc037344d95 snapshot/domains.json
16
  62a604878de989d0189db479e64bef0edfb243e94a67f39a2885620069d133fd snapshot/library.db
 
1
+ 8156a9c950c1233355edf87c1bb235983417d5af3ef12cb50ce87705af188f08 CHANGELOG.md
2
+ e4ccf3432712a5455c2421f72b104aa0f5c24c03c1577e58836b22f653b9a70c README.md
3
+ 83cdb11f8cc2db619ddd0a87b98db4a8dcfb7a33d5a900ad1deb74986e94cb3f api/library_api.py
4
+ ee6d12b4949b9736974ebb959f7248b041dd9ec34323465d06c8eb223a8cd6ac api/library_api_agent_prompt.md
5
+ ef81c69948f8bba90a90d21aee2f3a1af1d08f2fbf4a8d4252a997e2473d2cbb api/library_api_docs.py
6
  05363d0c31d73df8919c8d08fff69571bb29701fc701ee35fa944facfb32b4ab api/library_api_index.py
7
+ 88d769fe422902de21284e9fa5824c41edfd7cb89ae717900076b777cd55e323 api/library_query.py
8
  70b7b44dad6396cebb6cb341145012a2ccda6bb0090a76d15a760b520cd1c3e5 data/domain_papers.parquet
9
  d05559df3c7a6e814bf70a36500283928bc87a42edf7bf51a676286cd28b29e6 data/domains.parquet
10
  82d22c7b8919c9122f52d403bcc9bb856fc8ef9b6c800cb54f1d9cbddd42f2fe data/insights.parquet
11
  62101a0f4a20e091d59f8ed4233064bd6a3f169a075df9d70e2f1f8fda27fae9 data/papers.parquet
12
  b9f3009c56da9877d6bab359fa3d85b2587c56a05bee22980bbc6c875d798745 data/problems.parquet
13
+ 2ff1bcc452df1e964191346cfdc03ea9c3db10155fc28920b1bbaff89e0e90ae serve.py
14
  222b0300bed5ff27ede83067301d6958d5ba5d4a397a2eda24814c6dbc119b8a snapshot/api_index.db
15
  dc5e74fd69f1a36c5b3b618274639b2450a5256d2f254d79603e3cc037344d95 snapshot/domains.json
16
  62a604878de989d0189db479e64bef0edfb243e94a67f39a2885620069d133fd snapshot/library.db
api/library_api.py CHANGED
@@ -1,4 +1,4 @@
1
- """Read-only HTTP access to the problem/insight library used by ideaX."""
2
  from __future__ import annotations
3
 
4
  import argparse
@@ -311,7 +311,7 @@ class Server(ThreadingHTTPServer):
311
 
312
 
313
  class Handler(BaseHTTPRequestHandler):
314
- server_version = 'ideaX-library-api/1'
315
  sys_version = ''
316
 
317
  def setup(self):
@@ -344,7 +344,7 @@ class Handler(BaseHTTPRequestHandler):
344
  parsed = urlsplit(self.path)
345
  route = unquote(parsed.path)
346
  if route in ('/healthz', '/health'):
347
- return self.reply(200, {'ok': True, 'service': 'ideaX library', 'read_only': True})
348
  if route in ('/', '/llms.txt', '/openapi.json'):
349
  from library_api_docs import llms_text, openapi
350
  return self.reply(200, openapi(bool(self.server.credentials)) if route == '/openapi.json' else llms_text(bool(self.server.credentials)))
@@ -510,7 +510,7 @@ def main():
510
  # Prepare shared counts before accepting the initial burst of scout reads.
511
  library.domain_catalog()
512
  server = Server((args.host, args.port), library, Credentials(args.auth_file) if args.auth_file else None)
513
- print(f'ideaX read-only library API: http://{args.host}:{server.server_port}', flush=True)
514
  try:
515
  server.serve_forever()
516
  except KeyboardInterrupt:
 
1
+ """Read-only HTTP access to the problem/insight library used by InsightPro."""
2
  from __future__ import annotations
3
 
4
  import argparse
 
311
 
312
 
313
  class Handler(BaseHTTPRequestHandler):
314
+ server_version = 'insightpro-library-api/1'
315
  sys_version = ''
316
 
317
  def setup(self):
 
344
  parsed = urlsplit(self.path)
345
  route = unquote(parsed.path)
346
  if route in ('/healthz', '/health'):
347
+ return self.reply(200, {'ok': True, 'service': 'InsightPro library', 'read_only': True})
348
  if route in ('/', '/llms.txt', '/openapi.json'):
349
  from library_api_docs import llms_text, openapi
350
  return self.reply(200, openapi(bool(self.server.credentials)) if route == '/openapi.json' else llms_text(bool(self.server.credentials)))
 
510
  # Prepare shared counts before accepting the initial burst of scout reads.
511
  library.domain_catalog()
512
  server = Server((args.host, args.port), library, Credentials(args.auth_file) if args.auth_file else None)
513
+ print(f'InsightPro read-only library API: http://{args.host}:{server.server_port}', flush=True)
514
  try:
515
  server.serve_forever()
516
  except KeyboardInterrupt:
api/library_api_agent_prompt.md CHANGED
@@ -1,4 +1,4 @@
1
- 你可以使用 IdeaX / litgraph 研究知识库辅助完成用户的科研任务。它提供研究领域、领域下的 problems 和 insights,以及领域内论文及其结构化来源材料。请实际调用接口、阅读返回的证据,再回答用户。
2
 
3
  服务根地址:BASE={{BASE_URL}}
4
  接入说明:GET BASE/llms.txt
@@ -50,7 +50,7 @@
50
  输出随用户任务调整:
51
  - 检索或综述:给出相关领域、条目 ID、简明解释和来源论文,附可访问的 API 链接或论文链接。
52
  - 研究想法:每个候选明确列出目标 problem、借用 insight、原有机制与适配步骤、区别于最接近工作的贡献、可证伪预测、最小对照实验和主要失败条件。提出时就检索领域近邻与跨领域机制等价工作,尽可能读最近邻的原文方法和公式。尝试用变量替换、限制特例将候选归约成前作,并写明剔除已知部分后的剩余贡献;被覆盖则撤回或重写。
53
- - IdeaX 卡片需保存 source_entry_ids(problems/insights 两个数组)、entry_usage(每项 id、kind、role、use)和 litgraph_queries(每项 endpoint 及实际参数、purpose、result_ids、read_depth)。每个来源逐项说明如何影响问题、机制、边界、反例筛选或实验;不得事后补造影响过程。辩论重新打开争议条目和最近邻论文,作者将成立的修订写回原卡;最终 selector 仅选择已有 card ID。
54
  - 每个想法必须有 Previous work,格式为 `《数字 paper_id》完整标题`,附 `BASE/api/v1/papers/<数字 paper_id>`。逐篇通过 API 核对编号与标题,写出阅读深度(fulltext / abstract / source_card / metadata)、具体原文位置、重合点和区别。未入库的最近邻另列原文链接及查找记录,不编造编号也不省略。记录实际检索词、覆盖缺口和未排除的等价风险;API 身份校验不能证明新颖性。
55
  - 检索无结果或证据不足:报告尝试过的关键词、覆盖范围和缺口,不补造引用。
56
 
 
1
+ 你可以使用 InsightPro 研究知识库辅助完成用户的科研任务。它提供研究领域、领域下的 problems 和 insights,以及领域内论文及其结构化来源材料。请实际调用接口、阅读返回的证据,再回答用户。
2
 
3
  服务根地址:BASE={{BASE_URL}}
4
  接入说明:GET BASE/llms.txt
 
50
  输出随用户任务调整:
51
  - 检索或综述:给出相关领域、条目 ID、简明解释和来源论文,附可访问的 API 链接或论文链接。
52
  - 研究想法:每个候选明确列出目标 problem、借用 insight、原有机制与适配步骤、区别于最接近工作的贡献、可证伪预测、最小对照实验和主要失败条件。提出时就检索领域近邻与跨领域机制等价工作,尽可能读最近邻的原文方法和公式。尝试用变量替换、限制特例将候选归约成前作,并写明剔除已知部分后的剩余贡献;被覆盖则撤回或重写。
53
+ - InsightPro 卡片需保存 source_entry_ids(problems/insights 两个数组)、entry_usage(每项 id、kind、role、use)和 insightpro_queries(每项 endpoint 及实际参数、purpose、result_ids、read_depth)。每个来源逐项说明如何影响问题、机制、边界、反例筛选或实验;不得事后补造影响过程。辩论重新打开争议条目和最近邻论文,作者将成立的修订写回原卡;最终 selector 仅选择已有 card ID。
54
  - 每个想法必须有 Previous work,格式为 `《数字 paper_id》完整标题`,附 `BASE/api/v1/papers/<数字 paper_id>`。逐篇通过 API 核对编号与标题,写出阅读深度(fulltext / abstract / source_card / metadata)、具体原文位置、重合点和区别。未入库的最近邻另列原文链接及查找记录,不编造编号也不省略。记录实际检索词、覆盖缺口和未排除的等价风险;API 身份校验不能证明新颖性。
55
  - 检索无结果或证据不足:报告尝试过的关键词、覆盖范围和缺口,不补造引用。
56
 
api/library_api_docs.py CHANGED
@@ -1,4 +1,4 @@
1
- """Machine-readable discovery for the ideaX library API."""
2
  from pathlib import Path
3
 
4
 
@@ -15,7 +15,7 @@ def llms_text(requires_key=False):
15
  auth = 'All /api/v1 routes require Authorization: Bearer <API_KEY>.\n' if requires_key else 'This instance permits public, read-only access.\n'
16
  return '# Copyable prompt for agents / 可直接交给其他 agent 的提示词\n\n' + agent_prompt(requires_key=requires_key) + '''
17
 
18
- # ideaX / litgraph research domains API
19
 
20
  Read /openapi.json for parameter and response schemas.
21
  ''' + auth + '''
@@ -115,7 +115,7 @@ def openapi(requires_key=False):
115
  '/health': {'get': {'summary': 'Liveness', 'responses': {'200': success}}},
116
  '/api/v1/stats': {'get': operation('Snapshot counts')},
117
  '/api/v1/units': {'get': operation('Research domains and per-kind counts')},
118
- '/api/v1/domains': {'get': operation('Browse or search litgraph research domains', [
119
  query('q', {'type': 'string'}, 'Matches domain name and ID.'),
120
  query('limit', {'type': 'integer', 'minimum': 1, 'maximum': 100, 'default': 50}),
121
  query('offset', {'type': 'integer', 'minimum': 0, 'maximum': 10000, 'default': 0})])},
@@ -150,7 +150,7 @@ def openapi(requires_key=False):
150
  {'type': 'object', 'properties': {'data': data_schema}}]}}}}
151
  return {
152
  'openapi': '3.0.3',
153
- 'info': {'title': 'ideaX / litgraph Read-only Domains API', 'version': '1.1.0',
154
  'description': 'Research domains, their insights/problems, all member papers, and source cards. Read /llms.txt for evidence limits. Results are not masked.'},
155
  'paths': paths,
156
  'components': {
 
1
+ """Machine-readable discovery for the InsightPro library API."""
2
  from pathlib import Path
3
 
4
 
 
15
  auth = 'All /api/v1 routes require Authorization: Bearer <API_KEY>.\n' if requires_key else 'This instance permits public, read-only access.\n'
16
  return '# Copyable prompt for agents / 可直接交给其他 agent 的提示词\n\n' + agent_prompt(requires_key=requires_key) + '''
17
 
18
+ # InsightPro research domains API
19
 
20
  Read /openapi.json for parameter and response schemas.
21
  ''' + auth + '''
 
115
  '/health': {'get': {'summary': 'Liveness', 'responses': {'200': success}}},
116
  '/api/v1/stats': {'get': operation('Snapshot counts')},
117
  '/api/v1/units': {'get': operation('Research domains and per-kind counts')},
118
+ '/api/v1/domains': {'get': operation('Browse or search insightpro research domains', [
119
  query('q', {'type': 'string'}, 'Matches domain name and ID.'),
120
  query('limit', {'type': 'integer', 'minimum': 1, 'maximum': 100, 'default': 50}),
121
  query('offset', {'type': 'integer', 'minimum': 0, 'maximum': 10000, 'default': 0})])},
 
150
  {'type': 'object', 'properties': {'data': data_schema}}]}}}}
151
  return {
152
  'openapi': '3.0.3',
153
+ 'info': {'title': 'InsightPro Read-only Domains API', 'version': '1.1.0',
154
  'description': 'Research domains, their insights/problems, all member papers, and source cards. Read /llms.txt for evidence limits. Results are not masked.'},
155
  'paths': paths,
156
  'components': {
api/library_query.py CHANGED
@@ -1,4 +1,4 @@
1
- """Search and inspect the domain problem/insight snapshot used by ideaX.
2
 
3
  library_query.py build --source <insight_lib> --db <library.db>
4
  library_query.py search <words> [--kind problem|insight] [--unit <id>] [-k 12]
@@ -69,7 +69,7 @@ def build(source, output):
69
 
70
  def main():
71
  ap = argparse.ArgumentParser(description=__doc__)
72
- ap.add_argument('--db', default=os.environ.get('LITGRAPH_LIBRARY_DB', '/work/library.db'))
73
  sub = ap.add_subparsers(dest='cmd', required=True)
74
  b = sub.add_parser('build')
75
  b.add_argument('--source', required=True)
 
1
+ """Search and inspect the domain problem/insight snapshot used by InsightPro.
2
 
3
  library_query.py build --source <insight_lib> --db <library.db>
4
  library_query.py search <words> [--kind problem|insight] [--unit <id>] [-k 12]
 
69
 
70
  def main():
71
  ap = argparse.ArgumentParser(description=__doc__)
72
+ ap.add_argument('--db', default=os.environ.get('INSIGHTPRO_LIBRARY_DB', '/work/library.db'))
73
  sub = ap.add_subparsers(dest='cmd', required=True)
74
  b = sub.add_parser('build')
75
  b.add_argument('--source', required=True)
manifest.json CHANGED
@@ -1,34 +1,34 @@
1
  {
2
- "release": "litgraph-20261112",
3
  "schema_version": 1,
4
  "files": {
5
  "CHANGELOG.md": {
6
- "bytes": 1024,
7
- "sha256": "076a8d3b368e80173e57088552781cdbba73b80c94d8bc6f8d16d562d783176f"
8
  },
9
  "README.md": {
10
- "bytes": 5707,
11
- "sha256": "f33e3bea13bba1d372ce1c35bff014e4859b0c0341bcf433512b89cc7d79189b"
12
  },
13
  "api/library_api.py": {
14
- "bytes": 27079,
15
- "sha256": "17b3d21d76799e06ede2bdcb6c89fec5367eb456f0f60234ab13e6ef6dc0e5fe"
16
  },
17
  "api/library_api_agent_prompt.md": {
18
- "bytes": 8842,
19
- "sha256": "bcd934753c00d22a3d1267f01400595d0eb16fbe882426fd1e0ad2292542b772"
20
  },
21
  "api/library_api_docs.py": {
22
- "bytes": 13152,
23
- "sha256": "8f05bf8abd6829f476dc57da95d207f843269b81ad410162cbba4b6833eb0581"
24
  },
25
  "api/library_api_index.py": {
26
  "bytes": 7445,
27
  "sha256": "05363d0c31d73df8919c8d08fff69571bb29701fc701ee35fa944facfb32b4ab"
28
  },
29
  "api/library_query.py": {
30
- "bytes": 6025,
31
- "sha256": "a4a389d9e9589ab4cda2adb6da1aad53a3ecf3b7970dbe7047f075c534a8a617"
32
  },
33
  "data/domain_papers.parquet": {
34
  "bytes": 1103057,
@@ -51,8 +51,8 @@
51
  "sha256": "b9f3009c56da9877d6bab359fa3d85b2587c56a05bee22980bbc6c875d798745"
52
  },
53
  "serve.py": {
54
- "bytes": 2436,
55
- "sha256": "c21a0ab860559e0114c65e060b7ae51a78ddb5710e1b4fe49d86e5f2c30224f1"
56
  },
57
  "snapshot/api_index.db": {
58
  "bytes": 747573248,
 
1
  {
2
+ "release": "insightpro-20261112",
3
  "schema_version": 1,
4
  "files": {
5
  "CHANGELOG.md": {
6
+ "bytes": 1324,
7
+ "sha256": "8156a9c950c1233355edf87c1bb235983417d5af3ef12cb50ce87705af188f08"
8
  },
9
  "README.md": {
10
+ "bytes": 5726,
11
+ "sha256": "e4ccf3432712a5455c2421f72b104aa0f5c24c03c1577e58836b22f653b9a70c"
12
  },
13
  "api/library_api.py": {
14
+ "bytes": 27099,
15
+ "sha256": "83cdb11f8cc2db619ddd0a87b98db4a8dcfb7a33d5a900ad1deb74986e94cb3f"
16
  },
17
  "api/library_api_agent_prompt.md": {
18
+ "bytes": 8843,
19
+ "sha256": "ee6d12b4949b9736974ebb959f7248b041dd9ec34323465d06c8eb223a8cd6ac"
20
  },
21
  "api/library_api_docs.py": {
22
+ "bytes": 13147,
23
+ "sha256": "ef81c69948f8bba90a90d21aee2f3a1af1d08f2fbf4a8d4252a997e2473d2cbb"
24
  },
25
  "api/library_api_index.py": {
26
  "bytes": 7445,
27
  "sha256": "05363d0c31d73df8919c8d08fff69571bb29701fc701ee35fa944facfb32b4ab"
28
  },
29
  "api/library_query.py": {
30
+ "bytes": 6032,
31
+ "sha256": "88d769fe422902de21284e9fa5824c41edfd7cb89ae717900076b777cd55e323"
32
  },
33
  "data/domain_papers.parquet": {
34
  "bytes": 1103057,
 
51
  "sha256": "b9f3009c56da9877d6bab359fa3d85b2587c56a05bee22980bbc6c875d798745"
52
  },
53
  "serve.py": {
54
+ "bytes": 2438,
55
+ "sha256": "2ff1bcc452df1e964191346cfdc03ea9c3db10155fc28920b1bbaff89e0e90ae"
56
  },
57
  "snapshot/api_index.db": {
58
  "bytes": 747573248,
serve.py CHANGED
@@ -1,4 +1,4 @@
1
- """Verify and run a downloaded LitGraph snapshot; Python 3.10+ standard library."""
2
  import argparse
3
  import hashlib
4
  import json
 
1
+ """Verify and run a downloaded InsightPro snapshot; Python 3.10+ standard library."""
2
  import argparse
3
  import hashlib
4
  import json