By: ValentinHirschi <valentin.hirschi@gmail.com>
ALL GREEN (ALL_GREEN) Publish the verified raised-energy CFF and local-UV baseline. Literal just test_gammaloop passes all 1995 selected cases in 222.962 s, with no selected skips, retries or failures and a 1.573 GB tree peak. The complete scalar catalogue passes 166/166; focused UV/CFF checks pass 55/55. The unchanged five-core DD card completes 1.3M samples in 233.581 s and agrees with its signed target within 0.83 sigma. All heavy runs stay below the canonical 30 GB owned-process-tree memory limit. Production and test source is unchanged from validated candidate 241cb46e3. Temporary handoff material and decisions are retained outside the checkout. Continue the separately requested optimization work on a new feature branch; pending remote CI is monitored hourly and does not block that work. User request: Proceed as follows: a) Finish the ALL_GREEN run, getting the PR in a merge-ready state. Once you have all tests passing on your side, do not wait for the CI to complete before progressing to point b. Just periodically (every 1h or so) check on the status of that CI and address issues then, but do not let progress on b) be held up because this CI. b) Once this is done, create a feature branch based off this current higher power branch, with suffix "_optimized". There you will explore the implementation of the following two optimizations: b.1) Make sure that the CFF construction never merges "degenerate" edges, and their rank, and keeps them separate throughout the entire CFF construction (so the residue map would have dedicated individual entry for these degenerate edges. Of course in the local UV from 4D approach, the final result is not residue-localized so that the various contribution of a given term of the UV forest, which could now have a residue map with keys of different length, do not really matter as you'd sum them directly with their appropriate numerator and end up with one expression to proceed further, without the residue map playing a role anymore. b.2) Optimal dispatch of the (S^0) type of energies, to minimize the maximal rank showing in the envelope, and in general preferring 2,2 to 3,1 even if there is a max of 4 elsewhere. b.3) Do a deep review of the construction of local UV from 3D and 4D to make sure the code is as clean, concise and flexible+understandable as it can be (leaving comments when warrented) to facilitate future maintenance of that code: it is a very tricky but important part of gammaloop.