Skip to content

Show citation counts and venue ranks in paper maps - #24

Merged
OstenHun merged 1 commit into
mainfrom
codex/citation-sized-paper-nodes
Nov 18, 2026
Merged

OstenHun merged 1 commit into
mainfrom
codex/citation-sized-paper-nodes

Conversation

@OstenHun

@OstenHun OstenHun commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

What changed and why

Paper relationship maps now use node size to show citation counts and badges to show verified publication venue ranks. The legend explains what size and color mean.

  • Citation counts use a fixed square-root scale. Nodes reach their maximum size of 204 × 120 px at 150,000 citations. The paper details show the exact count and lookup date. Older maps without citation data use the standard node size.
  • Venue badges show the ranking scheme and grade. A dark badge marks the top grade within that scheme. The paper details show the venue, ranking edition, and links to the venue record and ranking source.
  • Both metadata fields are optional. The generator validates the count and registered source references. Generated HTML opens offline.

Verification

  • On Windows with Node 24, npm run check:docs, all 193 tests in npm test, and npm run test:package passed.
  • In the same eight-paper map at 1440 × 1000 in Chrome, the displayed width difference between two representative nodes increased from about 7 px to 37 px. We checked the size cap, selection of smaller nodes, long badge labels, zero and missing counts, and legacy inputs.
  • Two ecology papers from PLOS ONE rendered using publisher HTML and DOI-linked records. Their node sizes reflected citation counts, and badges showed Norwegian Register Level 1. A metadata-only input generated an exploration view. The generator rejected the same input in source-complete mode.
  • AI assisted with the implementation and tests. Sonnet and Codex reviewed the changes independently. We rechecked the badge layout in Chrome after fixing clipping.

Remaining checks

  • Automatic skill discovery in a fresh agent session and the effect on readers' exploration remain untested.
  • Differences between low citation counts are small on the fixed scale. The paper details show the exact values.
  • The public diff contains product source, documentation, and synthetic tests.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T10:31:25.152040Z 9016b7f PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@claude

claude Bot commented Nov 18, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@OstenHun
OstenHun merged commit ebf7c7d into main Nov 18, 2026
2 checks passed
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.

1 participant