Skip to content

Claude/amazing cori kw a2 v#101

Merged
hyperpolymath merged 4 commits into
mainfrom
claude/amazing-cori-KwA2V
May 24, 2026
Merged

Claude/amazing cori kw a2 v#101
hyperpolymath merged 4 commits into
mainfrom
claude/amazing-cori-KwA2V

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

No description provided.

claude added 4 commits May 24, 2026 16:32
…ring

train_models.jl (bag-of-words MVP), train_advanced_models.jl (GPU-assumed),
train_complete_final.jl (logistic-regression copy-paste),
train_final_models.jl (broken stubs), and train_and_evaluate.jl
(synthetic-metrics only) are moved to src/julia/archive/ with a
one-line deprecation header.  run_training.jl is now the single
canonical entry point.

https://claude.ai/code/session_01YPqu7gti4azBach6ZvpRFJ
…/ artefacts

Both run_training.jl and run_training_cpu.jl now produce the full set of
canonical outputs after every training run:
- models/neural/premise_selector.bson  (NeuralSolver weights)
- models/neural/tactic_predictor.bson  (same weights, tactic side alias)
- models/neural/vocab.json             (token→id map + vocab_size + tactic_classes)
- models/neural/gnn_ranker/            (best_model → gnn_ranker deploy alias)
- training_data/metrics_baseline.jsonl (appended JSONL row with MRR/top-k/metadata)
- models/model_metadata.txt            (rewritten with real vocab size, classes, MRR)

Adds `using Dates` to both scripts so Dates.now() is available at top level.

https://claude.ai/code/session_01YPqu7gti4azBach6ZvpRFJ
…fallback

load_gnn_model() now tries three candidate directories in order:
  gnn_ranker/ → best_model/ → final_model/
(all under models/neural/, written by run_training*.jl)

The cosine similarity path (rank_with_cosine) is kept intact and reachable
but only runs when all candidate directories are absent or fail to deserialise —
it is the genuine missing-model fallback for CI smoke runs, not the default.

The warning message now explains how to produce real weights (just train-cpu).

https://claude.ai/code/session_01YPqu7gti4azBach6ZvpRFJ
train      — full corpus run via run_training.jl (GPU auto-selected)
train-cpu  — ECHIDNA_MAX_PROOF_STATES=2000 ECHIDNA_NUM_EPOCHS=2 CPU smoke pass

Both produce the canonical artefact set (premise_selector.bson,
tactic_predictor.bson, vocab.json, model_metadata.txt, metrics_baseline.jsonl).

https://claude.ai/code/session_01YPqu7gti4azBach6ZvpRFJ
@hyperpolymath
hyperpolymath enabled auto-merge (squash) May 24, 2026 17:02
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 261 issues detected

Severity Count
🔴 Critical 14
🟠 High 123
🟡 Medium 124

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in quality.yml",
    "type": "missing_workflow",
    "file": "quality.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in security-policy.yml",
    "type": "missing_workflow",
    "file": "security-policy.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Workflow executes remote script directly (curl/wget piped to shell). Download, verify checksum/signature, then execute.",
    "type": "download_then_run",
    "file": "mirror.yml",
    "action": "verify_download_integrity",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Agda postulate assumes without proof -- potential soundness hole (1 occurrences, CWE-704)",
    "type": "agda_postulate",
    "file": "/home/runner/work/echidna/echidna/proofs/agda/Basic.agda",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "Agda postulate assumes without proof -- potential soundness hole (2 occurrences, CWE-704)",
    "type": "agda_postulate",
    "file": "/home/runner/work/echidna/echidna/proofs/agda/SoundnessPreservation.agda",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "Agda postulate assumes without proof -- potential soundness hole (1 occurrences, CWE-704)",
    "type": "agda_postulate",
    "file": "/home/runner/work/echidna/echidna/meta-checker/src/Echidna/AxiomSafety.agda",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "UNSOUND: --type-in-type collapses type hierarchy (Girard's paradox) (1 occurrences, CWE-704)",
    "type": "agda_type_in_type",
    "file": "/home/runner/work/echidna/echidna/meta-checker/src/Echidna/AxiomSafety.agda",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "User-defined axiom -- not verified by Lean kernel (1 occurrences, CWE-704)",
    "type": "lean_axiom",
    "file": "/home/runner/work/echidna/echidna/verification/proofs/lean4/IntegrityVerification.lean",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined axiom -- not verified by Lean kernel (1 occurrences, CWE-704)",
    "type": "lean_axiom",
    "file": "/home/runner/work/echidna/echidna/verification/proofs/lean4/ConfidenceLattice.lean",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined axiom -- not verified by Lean kernel (1 occurrences, CWE-704)",
    "type": "lean_axiom",
    "file": "/home/runner/work/echidna/echidna/proofs/lean/mvp_basic.lean",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath merged commit 1d9a76a into main May 24, 2026
39 of 43 checks passed
@hyperpolymath
hyperpolymath deleted the claude/amazing-cori-KwA2V branch May 24, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants