Skip to content

ScaffBench 2.1: address Codex feedback on #258/#259#261

Merged
Marve10s merged 1 commit into
Developmentfrom
ibrahim/scaffbench-2.1-codex-followup
Jun 25, 2026
Merged

ScaffBench 2.1: address Codex feedback on #258/#259#261
Marve10s merged 1 commit into
Developmentfrom
ibrahim/scaffbench-2.1-codex-followup

Conversation

@Marve10s

Copy link
Copy Markdown
Owner

Summary

Addresses the three Codex findings that landed as #258/#259 merged on substantive-green.

Validation

  • bun test scripts/scaffbench-v2-lib.test.ts33 pass (+2: substring no-credit while exact still credits; no-project counted as 0 in the average). Type-check unchanged.

- #259 (P1) tsc fallback: use `tsc --build` instead of `--noEmit`. `--noEmit`
  only checks the root project, so a root tsconfig with `files: []` + project
  references exits 0 even with type errors in apps/packages; `--build` descends
  into references, closing the dodge.
- #258 (P2) acceptance matching: match by exact dependency / scoped-package
  prefix / file path instead of substring over all project text — so short
  tokens like `ai` (⊂ tailwindcss) or `vite` (⊂ vitest) no longer inflate the
  Acceptance column. `ci` set uses `.circleci` as a path.
- #258 (P2) no-project discovery runs now score 0 acceptance (emptyAcceptanceScore)
  instead of undefined, so maybeAverage no longer drops them and overstates the
  cell's Acceptance.

+2 tests (substring no-credit + testing-still-credited; no-project counted as 0
in the average). 33 pass; type-check unchanged.
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
better-fullstack-web Ready Ready Preview, Comment Jun 25, 2026 4:58pm

@github-actions github-actions Bot added size:M 30-99 effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Jun 25, 2026

@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: f61355c15c

ℹ️ 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".

if (pattern.startsWith(".")) {
return files.some((file) => file === pattern || file.includes(`${pattern}/`));
}
return deps.some((dep) => dep === pattern || dep.startsWith(`${pattern}/`));

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 Handle trailing-scope acceptance patterns

In natural discovery scoring, a project that uses Auth.js via packages such as @auth/core or @auth/drizzle-adapter should satisfy the auth acceptance set because that set includes "@auth/", but this helper appends another slash and tests for @auth//. That valid Auth.js alternative will now be marked as a missed auth capability and lower acceptance scores; normalize trailing slashes or use dep.startsWith(pattern) when the pattern already ends with /.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Fixed in #263: a pattern already ending in / (like @auth/) is now used as-is as the scope prefix instead of appending a second slash, so @auth/core/@auth/drizzle-adapter satisfy the auth capability.

@Marve10s Marve10s merged commit 0e66e6f into Development Jun 25, 2026
19 checks passed
Marve10s added a commit that referenced this pull request Jun 25, 2026
…llowup2

ScaffBench 2.1: fix scoped-prefix acceptance matching (Codex #261)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant