Skip to content

feat: let a field config exclude mislabelled records - #42

Merged
hedmana merged 1 commit into
mainfrom
feat/exclude-works
Sep 29, 2026
Merged

hedmana merged 1 commit into
mainfrom
feat/exclude-works

Conversation

@hedmana

@hedmana hedmana commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Closes #41

What

  • exclude_works in the field config: OpenAlex records dropped at cleaning, with their edges. stats.json counts them as excluded_nodes.
  • gnn.yaml excludes W2964015378. It is cited 2,347 times inside the expanded graph, more than GCN, but titled and dated as a 2025 vulnerability-detection paper.

Why

No rule can tell a record's title is wrong. Without the exclusion it would rank as an originator of most GNN-era papers, under a name that is not its own. Keeping the list in the field config keeps field-specific knowledge in fields/.

Verify

uv run pytest tests/test_build.py tests/test_config.py
uv run python -m graph.build --field gnn --data-dir data/expanded   # excluded_nodes 1

Generated with Claude Code

@hedmana
hedmana merged commit 5fad123 into main Sep 29, 2026
4 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.

Let a field config exclude mislabelled OpenAlex records

1 participant