Workflow leaderboard / General / Coding assistant

Use a coding assistant with research guardrails

带科研护栏的代码助手

General / 通用 Coding assistant / 代码助手 Record classification: curated verified 2026-08-02

Accelerate research-code changes while requiring tests, data-lineage checks and human review before accepting generated patches.

Variants

Free & local / 免费本地 ~30 min setup

16 GB RAM is a practical minimum for a 7B local code model; 32 GB provides more context headroom. GPU or Apple Silicon improves latency.

ComponentRolePriceLink
Ollama local model runtime Historical price withheldchecked 2026-08-02 https://github.com/ollama/ollama/releases/tag/v0.32.5
Continue CLI source-controlled AI checks and review workflows Historical price withheldchecked 2026-08-02 https://registry.npmjs.org/@continuedev%2fcli/1.5.47

Dated glue record only; not current installation instructions. Review linked official documentation before use.

Save as .continue/config.yaml

name: Research Local Coding
version: 1.0.0
schema: v1
models:
  - name: Qwen 2.5 Coder 7B Local
    provider: ollama
    model: qwen2.5-coder:7b
    roles:
      - chat
      - edit
      - apply
    defaultCompletionOptions:
      temperature: 0.1
      contextLength: 8192
rules:
  - Never modify raw research data.
  - Run repository tests after each accepted change.
  - Report assumptions and failed checks.

Install local runtime and Continue CLI

ollama pull qwen2.5-coder:7b
npm install --global '@continuedev/cli@1.5.47'
ollama list
curl --fail-with-body -sS http://localhost:11434/api/tags >/dev/null
cn --version
cn --config .continue/config.yaml
# Keep the repository test command ready and run it after every accepted patch.

Research-code change contract

Before editing, restate the scientific invariant, input schema, expected output and acceptance test. Make the smallest change that satisfies the task. Never modify raw data, suppress a failed assertion, fabricate fixture rows, silently drop missing values or change a statistical method without calling it out. After editing, show changed files, tests run, test results, unresolved assumptions and a rollback command. If the requested result cannot be supported by the data, stop and explain the gap.

Known pitfalls

  • A small local model may miss cross-file contracts and statistical errors.
  • Generated tests can merely encode the generated bug; include independent invariants.
  • Never expose secrets or restricted data in prompts.
  • Review dependency additions and licenses before installation.
Cloud premium / 云端高配 ~20 min setup

Any supported editor or GitHub interface. Repository content and prompts may be processed by cloud services.

ComponentRolePriceLink
GitHub Copilot Pro editor completion, chat, agent mode and code review Historical price withheldchecked 2026-08-02 https://github.com/features/copilot/plans
GitHub Actions independent tests and checks on generated changes Historical price withheldchecked 2026-08-02 https://docs.github.com/en/billing/reference/actions-runner-pricing

Dated glue record only; not current installation instructions. Review linked official documentation before use.

Pull-request acceptance gate

required:
  - human_diff_review
  - unit_tests
  - data_contract_tests
  - lint_or_static_check
  - no_secret_scan_findings
  - dependency_review_for_new_packages
research_specific:
  - raw_data_unchanged
  - random_seed_policy_preserved
  - exclusion_rules_documented
  - output_schema_unchanged_or_migrated
forbidden:
  - merge_on_failing_checks
  - generated_citations_without_verification
  - silent_test_skip

Known pitfalls

  • Copilot usage beyond included credits can incur additional charges when paid usage is enabled.
  • Individual-plan interaction data settings require review and can change.
  • Agent-produced pull requests still need domain review.
  • CI pricing and included minutes are account-specific, so usd_month is null.

Dated evidence records

Claims below record what their cited dates stated; they are not current price or version advice.