Skip to content

Commit 5e863e6

Browse files
authored
Merge pull request #7 from pzqpzq/codex/mdia-rebuild
Rebuild repository around the MDia pipeline
2 parents fd9af07 + 4bd5b68 commit 5e863e6

162 files changed

Lines changed: 14258 additions & 485 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# The deterministic toy pipeline does not require any environment variables.
2+
# For a provider-backed adapter, export the variables consumed by that
3+
# adapter through your shell or secret manager. The package does not parse
4+
# `.env` files; `.env` is ignored only as a safety backstop.
5+
6+
MDIA_API_KEY=
7+
MDIA_API_BASE=
8+
9+
# The model name and optional api_key_env override belong in the validated
10+
# run config. If api_key_env names a different variable, define it only in
11+
# your local environment; do not add a resolved key here.

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python-version: ["3.10", "3.11", "3.12"]
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
cache: pip
23+
- run: python -m pip install --upgrade pip
24+
- run: python -m pip install -e ".[dev]"
25+
- run: ruff check src tests scripts
26+
- run: ruff format --check src tests scripts
27+
- run: mypy src/mdia
28+
- run: pytest
29+
- run: python scripts/check_markdown_links.py
30+
- run: python scripts/check_release_hygiene.py
31+
32+
secrets:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v4
36+
with:
37+
fetch-depth: 0
38+
- uses: gitleaks/gitleaks-action@v2
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*.egg-info/
5+
.pytest_cache/
6+
.mypy_cache/
7+
.ruff_cache/
8+
.coverage
9+
htmlcov/
10+
11+
# Environments and local configuration
12+
.venv/
13+
venv/
14+
.env
15+
.env.*
16+
!.env.example
17+
18+
# Generated runs and caches
19+
runs/
20+
tmp/
21+
.cache/
22+
dist/
23+
build/
24+
25+
# Editors and operating systems
26+
.DS_Store
27+
Thumbs.db
28+
.idea/
29+
.vscode/
30+
31+
# Private/restricted experiment material
32+
private_data/
33+
secrets/
34+
api_usage*.jsonl
35+
*usage_ledger*

.gitleaksignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Deterministic SHA-256 for execution/token_accounting.json in the toy example.
2+
# Gitleaks associates the artifact path's "token" substring with the checksum.
3+
693d3aa30e065ae3d8d047f884e271f6eb4739ba:artifacts/example/manifest.json:generic-api-key:10

CITATION.cff

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
cff-version: 1.2.0
2+
message: "If you use this software, cite the software and the relevant MDia or CLSR paper."
3+
title: "Machine Dialectology (MDia)"
4+
type: software
5+
authors:
6+
- family-names: Pei
7+
given-names: Zhengqi
8+
- family-names: Huang
9+
given-names: Qingming
10+
- family-names: Wang
11+
given-names: Shuhui
12+
version: 1.0.0
13+
date-released: 2026-07-30
14+
repository-code: "https://github.com/pzqpzq/LSF_MDia"
15+
url: "https://github.com/pzqpzq/LSF_MDia"
16+
license: MIT
17+
references:
18+
- type: article
19+
title: "When LLMs Develop Languages: Symbolic Communication for Efficient Multi-Agent Reasoning"
20+
authors:
21+
- family-names: Pei
22+
given-names: Zhengqi
23+
- family-names: Huang
24+
given-names: Qingming
25+
- family-names: Wang
26+
given-names: Shuhui
27+
year: 2026
28+
url: "https://arxiv.org/abs/2606.29354"
-2.09 KB
Binary file not shown.
-1.82 KB
Binary file not shown.
-4.66 KB
Binary file not shown.
-1.59 KB
Binary file not shown.
-2.41 KB
Binary file not shown.

0 commit comments

Comments
 (0)