Let select_aegiss reuse precomputed entropies

Open
#108 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
63/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Read the select_aegiss implementation and the run_dmrg_subprocess, select_by_entropy, select_by_spin_entropy, and select_by_ao_projection entry points. Trace how dmrg_config.ncas and spin_soe are resolved, then check existing tests for selection and DMRG behavior. Done means precomputed arrays of either documented shape bypass DMRG and mismatched shapes or modes are rejected.

Written by the indexing model from the issue text.

Description

enhancement

🤖 AI text below 🤖

Motivation

select_aegiss runs DMRG on every call. A user (or an agent following the planned AEGISS skill) who already has single-orbital entropies from run_dmrg_subprocess, e.g. after tuning thresholds on them, has to either repeat the DMRG step in the final select_aegiss call or rebuild the pipeline by hand from select_by_entropy / select_by_spin_entropy and select_by_ao_projection(restricted_space=…).

Proposed feature

Let select_aegiss accept precomputed entropies (spin-summed (ncas,) or spin-resolved (2, ncas)) and skip the DMRG step when they are given, checking that their shape matches dmrg_config.ncas and the resolved spin_soe mode.

Affected area

Active space selection (entropy screening / AO projection)

Additional context

Follow-up from the agent-skill design (#111).

Dominant language
Python
Stars
0
Forks
0
Avg merge
19h 42m
Merged PRs (30d)
33

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Algorithmiq/AEGISS

All issues in Algorithmiq/AEGISS

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.