Logo Recover Paper Result

Recover Paper Result

Tổ chức
VectorSpaceLab
recover-paper-result

Reproduce a fast paper result using only the paper, module documents, generated module skills, and datasets, explicitly forbidding reads from the original source repository during recovery.

Add to TypingMind

Tổng quan

Nhà phát hànhVectorSpaceLab
Kho mãAREX-Skill
Tên kỹ năngrecover-paper-result
Sao
341
Bản fork
26
Tệp đi kèm
3
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được VectorSpaceLab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Recover Paper Result trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/recover-paper-result
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/cli/packages/coding-agent/src/disco/skills/recover-paper-result .claude/skills/recover-paper-result
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Recover Paper Result trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Recover Paper Result ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Recover Paper Result với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Recover Paper Result

Use this skill after all module skills have been generated and validated. The goal is to test whether the skills can reconstruct the paper's behavior without relying on the original repository.

All recovery artifacts must be in English.

Before recovery, load prepare-paper-recovery-env when available and read environment/runtime_handoff.json. Treat the handoff as the authoritative runtime preflight: use its allowed sources, package/model blockers, benchmark snapshot paths, GPU notes, and environment mutation status instead of repeating broad discovery.

Hard Source Boundary

During recovery, do not read the original paper repository. Allowed sources are:

  • the paper PDF or extracted paper text
  • paper_profile.md
  • module_plan.json
  • modules/*.md
  • generated module skills under the output skill root
  • environment/runtime_handoff.json and environment/logs/*
  • downloaded datasets and general package documentation
  • web search APIs only when the paper method requires web search

Write recovery/source_manifest.json listing every source path or URL used. If any original repo path appears, the recovery is invalid.

For independent evaluation runs, do not use prior attempt outputs as shortcuts. Prior generated data items, prompts, model outputs, training logs, or recovery results are not allowed recovery evidence for the current attempt. If a fresh benchmark or dataset fetch is blocked and a local benchmark checkout from another attempt or workspace path is the only practical source, treat it as a reused benchmark source: record the fresh-fetch command and blocker, the reused path, commit/version if available, why reuse was necessary, and copy or snapshot the concrete resource files used into the current attempt under recovery/benchmark_sources/. The current attempt must still derive its own data item and run its own recovery/training step.

Runtime Boundary

If the user supplies a model path, GPU ids, or environment path, prefer that runtime for recovery. If the supplied environment has incompatible packages, do not modify it unless the user explicitly permits mutation. Use an existing compatible environment or create a separate one, and record:

  • model path
  • Python environment path
  • GPU ids
  • tensor/pipeline parallel settings
  • package blocker if the requested environment could not be used
  • whether any environment was modified

Preflight and Time Budgets

Do a bounded preflight before expensive recovery:

  • Check user-supplied paths first. Then check only known local cache roots such as $HF_HOME, $TRANSFORMERS_CACHE, ~/.cache/huggingface, the workspace, and explicitly named project paths. Do not recursively scan broad NFS roots such as /share/project.
  • Use short network probes for model and dataset endpoints and record the status, elapsed time, and error type in recovery/logs/.
  • Stage package installation: first inspect whether required imports already exist, then install the smallest missing group. Put a timeout around each install attempt. If an install stalls, terminate it, record the partial command output and blocker, and continue only with a declared fallback.
  • If the handoff says a package/model/dataset is missing but the command log does not show an allowed isolated environment setup, install attempt, permitted download, or user credential/permission request, go back to prepare-paper-recovery-env instead of accepting the blocker. Recovery should consume a prepared runtime handoff, not turn first-pass probes into a final blocked result.
  • If the handoff provides environment.python or python.executable inside a private recovery environment, use that executable for the recovery harness and record it in recovery/logs/experiment_command_log.json and recovery/source_manifest.json. Do not silently run recovery with the host/shared conda Python after preparing a private env.
  • Write the recovery harness, log schema, and source manifest before starting long installs or downloads, so an interrupted run still leaves auditable artifacts.
  • Record process cleanup for any killed install, download, or benchmark command. A successful recovery must not leave stray package installers, model downloads, or benchmark runners alive.

Workflow

  1. Read the paper target from module_plan.json.fast_recovery_target.
  2. Select the smallest meaningful dataset subset that exercises the paper mechanism.
  3. Read environment/runtime_handoff.json. If it is missing, run prepare-paper-recovery-env first or record a blocker; do not continue to an accepted recovery with an unprepared or still-pending environment stage.
  4. Write recovery/experiment_plan.md before running the experiment. It must name the full target, reduced target if any, chosen target, why it is the strongest feasible target, commands to run, expected artifacts, and minimum acceptance criteria.
  5. Load the generated module skills needed for the experiment.
  6. Build or run a recovery harness from the generated skills. Do not hand-write recovery_result.json as the primary evidence; it must be produced by an executable command such as python recovery/run_recovery.py.
  7. Record the experiment command(s), return codes, elapsed time, and stdout/stderr tails in recovery/logs/experiment_command_log.json.
  8. Exercise each core generated module that the proxy claims to validate, or record why a module is not applicable. If scoring/loss logic is split into a standalone generated skill and a training harness skill, call or cross-check the standalone skill and log the comparison.
  9. Write recovery/logs/generated_skill_invocations.json listing each generated module exercised, the evidence type (called script, imported helper, cross-check, or not applicable), and the log/artifact path proving it.
  10. Populate recovery_result.json.paper_target from module_plan.json.fast_recovery_target; do not hard-code a different dataset, metric, or target value in the recovery harness.
  11. For proxy recovery, add mechanism_checks that show the selected run exercised the paper mechanism. Include required search/tool calls, grounding checks for intermediate evidence, and any module-specific invariants.
  12. Record commands, parameters, sample count, predictions, labels, metrics, training traces, and the runtime handoff path.
  13. Save recovery/recovery_result.json.
  14. Run the experiment gate and save it:
bash
python <skills_root>/recover-paper-result/scripts/validate_recovery_experiment.py \
  <attempt_dir> \
  --output <attempt_dir>/recovery/experiment_validation.json
  1. If the gate fails, fix the recovery artifacts or mark the attempt as blocked/refine. Do not proceed to an accept analysis with a failing gate.
  2. If the task is QA, use scripts/evaluate_qa.py for EM/F1.

QA Recovery Requirements

  • The final answer should be the shortest answer span/entity compatible with the dataset label.
  • If the model returns a sentence-form answer, apply a documented extraction/canonicalization step and record both raw and extracted answers.
  • Intermediate document-refinement modules must not inject final-answer markers into the main reasoning chain unless the paper explicitly requires it.
  • Preserve raw model generations and the final trajectory under recovery/logs/.

Recovery Result Schema

json
{
  "schema_version": 1,
  "paper_id": "short_slug",
  "experiment": "dataset or table target",
  "is_proxy": true,
  "sample_count": 1,
  "metrics": {"em": 1.0, "f1": 1.0},
  "paper_target": {"metric": "f1", "value": 0.497},
  "commands": ["command used"],
  "artifacts": ["relative/path"],
  "mechanism_checks": {},
  "notes": "limitations and interpretation"
}

Acceptance Criteria

  • The recovery harness imports or follows the generated skills.
  • recovery/experiment_plan.md exists and explains the selected experiment strength.
  • recovery/logs/experiment_command_log.json contains the actual command(s) that produced recovery_result.json, including return code and output tails.
  • recovery/logs/generated_skill_invocations.json proves generated skill scripts/helpers were called or cross-checked.
  • recovery/experiment_validation.json exists and reports ok: true.
  • The recovery source manifest includes environment/runtime_handoff.json when the environment stage ran.
  • run_manifest.json.stages.prepare_environment is complete or blocked before recovery artifacts are accepted.
  • The original source repo is absent from the source manifest.
  • The recovery result target matches module_plan.json.fast_recovery_target.
  • The result includes an actual metric, not just a qualitative claim.
  • Proxy recovery includes explicit mechanism_checks; a high metric alone is not enough when the proxy is meant to validate an algorithmic loop.
  • Metric failure caused by formatting must trigger refinement of the evaluation or prompting skill before acceptance.
  • Heavy full-scale experiments may be replaced by a proxy only when the proxy is declared and justified.
  • A toy smoke test may be logged as supporting evidence, but it cannot be accepted as reduced recovery unless it constructs data, runs the paper-relevant mechanism, and passes the experiment gate.
  • Failure is acceptable if it is recorded clearly; analyze-paper-recovery will turn it into module-level feedback.

Minimal Recovery Runs

When the user allows a reduced run for papers that require data generation or expensive training, the recovery must still perform real work:

  • Build at least one dataset or task item from allowed sources and save the main item log as recovery/logs/generated_data_item.json.
  • If a benchmark repository or dataset was obtained successfully, derive at least one field of the recovery item from a concrete benchmark resource file when feasible, and record the exact file paths in the item log and source manifest. If the item is only benchmark-style rather than resource-derived, label it clearly and explain why resource-derived construction was not practical.
  • Execute at least one actual training or optimizer step when the required runtime is available, and record loss before/after or another numeric training signal. Save the primary trace as recovery/logs/training_trace.json; if another filename is also useful, duplicate or reference the same values rather than making the trace hard to find.
  • If real model training is blocked, record the blocker and clearly separate any scalar, fake-model, or deterministic proxy step from the requested training. Keep full-stack or required-model booleans such as training_step_executed and qwen3_model_loaded false unless the required stack actually ran.
  • When the user explicitly permits a reduced run and the required model stack is unavailable, an equivalent minimal training run may use a tiny parameterized student implemented with available local packages or the Python standard library. It must consume the constructed data item, compute the paper-inspired loss or its closest faithful proxy, update trainable parameters, and log before/after loss and parameter values. Mark it as reduced_training_executed, keep required-model booleans false, and explain that it is not full model training. Set optimizer_step_executed true only if trainable parameters or optimizer state actually changed in this approved reduced run.
  • The primary training trace must use validator-compatible parameter fields: params_before and params_after. It may also include clearer aliases such as parameters_before and parameters_after, but the params_* fields must be present when optimizer_step_executed is true.
  • For self-distillation methods, mechanism checks should distinguish prompt construction, teacher conditioning, student prompt separation, loss computation, and optimizer execution as separate booleans.

Scripts

  • scripts/evaluate_qa.py: compute exact match and token F1 for QA prediction files.
  • scripts/validate_recovery_experiment.py: validate executable experiment evidence before analysis.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Recover Paper Result làm được gì?

Reproduce a fast paper result using only the paper, module documents, generated module skills, and datasets, explicitly forbidding reads from the original source repository during recovery.

Vì sao nên dùng Recover Paper Result trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Recover Paper Result là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Recover Paper Result trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/recover-paper-result. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Recover Paper Result?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Recover Paper Result với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Recover Paper Result với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Recover Paper Result có miễn phí không?

Có. Kỹ năng này được VectorSpaceLab phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇