Fix subscripted-variable false positives; finalize plugin metadata

verify-calculations.sh mistook subscripted/numbered variables (x_1, x1,
3x_1) for bare numeric equations, flagging e.g. "x_1 = 0" as the false
claim "1 = 0". The single-letter variable regex only excluded adjacent
letters, not trailing digits/underscores, and the prose segment
extractor could start a fresh match right after such a break, mining a
free digit out of the identifier.

Also carries over the author/repository metadata and the SSH-vs-HTTP
install note for the Forgejo marketplace (DISABLE_HTTP_GIT blocks the
https URL; the ssh:// path has no /forgejo/ segment).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
boyreau 2026-11-08 12:22:18 +01:00
commit f672241e9c
4 changed files with 38 additions and 5 deletions

View file

@ -2,7 +2,7 @@
"name": "claude-math",
"description": "Marketplace à plugin unique : claude-math.",
"owner": {
"name": "claude-math"
"name": "zo"
},
"plugins": [
{

View file

@ -2,5 +2,9 @@
"name": "claude-math",
"description": "Exercices calibrés et correction pour un cours de mathématiques pour la cryptographie : génération de séries progressives, notation du cours, suivi de progression, et vérification automatique des calculs arithmétiques/modulaires tapés dans les messages.",
"version": "1.0.0",
"author": {
"name": "zo"
},
"repository": "https://zospace.freeboxos.fr/forgejo/zo/claude-math",
"keywords": ["maths", "cryptographie", "arithmétique", "exercices"]
}