mcpField
J
jinko-task-define-param-to-calibrate

jinko-task-define-param-to-calibrate

github.com/novainsilicoData & databases4144 installsUpdated 1w ago
Repository

About jinko-task-define-param-to-calibrate

A skill for classifying Jinkō model inputs using supplied evidence and explicit calibration steps. It applies source and calibration-step labels without changing model values or structure.

Key features

  1. 01Inspect model inputs and exclude derived components
  2. 02Classify inputs by evidence source
  3. 03Map calibration labels to explicitly scoped steps
  4. 04Preserve existing labels unless replacement is requested
  5. 05Validate mutations in dry-run mode before applying

Use cases

  1. 01Label inputs supported by literature or expertise
  2. 02Mark deliberately fixed or under-informed inputs
  3. 03Assign calibration steps by biological scope
  4. 04Review uncertain inputs without changing them

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/novainsilico/jinko-skills --skill jinko-task-define-param-to-calibrate

After installing, type/jinko-task-define-param-to-calibratein Claude Code to confirm it loaded.

Bundled filesagents/openai.yamlscripts/apply_calibration_labels.py

Details

From the project README

Define Parameters To Calibrate

PREREQUISITE: This skill needs an initialized jinko-sdk connection and an SDK satisfying its metadata.requires_sdk range. Run the jinko-sdk-setup skill (../jinko-sdk-setup/SKILL.md) and proceed only once its check passes. A session code can be exchanged only once, so call get_session_code again before this skill's own SDK process. If that skill is not found, install it from novainsilico/jinko-skills.

Classify model inputs from supplied evidence; do not infer unsupported provenance or invent calibration steps.

Inputs

Require:

  • a model SID;
  • documentation or other evidence for the current input values;
  • an explicit ordered list of calibration step identifiers and each step's biological scope;
  • any user overrides and whether existing labels may be replaced.

Labels

Assign at most one source tag per eligible input:

  • s::knowledge: supported by literature, expert knowledge, or a reference model;
  • s::arbitrary: deliberately fixed without an evidence-derived value;
  • s::to-calibrate: insufficiently informed and intended for calibration;
  • s::calibrated: preserve when present; never assign in this task.

Assign CalibIter::<step> only with s::to-calibrate, using an explicitly provided step whose scope covers the input. Absence means the input is not assigned to calibration. Leave uncertain inputs unchanged and report them.

Workflow

  1. Use jinko-model to inspect parameters, categorical parameters, and species initial conditions. Exclude derived formulas, technical infrastructure, and non-input components.
  2. Preserve existing s::* and CalibIter::* tags unless relabeling was requested. For each remaining input, classify its source from the evidence.
  3. Map every s::to-calibrate input to the first supplied step whose scope fully covers its biological role. If no unique step qualifies, leave it unchanged and add it to todo.
  4. Write the proposed mutations as JSON and run scripts/apply_calibration_labels.py in dry-run mode, then with --apply after review. The script validates source/step consistency, duplicate assignments, component kinds, existing-label conflicts, and allowed model mutations before applying one component batch.
  5. Re-fetch the model and return the new revision and snapshot with a compact report: assigned and preserved labels, counts by source and step, and todo entries with reasons.

The mutation plan has this shape:

{
  "in_scope_steps": ["2", "3"],
  "assignments": [
    {"component_id": "k_elim", "source": "to-calibrate", "calibration_step": "2"},
    {"component_id": "body_weight", "source": "knowledge"}
  ]
}

Do not change values, units, descriptions, equations, structure, or unrelated tags. todo items are reported, not encoded as placeholder tags.

Comments

Markdown supported