AGENTS.md@src/gnn/ml_integrationA

AGENTS.md@src/gnn/ml_integration from activeinferenceinstitute/generalizednotationnotation is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add activeinferenceinstitute/generalizednotationnotation/src/gnn/ml_integration/AGENTS.md@git:20260924.b1d515d

Pins git:20260924.b1d515d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
activeinferenceinstitute/generalizednotationnotation
Path
src/gnn/ml_integration/AGENTS.md
Versions recorded
5
Latest version
git:20260924.b1d515d, committed Sep 24, 2026
First version recorded
Sep 6, 2026
Size
12,435 bytes
Repository stars
35
License
a license file GitHub does not identify

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# ML Integration Module - Agent Scaffolding

## Module Overview

**Purpose**: Extracts structural features from GNN specification files and trains scikit-learn classifiers (DecisionTree + RandomForest) for model-family and complexity classification, with cross-validation and feature-importance reporting.

**Pipeline Step**: Step 14: ML integration (14_ml_integration.py)

**Category**: Machine Learning / Model Training

**Status**: Production Ready

**Version**: [pyproject.toml](../../../pyproject.toml) (canonical)

**Last Updated**: 2026-09-24

---

## Core Functionality

### Primary Responsibilities
1. Extract structural features from GNN markdown files (`num_states`, `num_observations`, `num_actions`, dimension statistics, connectivity ratios, qualitative flags)
2. Train scikit-learn classifiers to predict model family or complexity class
3. Run adaptive k-fold cross-validation (up to 5 folds) when class support allows
4. Report feature importance and top-5 features per trained model
5. Serialize trained models as `.pkl` artifacts and a results JSON

### Key Capabilities
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add activeinferenceinstitute/generalizednotationnotation/src/gnn/ml_integration/AGENTS.md@sha256:333f5463ea057d4e

The line at the top of this page pins the label git:20260924.b1d515d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_x4gku4ieuw4gwg4u.svg)](https://markdownregistry.com/a/art_x4gku4ieuw4gwg4u)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Sep 6, 2026 and Sep 24, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20260924.b1d515d latest2026-09-24 b1d515d 12,435 BA view · diff
git:20260922.c9be8be2026-09-22 c9be8be 12,435 BA view · diff
git:20260921.420751c2026-09-21 420751c 12,339 BA view · diff
git:20260906.a82d4dd2026-09-06 a82d4dd 12,285 BA view · diff
git:20260906.e62b9e92026-09-06 e62b9e9 12,367 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (12435 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

activeinferenceinstitute/generalizednotationnotation · 35 stars · license a license file GitHub does not identify · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_x4gku4ieuw4gwg4u
GET https://markdownregistry.com/api/v1/resolve?ref=activeinferenceinstitute/generalizednotationnotation/src/gnn/ml_integration/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/333f5463ea057d4e240708a85a0e90a39fac281d71fe958356a1a1707bebdd74

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from activeinferenceinstitute/generalizednotationnotation

AGENTS.md@.agent_rules AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · .agent_rules/AGENTS.md
git:20261008.aa1f6bc · audit A · 35 stars
AGENTS.md@.benchmarks AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · .benchmarks/AGENTS.md
git:20260415.181acef · audit A · 35 stars
AGENTS.md@.github AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · .github/AGENTS.md
git:20261020.615220e · audit A · 35 stars
AGENTS.md@.github/workflows AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · .github/workflows/AGENTS.md
git:20261104.de7a214 · audit A · 35 stars
AGENTS.md AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · AGENTS.md
git:20261101.90f2cb0 · audit A · 35 stars
CLAUDE.md CLAUDE.md file
activeinferenceinstitute/generalizednotationnotation · CLAUDE.md
git:20261021.4e39526 · audit A · 35 stars
gnn-pipeline SKILL.md skill
activeinferenceinstitute/generalizednotationnotation · SKILL.md · Generalized Notation Notation (GNN) processing pipeline for Active Inference generative models. Use when working with…
git:20260922.84d602e · audit A · 35 stars
AGENTS.md@bench AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · bench/AGENTS.md
git:20261103.9e12cb1 · audit A · 35 stars
AGENTS.md@docs AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · docs/AGENTS.md
git:20261102.af28a21 · audit A · 35 stars
AGENTS.md@docs/active_inference AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · docs/active_inference/AGENTS.md
git:20261021.5446ac1 · audit A · 35 stars
AGENTS.md@docs/activeinference_jl AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · docs/activeinference_jl/AGENTS.md
git:20260917.482a267 · audit A · 35 stars
AGENTS.md@docs/activeinference_jl/actinf_jl_src AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · docs/activeinference_jl/actinf_jl_src/AGENTS.md
git:20260906.82c8031 · audit A · 35 stars

Every file in activeinferenceinstitute/generalizednotationnotation

Browse by kind, by grade A, or by owner.