Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
BEST_MODEL_BASE_URL=
BEST_MODEL_API_KEY=
BEST_MODEL_NAME=
# Public defaults are safe to commit. API keys and the private Ark endpoint stay blank.
DEEPSEEK_TEXT_BASE_URL=https://api.deepseek.com
DEEPSEEK_TEXT_API_KEY=
DEEPSEEK_TEXT_MODEL=deepseek-v4-pro

FAST_MODEL_BASE_URL=
FAST_MODEL_API_KEY=
FAST_MODEL_NAME=
MIMO_VISION_BASE_URL=https://api.xiaomimimo.com/v1
MIMO_VISION_API_KEY=
MIMO_VISION_MODEL=mimo-v2.5

VISION_MODEL_BASE_URL=
VISION_MODEL_API_KEY=
VISION_MODEL_NAME=

OCR_MODEL_BASE_URL=
OCR_MODEL_API_KEY=
OCR_MODEL_NAME=
SILICONFLOW_OCR_BASE_URL=https://api.siliconflow.cn/v1
SILICONFLOW_OCR_API_KEY=
SILICONFLOW_OCR_MODEL=PaddlePaddle/PaddleOCR-VL-1.5
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
pull_request:

permissions:
contents: read

jobs:
offline-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: pip
- name: Install project
run: |
python -m pip install --upgrade pip
python -m pip install -e '.[dev]'
- name: Compile
run: python -m compileall -q data_agent scripts
- name: Offline tests
env:
DATA_AGENT_DEMO_INBOX: ""
run: python -m pytest -q
36 changes: 36 additions & 0 deletions CURRENT_RELEASE_STATUS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Current Release Status

**Release judgment: READY FOR PORTFOLIO README REWRITE**

## Verified baseline

- Date: 2026-07-13
- Branch: `codex/real-model-release-gate`
- Provider implementation commit: `4f00ac5`
- Python: 3.11.15
- Default offline tests: `263 passed, 52 skipped`
- Demo tests: not run because `DATA_AGENT_DEMO_INBOX` is not configured
- Compile check: PASS
- `git diff --check`: PASS
- Exact-value key safety audit: PASS for the repository and all successful synthetic evidence packages

## Provider status

| Provider | Role | Model | Real API status | Evidence status |
|---|---|---|---|---|
| DeepSeek | observation text | `deepseek-v4-pro` | PASS | real run, validation WARN, export PASS |
| Xiaomi MiMo | chart/surface vision | `mimo-v2.5` | PASS | `/models` preflight, real run, validation WARN, export PASS |
| SiliconFlow | OCR | `PaddlePaddle/PaddleOCR-VL-1.5` | PASS | `/models` preflight, real run, validation WARN, export PASS |
| Deterministic fallback | cloud failure → local result | synthetic | PASS | failed cloud attempt and independent fallback run persisted |

## Mode and security status

- `local`: offline tests confirm zero network calls.
- `cloud`: all three active providers are verified with synthetic real calls.
- `auto`: deterministic HTTP 429 failure is retained separately from the selected local fallback.
- SiliconFlow plain OCR responses are normalized conservatively into the OCR schema and always marked for review; no missing layout or units are invented.
- `.env` and real `model_profiles.yaml` remain ignored and untracked.
- Secret scans did not find exact configured key values in tracked files, evidence workspaces, SQLite, reports, or exported ZIP packages.

The historical Volcengine Ark timeout is not part of the active provider configuration. See
[REAL_API_CHECK.md](REAL_API_CHECK.md) for the detailed, non-sensitive evidence record.
2 changes: 2 additions & 0 deletions EXPORT_CHECK.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Export Check

> Historical checkpoint. This report records the state at its original commit/date and is not the current release status. See `CURRENT_RELEASE_STATUS.md` for the latest verified state.

## Current Status

- **Date**: 2026-07-11
Expand Down
2 changes: 2 additions & 0 deletions FINAL_CHECK.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# FINAL_CHECK.md:最终验收报告

> Historical checkpoint. This report records the state at its original commit/date and is not the current release status. See `CURRENT_RELEASE_STATUS.md` for the latest verified state.

## 0. 验收日期与范围

- **日期**:2026-07-09
Expand Down
2 changes: 2 additions & 0 deletions FRONTEND_CHECK.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# FRONTEND_CHECK.md:前端操作闭环验收报告

> Historical checkpoint. This report records the state at its original commit/date and is not the current release status. See `CURRENT_RELEASE_STATUS.md` for the latest verified state.

## 1. 本轮目标

为材料研发数据处理 Agent 增加 Streamlit 本地前端操作闭环,并进行收口验收。
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Zander Kong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions MODEL_LAYER_CHECK.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Model Layer Check

> Historical checkpoint. This report records the state at its original commit/date and is not the current release status. See `CURRENT_RELEASE_STATUS.md` for the latest verified state.

## 当前验收状态

### 模型层历史 checkpoint(2026-07-09)
Expand Down
Loading