Ce tif author

From Moffran/calibrated_explanations · View interactive version

Ce tif author is an AI agent skill from the GitHub repository Moffran/calibrated_explanations. Author CE TIF (Test Interface Framework) specification files (CE-TIF-AREA-NNN.md) and their Python scenario implementations (tif_area.py) in development/capabilities/verification/tif/; use when creating a new TIF interface or updating observation fields and acceptance mappings.

How to use this skill

Skill file

CE TIF Author

Use this skill when

Inputs

Workflow

Part A — TIF specification (CE-TIF-AREA-NNN.md)

  1. Determine the TIF ID. Use CE-TIF-<AREA>-<NNN> matching the requirement area.

Check the TIF README index in development/capabilities/verification/tif/README.md

for the next available number.

  1. Fill the Identity table: tif_id, executable, entry_functions,

evidence_builder, evidence_key, verification_type, status.

  1. List requirements served with a column for which observation fields each

requirement uses (the link from observation → acceptance criterion).

  1. List claims served (CE-CAP-... for navigation; not required for correctness).
  1. Define the fixture / data contract. Must be:

unless a real-world fixture is required and documented

  1. Write the WrapCalibratedExplainer workflow. Show the exact call sequence:

fit → calibrate → [predict/predict_proba/explain_factual/explore_alternatives/...]

  1. Define observation fields. Each field must:
  1. Define acceptance fields. Map requirement IDs to the observation fields

and the assertion that must hold (e.g. exception_raised must be False).

  1. Define evidence fields. List the fields that must appear in raw evidence

records (minimum: commit_sha, package_version, test_id, dataset_id, random_seed, result).

Part B — Python scenario (tif_area.py)

  1. Create or update the Python scenario. The scenario must:

Part C — Update indexes

  1. Update the TIF README index table in tif/README.md with a new row:

| TIF ID | spec link | executable link | evidence key | verification type | status | requirements | claims |

Verification

python scripts/quality/validate_capability_chain.py
make capability-chain-check

Output contract

Return:

  1. Complete CE-TIF-<AREA>-<NNN>.md specification file.
  2. The tif_<area>.py Python scenario (new or updated).
  3. Updated TIF README index row.
  4. A summary: TIF ID, requirements served, observation fields added.

Constraints

Never bypass fit→calibrate lifecycle.

numerical_behavior, empirical_smoke.

on final results. Local sanity pre-conditions are permitted.

no file system reads outside the repo.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.