Skip to content

[limen GEN-a-organvm-metasystem-master-test-coverage-0620] Raise test coverage in a-organvm/metasystem-master - #33

Open
4444J99 wants to merge 1 commit into
masterfrom
limen/gen-a-organvm-metasystem-master-test-coverage-0620-a7e0
Open

[limen GEN-a-organvm-metasystem-master-test-coverage-0620] Raise test coverage in a-organvm/metasystem-master#33
4444J99 wants to merge 1 commit into
masterfrom
limen/gen-a-organvm-metasystem-master-test-coverage-0620-a7e0

Conversation

@4444J99

@4444J99 4444J99 commented Jul 1, 2026

Copy link
Copy Markdown
Member

Autonomous limen dispatch of task GEN-a-organvm-metasystem-master-test-coverage-0620.

Find the largest source module in a-organvm/metasystem-master with little or no test coverage and add a focused, PASSING test suite for it. Run the repo's own test command and confirm green. No placeholder tests. [auto-generated 2026-06-20 to keep the stream endless]

Produced in an isolated worktree off origin — review before merge.

limen task GEN-a-organvm-metasystem-master-test-coverage-0620
@4444J99
4444J99 enabled auto-merge (squash) July 1, 2026 04:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 28010d631a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const hasVariance = deviations.some(deviation => deviation > 0.001);
if (!hasVariance) return inputs;

return inputs.filter(input => Math.abs(input.value - medianValue) <= 0.15);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Honor the configured outlier threshold

When the median absolute deviation collapses to zero, this branch ignores the caller-provided threshold/config.outlierThreshold and hard-codes a 0.15 cutoff. In any deployment that raises the threshold to relax or disable outlier filtering, e.g. mostly identical inputs like [0.5, 0.5, 0.5, 0.7] with outlierThreshold: 100, computeConsensus still discards 0.7, so the documented configuration no longer controls consensus behavior.

Useful? React with 👍 / 👎.

if (std < 0.001) return inputs; // No variance


const medianValue = median(inputs.map(input => input.value));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve input weights during outlier filtering

This median/MAD calculation ignores the weight field even though computeConsensus passes in inputs that were already weighted by spatial proximity, recency, and agreement. In a live window where several stale or far-away low-weight values outnumber a smaller set of recent/front-row high-weight values, the unweighted median can classify the high-weight values as outliers and remove them before weightedMean, effectively overriding the weighting model that is supposed to give those inputs more influence.

Useful? React with 👍 / 👎.

@4444J99

4444J99 commented Jul 19, 2026

Copy link
Copy Markdown
Member Author

Disposition: evolving

Verified locally and against GitHub checks. The branch contains real core-engine test work: on the PR checkout, pnpm --filter @omni-dromenon/core-engine test passes (3 files / 60 tests), and it fixes the local current-master core test failures around crypto.v4/randomUUID and outlier filtering. But the PR is stale against current master: its direct diff would also touch stale.yml/README/pnpm-lock.yaml, and GitHub required checks are red because pnpm install --frozen-lockfile sees an outdated lockfile. Smallest next step: rebase/cherry-pick only the core-engine files onto current master, regenerate lock if needed, rerun CI, then merge.

@4444J99 4444J99 added the lifecycle:blocked Fail-closed pending explicit lifecycle review label Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle:blocked Fail-closed pending explicit lifecycle review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant