Turn the current local paper-impact ranking MVP into a complete, defensible project deliverable: analyze current weaknesses, ground the design in public methods and benchmarks, implement the missing engineering pieces, verify with tests and smoke runs, and leave clear report-ready documentation.
- The project already runs a dataset-local, content-aware impact ranking pipeline.
- It exports rankings, score evidence, baselines, stability/uncertainty reports, validation reports, model-comparison reports, fine-tuning datasets, LLaMAFactory configs, DPO loader validation, and no-GPU fine-tuning preflight reports.
- Current verified state before this full optimization pass: full test suite passed with
170 passed; local smoke passed at/tmp/local-impact-local-smoke-preflight-final. - Worktree contains many intentional project changes from prior implementation phases. Do not revert unrelated changes.
-
Phase 1: Audit current project capabilities and remaining shortcomings.
- Compare implementation against the project goal: local score, ranking, confidence, benchmark, model improvement, and reportability.
- Identify concrete gaps that can still weaken credibility or usability.
-
Phase 2: Research evidence base.
- Search current and method-defining papers for scientific impact prediction, influential citation classification, citation-context modeling, bibliometric baselines, graph ranking, uncertainty/robustness, and benchmark datasets.
- Search GitHub for reusable benchmark/code assets.
- Store decision-relevant findings in
findings.md.
-
Phase 3: Produce an optimization design.
- Write a concise design doc covering scoring, evaluation, training, benchmarks, confidence, CLI workflow, and final deliverables.
- Decide what is required for the finished project versus deferred research work.
-
Phase 4: Implement the selected product gaps.
- Prioritize features that improve reproducibility, credibility, and ease of use without requiring private data or GPU.
- Keep tests close to each behavioral change.
-
Phase 5: Final verification and handoff.
- Run targeted tests, full tests, and smoke scripts.
- Produce a final project summary with commands, artifacts, limitations, and next optional GPU/model steps.
-
Phase 6: Model credibility hardening.
- Use the source-task-aligned SciImpact export as the active training format.
- Train a stronger Qwen32B local impact judge candidate with larger balanced source-task SFT/DPO runs.
- Evaluate candidates against the active default using the same three held-out SciImpact seeds and credibility gate.
- Promote only if the candidate improves selected accuracy and direct accuracy without undisclosed slice regressions; otherwise keep the current default and report the failed experiment.
- Final non-GPU hardening: default pairwise aggregation now uses confidence-weighted Rank Centrality to remove Elo order sensitivity, with
elo_ratingretained for audit.
-
Phase 7: Final deliverable verification after model hardening.
- Run full tests, publish readiness, no-model deliverable check, and model-backed deliverable smoke against the active recommended service.
- Update README, planning docs,
findings.md, andprogress.mdwith the final adapter decision and evidence. - Leave a concise handoff summary with commands, artifacts, model limitations, and claim boundaries.
- Verified no-GPU final hardening with full tests, publish readiness, and deliverable check; model-backed smoke remains optional and was not run because no model service was requested for this pass.
-
Phase 8: Evidence-first final scoring hardening.
- Promote the final user-facing score from model-primary v2 fusion to evidence-first
impact_index_v3. - Add optional external evidence signals: external field/year percentile, patent citations, policy citations, and software/data/model adoption.
- Keep
impact_index_v2for compatibility and audit, but sort/report byimpact_index_v3. - Update schema, scoring docs, README, tests, and final deliverable checks.
- Promote the final user-facing score from model-primary v2 fusion to evidence-first
-
Phase 9: External citation evidence ingestion.
- Add OpenAlex enrichment for citation counts, yearly citation history, and field/year percentile evidence.
- Add OpenCitations enrichment for DOI-level cited-by/reference counts and incoming citation rows.
- Materialize DOI-matched OpenCitations edges into dataset-internal
referencessocitation_graph_scoreand PageRank become evidence-backed when DOI coverage is available. - Document the enrichment order and output fields.
-
Phase 10: External evidence readiness gate.
- Add a no-model readiness command before scoring/reporting.
- Quantify identifier, enrichment-source, citation, percentile, patent, policy, artifact, and graph-edge coverage.
- Return a conservative decision so high-credibility claims require enough external evidence rather than only a model score.
-
Phase 11: Responsible-metrics credibility upgrade.
- Added an RCR-like relative citation signal using article citation rate divided by a supplied expected citation rate, with local field/year fallback only for sufficiently sized buckets.
- Added self-citation and extreme citation outlier disclosure so high scores caused by abnormal evidence are visible.
- Added tied-rank percentile scaling for fused component scores so extreme maxima do not compress all other papers in the same component.
- Added a reportable impact-dimension taxonomy that maps SciImpact-style dimensions to local score signals and claim boundaries.
- Added model-score evidence cards so the model-backed path has score, confidence, evidence, and missing-data disclosure.
- Updated readiness/docs/publish checks and verified the focused responsible-metrics test set.
-
Phase 12: External evidence and validity integration hardening.
- Added CSV/JSONL
import-external-evidenceso user-supplied OpenAlex, BIP!, Semantic Scholar, patent, policy, media, award, and artifact-adoption exports can be merged into paper metadata bypaper_id, DOI, OpenAlex ID, or S2/Semantic Scholar ID. - Added Semantic Scholar-compatible influential citation scoring and BIP-compatible external impact scoring to
impact_index_v3, score cards, readiness coverage, taxonomy, docs, and publish checks. - Added optional
model-score-dataset --validity-labels --validity-label-columnso supplied future-window or external labels produceimpact_validity/impact_validity_evaluation.json/mdinside the model-scoring run. - Updated README, scoring docs, input schema, and release gates so these evidence-first features are required documentation before publishing.
- Final no-GPU verification passed with full tests, publish readiness, and deliverable check; model smoke remained skipped because no local model server was requested for this pass.
- Added CSV/JSONL
-
Phase 13: Validated-impact credibility gate.
- Upgraded
calibrate-fusion-weightsfrom legacy v2-only calibration toimpact_index_v3_final_components, fitting final weights across model pairwise, field/year citation, RCR-like citation ratio, citation graph, citation context, influential citation, temporal momentum, and external adoption components. - Kept legacy v2 calibration files loadable while allowing new calibration files to set
impact_index_v3_weightsandevidence_first_weightsseparately. - Added
validated_impact_claimand per-papervalidity_confidenceso numeric scores are separated from validation evidence. Without future-window or external validity labels, model-scored rows are explicitlyvalidity_status=unvalidated. - Updated README, scoring docs, tests, and publish checks so full v3 calibration and validation-confidence reporting are required for release readiness.
- Verified with focused regression, full tests, publish readiness, and no-GPU deliverable check.
- Upgraded
-
Phase 14: Final delivery gate closure.
- Extended the optional model branch of
scripts/run_deliverable_check.shso model-backed deliverable smoke must provevalidated_impact_claim.statusappears in the model report andvalidity_confidenceappears inimpact_scores.csv. - Updated
calibrate-fusion-weightsCLI output to print the active calibration profile, so logs distinguishimpact_index_v3_final_componentsfrom legacy/unknown profiles. - Re-ran focused regression, full tests, publish readiness, and no-GPU deliverable check after the final gate changes.
- Extended the optional model branch of
-
Phase 15: Report-facing impact claim certificate.
- Added
impact_claim_certificate.json/mdas the first-page claim artifact for model-score and full-run outputs. - The certificate combines score coverage, external evidence readiness, validated-impact evidence, and project readiness into
validated,evidence_supported,exploratory, orblocked. - Added the certificate to report bundles, deliverable checks, docs, and publish readiness so final reports cannot silently overclaim validated impact accuracy.
- Added
-
Phase 16: Model-score report-bundle hardening.
- Extended
report-bundlesomodel-score-datasetoutput directories are first-class deliverables, not only full pipeline runs. - The bundle now copies model score tables, model reports, impact score cards, pairwise judgments, external evidence readiness, optional validity reports, and the impact claim certificate.
- The bundle README now summarizes the model-score run separately from benchmark/readiness summaries.
- Extended
-
Phase 17: One-command model-score delivery.
- Added
model-score-dataset --report-bundleand--report-bundle-output. - This lets the primary user workflow produce scores, score cards, external-evidence readiness, claim certificate, and report bundle in one command.
- Updated deliverable checks and README to document and exercise the one-command path.
- Added
-
Phase 18: Offline replay and reproducible rescoring.
- Added
model-score-dataset --pairwise-judgments PATH. - Existing pairwise model judgments can now be replayed without calling the model again, enabling long-run recovery, audit replay, and recalibration/fusion reruns.
- The report records the pairwise judgment source so replayed runs remain distinguishable from fresh model inference.
- Added
-
Phase 19: Pairwise judgment resume mode.
- Added
model-score-dataset --resume-pairwise-judgments PATH. - Interrupted pairwise model-scoring runs can now continue from existing
pairwise_judgments.jsonlfiles by generating only missing planned comparisons. - The merged judgment output and report source summary make resumed inference auditable.
- Added
-
Phase 20: Pairwise judgment journaling.
- Added
model-score-dataset --pairwise-journal PATH. - Newly generated model judgments are checkpointed immediately, so interrupted long runs leave usable recovery state.
- Journal and resume mode can share the same path to append missing judgments and continue safely.
- Added
-
Phase 21: Model-score preflight sizing.
- Added
model-score-preflight. - The preflight report estimates planned pairwise comparisons, missing resume comparisons, bidirectional/direct model request counts, and external-evidence readiness without calling the model.
- This lets users size GPU work before running local inference.
- Added
-
Phase 22: Impact validity credibility scorecard.
- Added report-facing
impact_credibility_scorecard.json/mdnext to every impact-validity evaluation. - The scorecard combines label coverage, statistical support, rank alignment, top-rank quality, field-slice stability, and outlier robustness into
high_credibility,moderate_credibility,low_credibility,not_credible, orinsufficient_validation_data. - Added leave-top-label, leave-top-score, and top-label-5-percent robustness checks so a high nDCG or point estimate cannot hide extreme-row sensitivity.
- Integrated the scorecard into backtest outputs, artifact indexing, report bundles, project readiness, claim certificates, docs, and publish readiness.
- Added report-facing
-
Phase 23: Pairwise benchmark credibility scorecard.
- Added
pairwise_credibility_scorecard.json/mdfor SciImpact-style pairwise impact labels. - The scorecard uses coverage, one-sided binomial significance against a random 0.5 non-tie baseline, benchmark accuracy, tie rate, and dimension/field slice stability.
- Integrated the scorecard into
evaluate-pairwise-impact, SciImpact smoke/baseline scripts, docs, publish checks, and the deliverable check. - Re-ran the existing full SciImpact text-prior baseline with the new scorecard; it is correctly marked
not_credibledespite full coverage because pairwise accuracy is close to random and at least one slice is below random.
- Added
-
Phase 24: Direct model-answer credibility scorecard.
- Added
sciimpact_model_credibility_scorecard.json/mdforevaluate-sciimpact-predictions. - The scorecard gates local model answer credibility on coverage, one-sided binomial significance against the random A/B baseline, overall SciImpact accuracy, and dimension/item-type slice stability.
- Integrated the scorecard into SciImpact model-eval scripts, docs, publish checks, and smoke coverage.
- Re-ran the three existing source-task DPO p50 prediction sets without GPU: seed23 accuracy
0.680, seed470.647, seed710.650; all aremoderate_credibility, because weak slices prevent a high-credibility model claim. - Verified with focused tests, full tests, publish readiness, and no-GPU deliverable check.
- Added
-
Phase 25: Cross-seed model credibility summary.
- Added
summarize-sciimpact-model-credibilityto combine multiplesciimpact_model_eval.jsonreports into one report-facing model-evidence gate. - The summary reports pooled accuracy, mean/min seed accuracy, seed stability, weak dimension/item-type slices, and a final credibility decision.
- Generated the real three-seed source-task DPO summary at
runs/sciimpact-source-task-sft-dpo/eval/source-task-dpo-three-seed-model-credibility. - Result: pooled accuracy
0.659, coverage1.000, statusmoderate_credibility; weak slices includedataset,stars,github_repo,model,downloads, andpatent. - Updated README, evaluation docs, tests, and publish readiness so model-promotion claims use cross-seed evidence rather than a single favorable seed.
- Added
-
Phase 26: Weak-slice model error pack.
- Added
export-sciimpact-model-weak-slice-errorsto collect wrong/uncovered rows from weak dimension and item-type slices across one or more model evaluations. - The pack writes
sciimpact_model_weak_slice_error_pack.json/mdandsciimpact_model_weak_slice_errors.jsonl. - Default use is
diagnostic_only; users must pass--training-sourcefor train-split predictions, preventing held-out/test errors from being silently reused for fine-tuning. - Generated the real source-task DPO three-seed diagnostic pack at
runs/sciimpact-source-task-sft-dpo/eval/source-task-dpo-three-seed-weak-slice-errors. - Result:
178weak-slice errors, including13high-confidence errors; biggest error buckets arestars/github_repo,downloads,patent,model, anddataset.
- Added
-
Phase 27: Train-split weak-slice training candidate export.
- Extended
export-sciimpact-model-weak-slice-errorswith aligned--sftinputs. - When
--sftis supplied, the command also writestrain_pairwise_sft.jsonl,train_pairwise_dpo.jsonl, andweak_slice_source_records.jsonl. - Generated a real train-split candidate pack from
runs/sciimpact-hard-example-train-p100-dpo64. - Result:
139SFT records and139DPO records, all annotated with weak-slice and model-error metadata. - Validation passed: SFT
loaded=139 invalid=0; DPOloaded=139 invalid=0 duplicates=0 reverse_conflicts=0.
- Extended
-
Phase 28: Weak-slice DPO continuation script.
- Added
scripts/train_sciimpact_weak_slice_dpo.sh. - The script validates
train_pairwise_dpo.jsonlbefore training, then runs a conservative 32-step DPO continuation from the current source-task DPO adapter. - Defaults:
MAX_EXAMPLES=139,MAX_STEPS=32,MAX_LENGTH=4096,LEARNING_RATE=5e-7,BETA=0.1. - The script was syntax-checked and the DPO candidate data was validated without starting GPU training.
- Promotion remains gated on held-out three-seed evaluation and cross-seed model credibility summary.
- Added
-
Phase 29: Weak-slice DPO continuation experiment.
- Ran the 32-step weak-slice DPO continuation on GPUs
0,1,2,3. - Adapter output:
runs/sciimpact-weak-slice-candidate/checkpoints/qwen32b-source-task-dpo-weak-slice-32step. - Training completed with finite losses through step
32; the recurring bitsandbytes GLIBC warning remained non-blocking. - Served the candidate adapter on GPU
6at port8020, evaluated held-out p50 seeds23/47/71, then stopped the candidate service and released GPU6. - Candidate direct accuracies: seed23
0.667, seed470.657, seed710.627. - Candidate three-seed pooled accuracy
0.650, below the source-task DPO baseline0.658889; do not promote this adapter.
- Ran the 32-step weak-slice DPO continuation on GPUs
-
Phase 30: Model candidate promotion gate.
- Added
compare-sciimpact-model-candidateto compare a candidate cross-seed credibility summary against the current recommended model summary. - The gate requires at least three candidate evaluations, a pooled accuracy gain, no worst-seed regression, no material seed-stability regression, no extra weak slices, no material worst-slice regression, and no credibility-status downgrade.
- Generated a real gate report for the weak-slice DPO continuation at
runs/sciimpact-weak-slice-candidate/eval/weak-slice-dpo-promotion-gate. - Decision:
do_not_promote; pooled accuracy delta-0.008889, min seed accuracy delta-0.020. - This closes the model-improvement loop by making adapter promotion/rejection auditable rather than relying on training completion or one favorable seed.
- Added
-
Phase 31: Self-mined train-split weak-slice DPO experiment.
- Used the current source-task DPO model itself to predict a 1200-row stratified train-split SciImpact sample (
PER_DIMENSION=200, seed20260531) instead of mining from held-out errors. - The train-split diagnostic found 259 train-safe weak-slice errors, with valid SFT/DPO exports and no duplicate or reverse-conflict DPO pairs.
- Weak train-split slices matched the held-out bottleneck family:
downloads,patent,stars,github_repo, andmodel. - Trained
runs/sciimpact-source-task-selfmine-train-p200/checkpoints/qwen32b-source-task-dpo-selfmine-p200-64stepfor 64 DPO steps on GPUs0,1,2,3; all logged losses were finite. - Served the candidate on GPU
6at port8021, evaluated held-out p50 seeds23/47/71, then stopped the candidate service and released GPU6. - Candidate direct accuracies: seed23
0.663, seed470.650, seed710.633. - Candidate three-seed pooled accuracy
0.648889, below the source-task DPO baseline0.658889; promotion gate decisiondo_not_promote. - Conclusion: targeted weak-slice DPO improves the worst eligible slice but lowers overall and worst-seed accuracy, so the current source-task DPO adapter remains the recommended local judge.
- Used the current source-task DPO model itself to predict a 1200-row stratified train-split SciImpact sample (
-
Phase 32: Refocus on product deliverable instead of more model tuning.
- Added a no-GPU end-to-end impact demo:
scripts/run_impact_demo.sh. - Added
examples/impact_demo_papers.jsonl,examples/impact_demo_pairwise_judgments.jsonl, andexamples/impact_demo_future_labels.jsonl. - The demo uses offline pairwise replay, not a model server, and writes
impact_scores.csv,model_impact_report.md,impact_score_cards.md,impact_claim_certificate.md,impact_validity/,report_bundle/, anddemo_status.json. - Added
demo_report.mdas a concise human-readable handoff report; it includes claim status, score boundaries, top scores, validation boundary, and key artifact paths. - The demo script now fails if
impact_claim_certificate.json["claim"]lacksstatusorreason, preventing blank claim rows in handoff reports. - Verified the optional real-model smoke path with
CHECK_MODEL=1against the running GPU4local-impact-judge-source-task-dposervice; the deliverable check passed withmodel_smoke=passed. - Added
scripts/run_user_impact.sh, the direct user-dataset entrypoint. It runs validation, model-score preflight, model scoring, report bundling,user_impact_status.json, anduser_impact_summary.md; it supports replay, resume, pairwise journaling, validity labels, fusion-weight overrides, andRUN_PRESET=quick|balanced|full|custom. The summary now includes validation issues,report_decision, evidence gaps, and recommended next actions, not only top scores. - Added the publishable model credibility profile
configs/model_credibility/local-impact-judge-source-task-dpo.jsonand a user-runmodel_credibility_card.json/md. The card exposes cross-seed SciImpact accuracy, weak slices, reportability with disclosure, and the standalone-model claim boundary; missing or low model credibility downgradesreport_decisiontoexploratory_only. - Hardened the model credibility card with served-model identity matching. If
MODELdoes not match the supplied credibility profile, the card reportsmismatched_profile, setsmodel_identity_match=false, and the user workflow downgradesreport_decisiontoexploratory_only. This prevents one local model's benchmark evidence from being reused for another model service. - Added
model_credibility_card.json/mdto model-score report bundles so the delivered artifact contains the model evidence gate alongside scores and claim certificates. - Added
calibration_profile_card.json/mdfor the confidence-calibration profile. The card checks sample size, ECE/MCE/Brier quality thresholds,compatible_models, andcalibration_model_identity_match; missing, weak, or mismatched calibration evidence downgradesreport_decisiontoexploratory_only. - Added
compatible_modelsto the built-in SciImpact confidence calibration profile so the recommendedlocal-impact-judge-source-task-dpocan use it explicitly rather than inheriting an oldsource_modelname silently. - Integrated
scripts/run_user_impact.shintoscripts/run_deliverable_check.shso the release smoke now checks the real user-data entrypoint, not only the built-in demo script. - Updated
docs/planning/project-summary-report.mdas the current report-facing summary of method, implementation, validation, and claim boundaries. - This becomes the canonical local proof that the project satisfies the original workflow: given a paper dataset, produce dataset-local impact scores with evidence, uncertainty, validation boundaries, and a handoff bundle.
- Added a no-GPU end-to-end impact demo:
-
Phase 33: Public current-impact benchmark and conservative final-score weighting.
- Added a reusable OpCitance + NIH iCite benchmark builder for biomedical current-impact validation.
- Built a 1000-paper public benchmark from
data/external/opcitance/opcitance_Q.txtwith 1224 internal reference edges and 5442 citation contexts. - Validated the final score against NIH iCite RCR and related current-impact metrics.
- Adjusted the default final score from
0.80 true + 0.20 effectiveto0.95 true + 0.05 effective, because expanded public validation showed heavier effective-citation weights reduce RCR alignment when citation-context coverage is incomplete. - Kept
score_100_true_00_effective,score_95_true_05_effective,score_90_true_10_effective,score_80_true_20_effective,score_70_true_30_effective,score_50_true_50_effective, andscore_30_true_70_effectiveas sensitivity fields. - Updated the current-impact credibility gate so component diagnostic columns such as
effective_citation_scoreare disclosed but do not by themselves fail weight-sensitivity gating. - Formalized OpCitance + NIH iCite as benchmark registry item 2 and documented the reproducible local command.
- Final verification passed after registry/docs integration: full test suite
536 passed; publish readiness536 passed,Publish readiness checks passed.
-
Phase 34: Public no-GPU reproduction verification.
- Ran
scripts/reproduce_no_gpu.sh runs/reproduce-no-gpu-fresh-20260603without skipping installation. - Verified the public clone-style path: editable install, publish readiness, quickstart, impact demo, user-impact workflow, SciImpact fixture, and backtest evidence.
reproduce_status.jsonreportsstatus=passed,publish_ready=passed, anddeliverable_check=passed.deliverable_status.jsonreportsquickstart=passed,impact_demo=passed,user_impact=passed,sciimpact_fixture=passed, andbacktest_evidence=passed;model_smoke=skippedbecause this was the no-GPU path.
- Ran
-
Phase 35: Automatic citation-evidence lookup in user workflow.
- Added
AUTO_ENRICH=1toscripts/run_user_impact.sh. - Supported sources are
openalex,icite,opencitations, andsemantic_scholar, reusing existing enrichment commands instead of duplicating API clients. - The final enriched JSONL becomes
SCORING_INPUTfor validation, preflight, and scoring. - Added auto-enrichment status artifacts under
auto-enrich/and surfaced them inuser_impact_status.jsonplususer_impact_summary.md. - Kept
AUTO_ENRICH=0as the default so offline reproducibility remains deterministic. - Verified default replay and real OpenAlex auto-enrichment smoke paths.
- Added
-
Phase 36: NIH iCite enrichment for life-science citation evidence.
- Added
enrich_papers_with_iciteand CLI commandenrich-icite. - The enrichment maps PMID records to PubMed/iCite citation count, RCR, APT, NIH percentile, expected citation rate, field citation rate, Human/Animal/Molecular scores, and clinical-citation flags.
- Integrated
iciteintoAUTO_ENRICH_SOURCES, so user datasets with PMIDs can automatically fetch life-science current-impact evidence before scoring. - Real iCite API smoke matched
3/3OpCitance PMIDs. - User workflow smoke with
AUTO_ENRICH_SOURCES=icitepassed.
- Added
-
Phase 37: Same-paper duplicate reference deduplication.
- Added normalization-time deduplication for repeated references within the same target paper.
- Deduplication keys are DOI, external IDs, title/year/authors, then repeated
reference_id. - Citation context IDs are normalized, and contexts pointing to removed duplicate IDs are remapped to the kept reference ID.
- Source provenance from removed duplicates is retained as
deduplicated_reference_evidence. - Deduplication audit is written to
metadata.reference_deduplication. - Cross-paper citations are not deduplicated, because they are valid incoming impact evidence.
- Added a scoring regression test that counts a cross-source duplicate edge once.
- Verified with full test suite:
544 passed. - Publish readiness passed.
-
Phase 38: User 100-paper dataset verification.
- Converted and enriched
/home/wyx/zh/local-impact-ranking/data_100.zip. - Curated the MinerU output from 100 records to 85 article records by excluding supplements and extraction artifacts.
- Repaired 3 bad extracted titles with OpenAlex display names.
- Audited duplicate/self DOI evidence: 3820 references after curation, 1522 reference DOIs, 2 self DOI matches, and 0 cross-paper internal DOI matches.
- Re-ran validation, external-evidence readiness, preflight, and no-model score bundle on the curated input.
- Current claim: reportable dataset-local score with disclosure, not validated/high-credibility impact accuracy.
- Converted and enriched
-
Phase 39: User 100-paper model-backed scoring.
- Served
local-impact-judge-source-task-dpolocally with vLLM on GPU5, scored the curated 85-paper dataset, then stopped the server and released GPU memory. - The first auto-budget run produced only 43 pairwise comparisons and was exploratory because the graph was disconnected.
- Re-ran with
PAIR_BUDGET=manual MAX_PAIRS=200 TARGET_PAPER_COVERAGE=1.0, resuming the 43 existing judgments and generating 157 additional judgments. - Final output:
runs/data-100-verification/user-impact-model-p200. - Pair plan quality is reportable: all papers covered, one connected component, min 4 comparisons per paper.
- Model pairwise evidence is usable with disclosure: 200 judgments, 190 parseable, pairwise stability
moderate. - Final citation-impact score remains stable and citation-dominant; only 3 final scores are nonzero because the curated dataset has sparse current citations and no internal/effective citation edges.
- Served
-
Phase 40: Multi-source citation resolution for user-data scoring.
- Added a true-citation resolver that reads OpenAlex, Semantic Scholar, PubMed/iCite, OpenCitations, Crossref, and supplied citation counts.
- The scoring count uses the maximum available non-null source value to avoid false zero overrides, while all source-specific raw values are retained in
impact_scores.csv/jsonl. - Added audit fields:
true_citation_*_raw,true_citation_source_count,true_citation_positive_source_count,true_citation_source_agreement, andtrue_citation_source_conflict_flag. supplied_citation_countis treated as a fallback or higher-than-source override, not as a duplicate independent source when it merely repeats a named source.- Merged the 85 curated user records with Semantic Scholar, NIH iCite, OpenCitations/OpenAlex, and Crossref cited-by evidence into
runs/data-100-verification/papers.enriched.multi_source.jsonl. - Replayed the existing 200 model judgments without GPU at
runs/data-100-verification/user-impact-model-p200-multisource-replay/model-impact. - Multi-source lookup initially found 5 nonzero true-citation papers instead of the earlier OpenAlex-priority 3; follow-up identity guarding later showed that 2 of those 5 were wrong-paper DOI/PMID matches.
-
Phase 41: Extra biomedical citation sources and false-zero hardening.
- Stopped treating local numeric
paper_idvalues as PMIDs, preventing iCite/NCBI false-zero lookups when the dataset uses numeric local IDs. - Added Europe PMC enrichment to resolve DOI/PMID/PMCID and write
europepmc_cited_by_countplus corrected life-science identifiers. - Added NCBI ELink PubMed cited-in enrichment and exported
true_citation_ncbi_pubmed_rawin model score CSVs. - Fixed NCBI ELink batching to use repeated
idparameters in small chunks, preventing merged multi-ID linksets from assigning one paper's citations to another paper. - Kept NCBI PMC cited-by as audit-only evidence; it no longer overwrites generic
citation_countor final true-citation scoring. - Updated
AUTO_ENRICH_SOURCESto supporteuropepmcandncbi_citationsin addition to OpenAlex, iCite, OpenCitations, and Semantic Scholar. - Added title-identity guarding to true-citation scoring. If an external source title clearly mismatches the local paper title, raw source counts stay visible but are excluded from
true_citation_raw. - Replayed the 85-paper user dataset without GPU at
runs/data-100-verification/user-impact-model-p200-identity-recovery/model-impact. - Final recovery replay leaves 3 true nonzero papers, 84 matched rows, and 1 unresolved extract-only record. The improvement is stronger source corroboration, corrected PMIDs, wrong-paper citation leakage prevention, and recovery of two previously false high-score rows back to 0 rather than a larger nonzero count.
- Stopped treating local numeric
-
Phase 42: Additional no-key open citation sources.
- Added
enrich-crossref,enrich-datacite, andenrich-openaire. crossrefadds DOI-levelis-referenced-by-countevidence.dataciteadds DataCite citation, view, and download counts for repository/data/software DOI records.openaireadds OpenAIRE citation-impact indicators, including citation count, influence, popularity, and impulse.- The user auto-enrichment chain now supports
crossref,datacite, andopenairein addition to the existing OpenAlex, Europe PMC, iCite, NCBI, OpenCitations, Semantic Scholar, and identity-recovery steps. - Fusion exposes
true_citation_datacite_rawandtrue_citation_openaire_raw, and identity quarantine removes these source fields when external titles mismatch. - Verification: focused enrichment/fusion/docs/script tests passed; full test suite reported
573 passedbefore final publish readiness.
- Added
-
Phase 43: More public citation-source coverage.
- Added
enrich-datacite-eventsfor incoming DOI event evidence from DataCite Event Data. - Only DataCite Event
referencesandcitesrelation types are counted as citation evidence; total events and source facets are retained as audit fields. - Added
enrich-wikidataas an optional public citation source using DOIP356and cites-workP2860. - Kept Wikidata out of the default auto-enrichment chain because the public endpoint can be slow or unavailable.
- Added default auto-enrichment support for
datacite_events. - Fusion exports
true_citation_datacite_events_rawandtrue_citation_wikidata_raw. - Replayed the 85-paper user dataset after DataCite Events enrichment; DataCite Events matched all 85 DOIs but found 0 positive incoming event counts, so the final nonzero count remained 3/85.
- Verification: focused tests reported
54 passed; full suite reported579 passed.
- Added
-
Phase 44: Crossref Data Citations and PLOS usage source expansion.
- Added
enrich-crossref-data-citationsfor Crossref beta Data Citations counts. - Added
true_citation_crossref_data_citations_rawto the score outputs. - Added
enrich-plos-metricsfor PLOS article usage counters as optional audit/external-adoption evidence. - Integrated
crossref_data_citationsinto the default auto-enrichment chain; leftplos_metricsoptional because it is PLOS-only and does not directly feed the final true/effective citation score. - Replayed the 85-paper user dataset: Crossref Data Citations matched 85/85 but found 0 positive counts; PLOS Metrics matched 0/85; final nonzero count remained 3/85.
- Verification: focused tests reported
60 passed; full suite reported585 passed.
- Added
- The valid claim remains dataset-local impact inside the user-provided corpus unless an external calibrated citation graph is added.
- Human labels are not available in the short term, so benchmark/proxy evidence must be labeled as such.
- Do not start GPU-serving or training jobs unless explicitly requested.
- Prefer no-GPU checks and benchmark smokes for final project completeness.
- Keep implementation auditable: every score should trace to selected citation edges, prompt/audit records, and scoring configuration.
| Date | Error | Attempt | Resolution |
|---|---|---|---|
| 2026-05-27 | Existing planning files described an older completion phase. | Replaced task_plan.md with this full optimization plan. |
Continue using findings.md and progress.md as persistent logs. |
| 2026-05-27 | New readiness tests failed at collection because project_readiness.py did not exist yet. |
Ran target tests before implementation. | Implemented the module, CLI command, auto-run integration, and artifact index entries; target tests passed. |
| 2026-05-29 | bitsandbytes optional CUDA128 library warning reported missing GLIBC_2.34 during SFT startup. |
Checked process, GPU use, and train_log.jsonl. |
Training continued with torch.optim.AdamW; treat the warning as non-blocking unless the process exits. |
| 2026-06-02 | 1000-paper OpCitance full multi-score/multi-label credibility run took too long after scores and labels had already been generated. | Stopped the specific long local Python process and reused generated papers/scores/labels. | Re-ran focused RCR and final-score multi-metric reports with narrower score columns. |
| 2026-06-02 | One-off recomputation script failed with ModuleNotFoundError: local_impact_ranking. |
Ran Python without PYTHONPATH=src. |
Re-ran with PYTHONPATH=src; score recomputation succeeded. |
| 2026-06-03 | First plan update patch targeted the parent working directory context rather than the repository file. | Used apply_patch without the repo-relative path. |
Re-ran with the absolute repository path and verified Phase 38 in task_plan.md. |
| 2026-06-03 | The curated validation/readiness/preflight commands were triggered more than once. | Polled all session IDs and checked for leftover scoring processes. | All duplicate sessions exited; final summaries were read from the last on-disk curated artifacts. |