paperpush 0.7.0__tar.gz → 0.7.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {paperpush-0.7.0 → paperpush-0.7.2}/PKG-INFO +3 -3
- {paperpush-0.7.0 → paperpush-0.7.2}/README.md +2 -2
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/__init__.py +1 -1
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_docs/agents.md +10 -5
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-validate/SKILL.md +22 -6
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/ai_validate.py +107 -8
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/autofill.py +31 -2
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/bibliography_check.py +197 -4
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/citation_check.py +69 -8
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/cli.py +11 -9
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/database.py +10 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/layout_check.py +210 -2
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/mcp_server.py +8 -7
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/prose_check.py +95 -2
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/reference_details.py +159 -11
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/reference_review.py +58 -9
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/sensitive.py +45 -5
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/style_check.py +59 -7
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile.py +79 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/acl_arr.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/ajhg.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/bmc_biology.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/bmc_genomics.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/bmc_medicine.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/bmj.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/cell_reports.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/cell_reports_methods.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/cell_stem_cell.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/communications_biology.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/cvpr_2027.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/elife.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/european_radiology.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/frontiers_bioinformatics.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/frontiers_genetics.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/frontiers_immunology.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/genome_medicine.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/genome_research.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/ieee_tmi.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/ieee_tnnls.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/ieee_tpami.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/iscience.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/jama.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/jiim.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/jmlr.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/jnm.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/lancet.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/lancet_digital_health.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/medical_image_analysis.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/molecular_cell.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nar_cancer.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nar_genomics_bioinformatics.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_cell_biology.sub.txt +7 -0
- paperpush-0.7.2/paperpush/subfile_templates/nature_communications.sub.txt +193 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_computational_science.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_genetics.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_medicine.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_neuroscience.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_structural_molecular_biology.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nejm.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/neuron.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/npj_digital_medicine.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/patterns.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/plos_biology.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/plos_genetics.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/plos_medicine.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/plos_one.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/pnas.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/radiology.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/radiology_ai.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/scientific_reports.sub.txt +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/tmlr.sub.txt +8 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/submission_forms.json +360 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/usage_check.py +22 -4
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/validate.py +6 -2
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/validation_check_ids.json +7 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/nature/main.py +63 -22
- paperpush-0.7.2/paperpush/venues/nature/nature_communications.py +100 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/app.py +2 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/app.js +4 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/index.html +5 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush.egg-info/PKG-INFO +3 -3
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush.egg-info/SOURCES.txt +6 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/pyproject.toml +9 -1
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_autofill.py +67 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_bibliography_check.py +64 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_format.py +2 -1
- paperpush-0.7.2/tests/test_iclr_audit_citation_precision.py +214 -0
- paperpush-0.7.2/tests/test_iclr_precision_prose.py +161 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_mcp_server.py +5 -1
- paperpush-0.7.2/tests/test_nature_communications.py +97 -0
- paperpush-0.7.2/tests/test_nature_communications_acronyms.py +74 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_recovery.py +1 -2
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_reference_details.py +34 -0
- paperpush-0.7.2/tests/test_reference_details_precision.py +238 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_reference_review.py +2 -2
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_sensitive.py +57 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_skills.py +10 -6
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_subfile.py +48 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_suggestions.py +19 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_usage_check.py +2 -2
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_benchmark.py +16 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_fixes_orchestration.py +16 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_report.py +134 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_web.py +9 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_zenodo.py +3 -3
- paperpush-0.7.0/paperpush/subfile_templates/nature_communications.sub.txt +0 -81
- {paperpush-0.7.0 → paperpush-0.7.2}/LICENSE +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/__main__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_logging.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-add-venue/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-add-venue-validate/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-autofill/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-fix/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-login/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-pick-venue/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-portal-debug/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-prepare-submission/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-respond-to-reviewers/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-submit/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/_skills/paperpush-transfer/SKILL.md +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/ai_policy.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/ai_text_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/anonymity.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/biosample.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/chatbot_residue.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/check_ids.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/codegen/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/codegen/model.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/codegen/recorder.js +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/codegen/session.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/colorblind.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/common_fields.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/conferences.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/consistency.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/bib.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/images.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/mathconv.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/model.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/read_docx.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/read_md.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/read_tex.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/write_docx.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/convert/write_tex.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/cover_letter_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/credentials.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/density_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/document.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/docx_format.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/feature_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/figure_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/figure_design_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/file_inputs.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/filematch.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/formatter.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/front_matter_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/hidden_text.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/isbn.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/latex_cleaner.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/login_form.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/manuscript.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/manuscript_requirements.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/manuscript_requirements.schema.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/net_guard.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/openalex.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/openreview_profiles.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/orcid.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/pdf_layout.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/pdf_report.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/placeholders.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/plagiarism_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/publisher_lookup.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/reference_search.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/references.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/report.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/reproducibility_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/requirements.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/requirements_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/reviewer_finder.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/revision.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/rigor_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/schema_models.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/skills.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/stale_pdf.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/acl_2027_demo.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/alphaxiv.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/arxiv.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/bioinformatics.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/biorxiv.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/bmc_bioinformatics.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/caltechdata.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/cell.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/cell_genomics.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/cell_systems.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/combinatorica.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/discrete_mathematics.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/genome_biology.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/geo.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/medrxiv.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/naacl_2027_demo.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_biomedical_engineering.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_biotech.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_machine_intelligence.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nature_methods.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/nucleic_acids_research.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/plos_compbio.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/science.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/science_advances.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/science_immunology.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/science_robotics.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/science_signaling.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/science_translational_medicine.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/sra.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/subfile_templates/zenodo.sub.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/submission_forms.schema.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/template_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/templates.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/tex_format.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venue_data.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venue_metrics.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venue_metrics.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venue_select.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venuefile.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/aaai_2027_countries.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/aaai_2027_topics.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/alphaxiv_subcategories.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/arxiv_categories.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/bioinformatics_keywords.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/genome_biology_institution_countries.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/iclr_2027_primary_areas.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/nature_biotech_categories.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/nature_categories.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/nature_methods_categories.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/plos_compbio_classifications.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/plos_compbio_funding_countries.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/science_advances_subjects.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/science_immunology_subjects.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/science_robotics_subjects.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/science_signaling_subjects.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/science_subjects.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/_assets/science_translational_medicine_subjects.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/alphaxiv/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/alphaxiv/alphaxiv.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/arxiv/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/arxiv/arxiv.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/base.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/common.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/discrete_mathematics/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/discrete_mathematics/discrete_mathematics.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editflow/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editflow/combinatorica.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editflow/main.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editorialmanager/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editorialmanager/cell.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editorialmanager/cell_genomics.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editorialmanager/cell_systems.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editorialmanager/main.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/editorialmanager/plos_compbio.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/invenio/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/invenio/caltechdata.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/invenio/zenodo.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/login.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/nature/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/nature/nature.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/nature/nature_biomedical_engineering.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/nature/nature_biotech.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/nature/nature_machine_intelligence.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/nature/nature_methods.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/ncbi/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/ncbi/geo.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/ncbi/main.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/ncbi/sra.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openreview/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openreview/aaai_2027.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openreview/acl_2027_demo.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openreview/iclr_2027.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openreview/main.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openreview/naacl_2027_demo.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openrxiv/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openrxiv/biorxiv.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openrxiv/main.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/openrxiv/medrxiv.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/recovery.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/recovery_ai.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/recovery_channel.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/recovery_report.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/scholarone/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/scholarone/bioinformatics.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/scholarone/main.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/scholarone/nucleic_acids_research.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/science/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/science/science.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/snapp/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/snapp/bmc_bioinformatics.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/snapp/genome_biology.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/snapp/main.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/template/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues/template/template.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/venues.schema.json +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/__init__.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/shared.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/add-venue.html +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/add-venue.js +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/apple-touch-icon.png +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/checks.js +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/favicon.ico +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/fonts/OFL-STIXTwoText.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/fonts/OFL-SourceSans3.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/fonts/source-sans-3-latin-ext.woff2 +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/fonts/source-sans-3-latin.woff2 +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/fonts/stix-two-text-italic-latin-ext.woff2 +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/fonts/stix-two-text-italic-latin.woff2 +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/fonts/stix-two-text-latin-ext.woff2 +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/fonts/stix-two-text-latin.woff2 +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/logo.svg +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/privacy.html +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/shared.js +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/style.css +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/subfile.js +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/theme.js +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush/web/static/viewer.js +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush.egg-info/dependency_links.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush.egg-info/entry_points.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush.egg-info/requires.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/paperpush.egg-info/top_level.txt +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/setup.cfg +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_acl_2027_demo.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_ai_policy.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_ai_text_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_alphaxiv.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_anonymity.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_anonymity_ai.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_arxiv_cs_ai_false_positives.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_bibcheck_nocite_duplicates.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_biorxiv_false_positives.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_biosample.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_books_and_preprints.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_caltechdata.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_caption_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_chatbot_residue.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_check_guidelines.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_check_submit_walkthrough.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_cli_web.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_codegen.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_colorblind.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_conferences.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_convert.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_cover_letter_and_counts.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_density_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_dev_benchmark_fixes.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_editorialmanager_login.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_example_report_fixes.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_feature_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_figtext_raster_lettering.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_figure_design_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_figure_grid_panels.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_filematch.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_find_reviewers.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_form_only_statements.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_front_matter_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_hidden_text.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_accepted_false_positives.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_acronyms_pdf.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_audit_abstract.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_audit_prose.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_audit_supplementary.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_audit_uncited.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_desk_reject_fixes.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_false_alarms_anonymity_hidden.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_false_positives.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_free_openalex_and_speed.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_iclr_missed_anonymity_and_references.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_incomplete_status.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_internals.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_issue_levels.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_latex_cleaner.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_logging.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_login.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_login_form.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_loose_reference_matches.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_markdown.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_naacl_2027_demo.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_nature_biomedical_engineering.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_nature_machine_intelligence.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_ncbi_login.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_ncbi_venues.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_net_guard.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_network_switch.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_openalex.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_openreview_profiles.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_pdf_layout_huge_figures.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_pick_venue.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_placeholders.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_plagiarism_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_prepare_submission.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_prose_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_publisher_rules.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_recovery_ai.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_recovery_channel.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_recovery_coverage.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_recovery_report.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_reference_search.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_references.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_refs_dev1.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_reproducibility_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_requirements.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_revision.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_rigor_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_sra.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_stale_pdf.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_style_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_submit.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_supplementary_attachments.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_template_check.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_textchecks_fixes.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_unattended_sign_in.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_update_guidelines.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_disable.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_files.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_fixes_guidelines.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_fixes_integrity.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_fixes_layout.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_fixes_prose.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_fixes_references.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_json.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_major_fixes.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validate_only_venue.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validation_check_count.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_validation_severity.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_venue_consistency.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_venue_data.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_venue_interface.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_venue_metrics.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_venue_resolution.py +0 -0
- {paperpush-0.7.0 → paperpush-0.7.2}/tests/test_venuefile.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: paperpush
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.2
|
|
4
4
|
Summary: A Python library for automating the submission of manuscripts to academic venues.
|
|
5
5
|
Author-email: Joseph Rich <josephrich98@gmail.com>
|
|
6
6
|
Maintainer-email: Joseph Rich <josephrich98@gmail.com>
|
|
@@ -90,7 +90,7 @@ Dynamic: license-file
|
|
|
90
90
|
PaperPush provides the following services:
|
|
91
91
|
- A standardized system to share all metadata submitted to a venue (the .sub file - [see an example here](https://paperpush.readthedocs.io/en/latest/sub-file.html#sub-file-example))
|
|
92
92
|
<!-- BEGIN VALIDATION CHECK COUNT -->
|
|
93
|
-
- Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, anonymization, and much, much more —
|
|
93
|
+
- Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, anonymization, and much, much more — 194 distinct validation check types in total. [See the full list](https://paperpush.readthedocs.io/en/latest/validation-checks.html)
|
|
94
94
|
<!-- END VALIDATION CHECK COUNT -->
|
|
95
95
|
- A central database of journal/conference [manuscript requirements](https://paperpush.readthedocs.io/en/latest/schemas/manuscript_requirements.html) ([`paperpush/manuscript_requirements.json`](https://github.com/pachterlab/paperpush/blob/main/paperpush/manuscript_requirements.json)) and [submission data](https://paperpush.readthedocs.io/en/latest/schemas/submission_forms.html) ([`paperpush/submission_forms.json`](https://github.com/pachterlab/paperpush/blob/main/paperpush/submission_forms.json))
|
|
96
96
|
- Automated and fast submission portal filling with deterministic scripts - [see an example here](https://paperpush.readthedocs.io/en/latest/submission-portal.html)
|
|
@@ -294,7 +294,7 @@ See the YouTube tutorial [PaperPush Tutorial](https://youtu.be/ChCYoud0uBk)
|
|
|
294
294
|
| [Nature Biomedical Engineering](https://www.nature.com/natbiomedeng) | `nature_biomedical_engineering` | ✅ | ✅ |
|
|
295
295
|
| [Nature Biotechnology](https://www.nature.com/nbt) | `nature_biotech` | ✅ | ✅ |
|
|
296
296
|
| [Nature Cell Biology](https://www.nature.com/ncb) | `nature_cell_biology` | ✅ | |
|
|
297
|
-
| [Nature Communications](https://www.nature.com/ncomms) | `nature_communications` | ✅ |
|
|
297
|
+
| [Nature Communications](https://www.nature.com/ncomms) | `nature_communications` | ✅ | ✅ |
|
|
298
298
|
| [Nature Computational Science](https://www.nature.com/natcomputsci) | `nature_computational_science` | ✅ | |
|
|
299
299
|
| [Nature Genetics](https://www.nature.com/ng) | `nature_genetics` | ✅ | |
|
|
300
300
|
| [Nature Machine Intelligence](https://www.nature.com/natmachintell) | `nature_machine_intelligence` | ✅ | ✅ |
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
PaperPush provides the following services:
|
|
22
22
|
- A standardized system to share all metadata submitted to a venue (the .sub file - [see an example here](https://paperpush.readthedocs.io/en/latest/sub-file.html#sub-file-example))
|
|
23
23
|
<!-- BEGIN VALIDATION CHECK COUNT -->
|
|
24
|
-
- Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, anonymization, and much, much more —
|
|
24
|
+
- Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, anonymization, and much, much more — 194 distinct validation check types in total. [See the full list](https://paperpush.readthedocs.io/en/latest/validation-checks.html)
|
|
25
25
|
<!-- END VALIDATION CHECK COUNT -->
|
|
26
26
|
- A central database of journal/conference [manuscript requirements](https://paperpush.readthedocs.io/en/latest/schemas/manuscript_requirements.html) ([`paperpush/manuscript_requirements.json`](https://github.com/pachterlab/paperpush/blob/main/paperpush/manuscript_requirements.json)) and [submission data](https://paperpush.readthedocs.io/en/latest/schemas/submission_forms.html) ([`paperpush/submission_forms.json`](https://github.com/pachterlab/paperpush/blob/main/paperpush/submission_forms.json))
|
|
27
27
|
- Automated and fast submission portal filling with deterministic scripts - [see an example here](https://paperpush.readthedocs.io/en/latest/submission-portal.html)
|
|
@@ -225,7 +225,7 @@ See the YouTube tutorial [PaperPush Tutorial](https://youtu.be/ChCYoud0uBk)
|
|
|
225
225
|
| [Nature Biomedical Engineering](https://www.nature.com/natbiomedeng) | `nature_biomedical_engineering` | ✅ | ✅ |
|
|
226
226
|
| [Nature Biotechnology](https://www.nature.com/nbt) | `nature_biotech` | ✅ | ✅ |
|
|
227
227
|
| [Nature Cell Biology](https://www.nature.com/ncb) | `nature_cell_biology` | ✅ | |
|
|
228
|
-
| [Nature Communications](https://www.nature.com/ncomms) | `nature_communications` | ✅ |
|
|
228
|
+
| [Nature Communications](https://www.nature.com/ncomms) | `nature_communications` | ✅ | ✅ |
|
|
229
229
|
| [Nature Computational Science](https://www.nature.com/natcomputsci) | `nature_computational_science` | ✅ | |
|
|
230
230
|
| [Nature Genetics](https://www.nature.com/ng) | `nature_genetics` | ✅ | |
|
|
231
231
|
| [Nature Machine Intelligence](https://www.nature.com/natmachintell) | `nature_machine_intelligence` | ✅ | ✅ |
|
|
@@ -91,8 +91,9 @@ in its first and last rounds; `prepare-submission` and `submit` use `login` for
|
|
|
91
91
|
`codex plugin add paperpush@paperpush`. Or `paperpush install-skills --agent codex`.
|
|
92
92
|
- **Any other agent**: `paperpush install-skills --dest <that agent's skills
|
|
93
93
|
directory>`, or point it at `skills/<name>/SKILL.md`.
|
|
94
|
-
- **In a clone of this repo**,
|
|
95
|
-
|
|
94
|
+
- **In a clone of this repo**, add the clone as a marketplace:
|
|
95
|
+
`/plugin marketplace add .`, then `/plugin install paperpush@paperpush`.
|
|
96
|
+
The plugin reads `skills/` in place, so edits take effect without reinstalling.
|
|
96
97
|
|
|
97
98
|
## The one rule: you are the extractor
|
|
98
99
|
|
|
@@ -344,7 +345,9 @@ defaults to `--engine manual`, which applies the `values.json` **you** wrote. So
|
|
|
344
345
|
subfield blank (keep the `|`) rather than inventing an email or ORCID.
|
|
345
346
|
- `filemap`: use **absolute paths**; only the leading path segment is
|
|
346
347
|
resolved, so extra columns (`| label`, or bioRxiv `| type | linktext`) are
|
|
347
|
-
preserved as written.
|
|
348
|
+
preserved as written. The core then stores each path relative to the
|
|
349
|
+
`.sub`'s folder when the file is inside it (absolute otherwise), so a
|
|
350
|
+
`.sub` that is moved, copied, or shared keeps naming the right files.
|
|
348
351
|
- `confidence`: `high` = copied verbatim / unambiguous file match; `medium` =
|
|
349
352
|
inferred, reformatted, or a classification; `low` = a genuine guess. When
|
|
350
353
|
unsure, lower the confidence rather than guessing high.
|
|
@@ -412,8 +415,10 @@ files, or the figures embedded in the manuscript when none are attached), that
|
|
|
412
415
|
figures, tables, and figure panels are cited in order, and that the title, abstract, authors,
|
|
413
416
|
keywords, and statements in the `.sub` match the manuscript; that the abstract
|
|
414
417
|
cites no references (and is structured when the venue asks), the manuscript
|
|
415
|
-
gives a contact e-mail, every reference is cited,
|
|
416
|
-
|
|
418
|
+
gives a contact e-mail, every reference is cited, a numbered reference list
|
|
419
|
+
runs 1 to n with no gaps or repeats, and self-citations are not excessive
|
|
420
|
+
(and queues `ai.citation_targets`, whether each citation points to the work
|
|
421
|
+
its sentence names); and proofreads the prose mechanically (double spaces, doubled
|
|
417
422
|
words, punctuation spacing, unbalanced brackets and quotes, common
|
|
418
423
|
misspellings, repetitive word choice, numbers of 10 or more in digits,
|
|
419
424
|
abbreviations written one way, acronyms spelled out at first use and their
|
|
@@ -5,7 +5,8 @@ description: >-
|
|
|
5
5
|
checks that need a reader's judgment (lettering in raster figures, panel
|
|
6
6
|
labels, whether each figure and panel shows what its legend and the text
|
|
7
7
|
say, the venue's free-text guideline rules, whether every .sub field says
|
|
8
|
-
what the manuscript says
|
|
8
|
+
what the manuscript says, and whether the cover letter's title and byline
|
|
9
|
+
agree with the .sub), which you do yourself instead of through an API
|
|
9
10
|
key. Produces the color-coded report of what passed, failed, and was not
|
|
10
11
|
checked, saved by default as a PDF next to the .sub (or HTML/Markdown/text
|
|
11
12
|
on request). For a venue paperpush
|
|
@@ -150,9 +151,10 @@ guess failed.
|
|
|
150
151
|
2. **Do each task in the task file. This step is required.** The
|
|
151
152
|
deterministic checks alone miss what only a reader can see: fabricated
|
|
152
153
|
references (`ai.unverified_references`), figures that don't show what the
|
|
153
|
-
text says,
|
|
154
|
-
rules. Do every task unless the user
|
|
155
|
-
checks. "Write a findings file", a time
|
|
154
|
+
text says, cover-letter title and author mismatches, prose errors, misplaced
|
|
155
|
+
content, and the venue's free-text rules. Do every task unless the user
|
|
156
|
+
explicitly asked to skip the AI checks. "Write a findings file", a time
|
|
157
|
+
budget, or a long task list are
|
|
156
158
|
not reasons to skip. If a task can't be done (no web access for
|
|
157
159
|
reference lookups, an unreadable file), mark it `unclear` with the reason;
|
|
158
160
|
never leave it out. `tasks[]` gives each check's `id`,
|
|
@@ -201,6 +203,16 @@ guess failed.
|
|
|
201
203
|
a quotation, a named dataset or tool the authors did not make) with its
|
|
202
204
|
location and the kind of source it needs. The paper's own methods,
|
|
203
205
|
results, and reasoning, and common knowledge in the field, need none.
|
|
206
|
+
- `ai.citation_targets` asks whether each citation points to the work
|
|
207
|
+
its sentence names. For every citation whose sentence names something
|
|
208
|
+
checkable (authors, a method, model, dataset, or tool, a year, a kind of
|
|
209
|
+
work), look up the entry it points to (the numbered entry, the `.bib`
|
|
210
|
+
key, the label, or the author and year) and confirm it is that work.
|
|
211
|
+
`fail` lists each mismatch with its location, a quote, what the sentence
|
|
212
|
+
names, and what the entry really is ("BERT [12]", but [12] is He et al.
|
|
213
|
+
2016); say when several are off by the same amount, which means the list
|
|
214
|
+
was renumbered. Citations that name nothing checkable, and entries that
|
|
215
|
+
don't exist (`bibliography.uncited`), are not this task's.
|
|
204
216
|
- `ai.anonymity` (double-blind venues, or `--anonymous`) asks whether
|
|
205
217
|
anything beyond the keyword scan's findings identifies the authors. Read
|
|
206
218
|
the whole manuscript and supplement as a reviewer would. `fail` quotes
|
|
@@ -311,8 +323,12 @@ guess failed.
|
|
|
311
323
|
heuristics as things to confirm, not as certainties. List every AI task
|
|
312
324
|
with its verdict (one line each), so it is visible that none was skipped.
|
|
313
325
|
If the user asked for the findings in a file or another format, include
|
|
314
|
-
the
|
|
315
|
-
the AI verdicts
|
|
326
|
+
every item the saved report lists, from **both** the deterministic report
|
|
327
|
+
and the AI verdicts, each with its location: errors, likely errors,
|
|
328
|
+
similarity findings, warnings, and every suggestion (one entry each,
|
|
329
|
+
marked as a suggestion, e.g. "Suggestion:" at the start of the issue when
|
|
330
|
+
the format has no suggestion level). The one-line count of suggestions is
|
|
331
|
+
for the chat summary only; the file lists them all.
|
|
316
332
|
|
|
317
333
|
## Rules
|
|
318
334
|
|
|
@@ -47,6 +47,7 @@ logger = logging.getLogger(__name__)
|
|
|
47
47
|
CRITICAL_AI_TASKS = frozenset({"ai.unverified_references", "ai.flagged_references", "ai.template", "ai.rigor.trial_registration", "ai.details.ethics", "ai.anonymity"})
|
|
48
48
|
|
|
49
49
|
VERDICTS = ("pass", "fail", "suggest", "unclear", "not_applicable")
|
|
50
|
+
CODE_FORMATTING_ID = "ai.code_formatting"
|
|
50
51
|
|
|
51
52
|
_SYSTEM = "You are a meticulous pre-submission checker for academic manuscripts. You are given " "the files of one submission and a list of checks. For each check, read the files it " "names and decide: 'pass' if the submission meets it, 'fail' if it does not, " "'suggest' if nothing is wrong but you have points of style the author could defensibly leave as they are, " "'not_applicable' if the check does not apply to this submission, or 'unclear' if the " "files do not let you decide. Judge only from the files; do not assume. For 'fail', " "'details' must say exactly what is wrong and where (file, page, figure, panel) so the " "author can fix it; when you find several separate problems, number them '1) ... 2) ...' " "so each is listed on its own line; for 'pass', say briefly what you verified. Quote short evidence."
|
|
52
53
|
|
|
@@ -286,10 +287,98 @@ def _role_paths_for_field(field, values: dict[str, str]) -> list[str]:
|
|
|
286
287
|
return [str(p) for p in _existing(_paths(field, values))]
|
|
287
288
|
|
|
288
289
|
|
|
290
|
+
def cover_letter_tasks(venue: Venue, values: dict[str, str]) -> list[AiTask]:
|
|
291
|
+
"""Compare the cover letter with the title and named authors in the .sub."""
|
|
292
|
+
from .validate import _author_name, parse_authors
|
|
293
|
+
|
|
294
|
+
files = list(dict.fromkeys(_role_paths(venue, values, "cover_letter")))
|
|
295
|
+
if not files:
|
|
296
|
+
return []
|
|
297
|
+
tasks = []
|
|
298
|
+
title = values.get("title", "").strip()
|
|
299
|
+
if title:
|
|
300
|
+
tasks.append(
|
|
301
|
+
AiTask(
|
|
302
|
+
id="ai.cover_letter_title",
|
|
303
|
+
title="Manuscript title in the cover letter matches the .sub",
|
|
304
|
+
category="Cover letter",
|
|
305
|
+
instructions=(
|
|
306
|
+
"In each cover letter, identify every phrase explicitly presented as the title of the submitted manuscript. "
|
|
307
|
+
"Ignore titles of other works and descriptions of the manuscript's topic. Compare the title word for word "
|
|
308
|
+
"with the .sub value below, allowing typography, line wrapping, and surrounding quotation marks. "
|
|
309
|
+
"Report 'fail' for any mismatch and quote the differing text with its filename. "
|
|
310
|
+
"Report 'unclear' if a letter cannot be read or the title cannot be identified reliably, unless a mismatch is verified. "
|
|
311
|
+
"Return 'not_applicable' if no letter states the manuscript title. Otherwise return 'pass' for matching titles "
|
|
312
|
+
"and identify any letters that omit the title.\n\n"
|
|
313
|
+
f"--- Manuscript title in the .sub ---\n{title}"
|
|
314
|
+
),
|
|
315
|
+
files=files,
|
|
316
|
+
)
|
|
317
|
+
)
|
|
318
|
+
author_field = next((f for f in venue.fields if f.type == "authorlist" and values.get(f.id, "").strip()), None)
|
|
319
|
+
if author_field is None:
|
|
320
|
+
return tasks
|
|
321
|
+
names = [_author_name(author) for author in parse_authors(values[author_field.id], author_field.fields)]
|
|
322
|
+
if not names or not all(names):
|
|
323
|
+
return tasks
|
|
324
|
+
byline = "\n".join(names)
|
|
325
|
+
tasks.append(
|
|
326
|
+
AiTask(
|
|
327
|
+
id="ai.cover_letter_authors",
|
|
328
|
+
title="Manuscript author list in the cover letter matches the .sub",
|
|
329
|
+
category="Cover letter",
|
|
330
|
+
instructions=(
|
|
331
|
+
"In each cover letter, identify any list presented as the full author list of the submitted manuscript. "
|
|
332
|
+
"Ignore signatures, corresponding-author contact details, citations, and mentions that give only a subset of authors. "
|
|
333
|
+
"Compare the people and their order with the .sub list below. Allow initials or other spelling variants only "
|
|
334
|
+
"when the identity is clear. Report 'fail' for any missing, extra, different, or reordered authors in an explicit "
|
|
335
|
+
"byline and cite the filename and evidence. Report 'unclear' if a letter cannot be read or the comparison is ambiguous, "
|
|
336
|
+
"unless a mismatch is verified. Return 'not_applicable' if no letter presents the full author list. "
|
|
337
|
+
"Otherwise return 'pass' for matching bylines and identify any letters that omit the byline.\n\n"
|
|
338
|
+
f"--- Manuscript authors in the .sub, in order ---\n{byline}"
|
|
339
|
+
),
|
|
340
|
+
files=files,
|
|
341
|
+
)
|
|
342
|
+
)
|
|
343
|
+
return tasks
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
def code_formatting_task(venue: Venue, values: dict[str, str]) -> AiTask:
|
|
347
|
+
return AiTask(
|
|
348
|
+
id=CODE_FORMATTING_ID,
|
|
349
|
+
title="Commands and function names are distinguishable and styled consistently",
|
|
350
|
+
category="Prose",
|
|
351
|
+
instructions=(
|
|
352
|
+
"Read the manuscript prose with its typography or source markup intact. For PDFs inspect the rendered page or font spans; "
|
|
353
|
+
"for Word inspect the original run and paragraph styles. Flattened text cannot show that a span is unformatted. "
|
|
354
|
+
"Judge each manuscript version on its own and do not count the same finding twice.\n"
|
|
355
|
+
"Find literal software commands, command invocations, and function or method names, including single mentions and names "
|
|
356
|
+
"that are plain throughout. Use nearby wording and syntax to verify that each mention refers to code. Ignore package and "
|
|
357
|
+
"tool names used only to name the software, ordinary words, mathematical functions, method names used only as names of "
|
|
358
|
+
"algorithms, LaTeX markup used to typeset the manuscript, and incidental occurrences in URLs, paths, reference entries, "
|
|
359
|
+
"or quoted external material.\n"
|
|
360
|
+
"Suggest formatting clear, unmarked mentions as inline code, or using a code block for a standalone multi-line command "
|
|
361
|
+
"or example. When comparable mentions of the same command or function use different styles (including plain text), "
|
|
362
|
+
"suggest matching the established style. Accept consistently used quotes, bold, italics, or other clear styling. "
|
|
363
|
+
"Using inline code in prose and a code block for a standalone example is consistent. Whole headings or paragraphs "
|
|
364
|
+
"styled alike do not distinguish code.\n"
|
|
365
|
+
"Report only high-confidence findings as 'suggest'. Group repeats, giving a filename, page or section, a short quote, "
|
|
366
|
+
"and the change for each; cite two locations for an inconsistency. Never use 'fail'. Skip ambiguous mentions. "
|
|
367
|
+
"Return 'unclear' when you cannot verify formatting and found no verified issue, 'not_applicable' if you can inspect "
|
|
368
|
+
"the manuscript and it contains no literal commands or functions, or 'pass' if the relevant mentions are clearly styled consistently."
|
|
369
|
+
),
|
|
370
|
+
files=list(dict.fromkeys(_role_paths(venue, values, "manuscript"))),
|
|
371
|
+
)
|
|
372
|
+
|
|
373
|
+
|
|
289
374
|
def all_tasks(checks, venue: Venue, values: dict[str, str]) -> list[AiTask]:
|
|
290
|
-
"""Every AI task for this submission
|
|
375
|
+
"""Every AI task for this submission, including the ones the manuscript stages queued."""
|
|
376
|
+
tasks = [*checks.ai_tasks, *guideline_tasks(venue, values), *cover_letter_tasks(venue, values)]
|
|
377
|
+
formatting = code_formatting_task(venue, values)
|
|
378
|
+
if formatting.files:
|
|
379
|
+
tasks.append(formatting)
|
|
291
380
|
seen: dict[str, AiTask] = {}
|
|
292
|
-
for task in
|
|
381
|
+
for task in tasks:
|
|
293
382
|
if task.id in seen:
|
|
294
383
|
# Two checks queued the same task id: merge their files.
|
|
295
384
|
old = seen[task.id]
|
|
@@ -349,6 +438,8 @@ def resolve(checks, venue: Venue, values: dict[str, str], ai: Optional[AiOptions
|
|
|
349
438
|
details = " ".join(p for p in (head, "; ".join(items)) if p)
|
|
350
439
|
message = details + (f" (evidence: {evidence})" if evidence else "")
|
|
351
440
|
status = verdict["status"]
|
|
441
|
+
if task.id == CODE_FORMATTING_ID and status == "fail":
|
|
442
|
+
status = "suggest"
|
|
352
443
|
if status == "pass":
|
|
353
444
|
checks.record(task.id, task.title, task.category, report.PASSED, detail=message, source="ai")
|
|
354
445
|
elif status == "fail":
|
|
@@ -444,12 +535,20 @@ def run_api(tasks: list[AiTask], venue: Venue, ai: AiOptions, max_tokens: int =
|
|
|
444
535
|
verdicts: dict[str, dict] = {}
|
|
445
536
|
sendable: list[AiTask] = []
|
|
446
537
|
for task in tasks:
|
|
447
|
-
kept = [
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
538
|
+
kept = []
|
|
539
|
+
omissions = []
|
|
540
|
+
for path in task.files:
|
|
541
|
+
name = Path(path).name
|
|
542
|
+
if task.id == CODE_FORMATTING_ID and Path(path).suffix.lower() == ".docx":
|
|
543
|
+
omissions.append(f"{name} (the API receives Word as plain text; use an agent to inspect the original formatting or supply a PDF)")
|
|
544
|
+
elif not _model_can_read(path):
|
|
545
|
+
omissions.append(f"{name} (an archive or binary format)")
|
|
546
|
+
else:
|
|
547
|
+
kept.append(path)
|
|
548
|
+
if omissions and not kept:
|
|
549
|
+
verdicts[task.id] = {"id": task.id, "status": "unclear", "details": "cannot inspect " + ", ".join(omissions)}
|
|
550
|
+
elif omissions:
|
|
551
|
+
sendable.append(replace(task, files=kept, instructions=f"{task.instructions}\nUnavailable for this check: {', '.join(omissions)}. Report 'unclear' if you cannot reach a verdict from the remaining files."))
|
|
453
552
|
else:
|
|
454
553
|
sendable.append(task)
|
|
455
554
|
if not sendable:
|
|
@@ -58,7 +58,7 @@ from dataclasses import field as _dc_field
|
|
|
58
58
|
from pathlib import Path
|
|
59
59
|
|
|
60
60
|
from .database import Field, Venue
|
|
61
|
-
from .subfile import _MULTILINE_TYPES, _format_default, is_attestation, parse, replace_block, replace_scalar
|
|
61
|
+
from .subfile import _MULTILINE_TYPES, _format_default, is_attestation, parse, relativize_value, replace_block, replace_scalar, resolve_paths, resolve_relative_path
|
|
62
62
|
from .validate import Issue, _truthy_bool, validate
|
|
63
63
|
|
|
64
64
|
logger = logging.getLogger(__name__)
|
|
@@ -411,6 +411,16 @@ def _existing_value(values: dict[str, str], field: Field) -> str:
|
|
|
411
411
|
return raw
|
|
412
412
|
|
|
413
413
|
|
|
414
|
+
def _same_files(previous: str, value: str, field: Field, sub_dir: str | Path) -> bool:
|
|
415
|
+
"""Whether ``previous`` (as the .sub holds it) names the same files as ``value``, in another form."""
|
|
416
|
+
base = Path(sub_dir).expanduser().resolve()
|
|
417
|
+
lines = []
|
|
418
|
+
for line in previous.splitlines():
|
|
419
|
+
head, sep, rest = line.partition("|")
|
|
420
|
+
lines.append(resolve_relative_path(head, base) + (" " + sep + rest if sep else ""))
|
|
421
|
+
return _normalize(relativize_value(field.type, "\n".join(lines), sub_dir)) == _normalize(value)
|
|
422
|
+
|
|
423
|
+
|
|
414
424
|
def _write_field(text: str, field: Field, value: str) -> str:
|
|
415
425
|
"""Write ``value`` into ``field`` using the right surgical helper."""
|
|
416
426
|
if field.type in _MULTILINE_TYPES:
|
|
@@ -426,6 +436,7 @@ def autofill(
|
|
|
426
436
|
min_confidence: str = "low",
|
|
427
437
|
confirm_attestations: bool = False,
|
|
428
438
|
keep_existing: bool = False,
|
|
439
|
+
sub_dir: str | Path | None = None,
|
|
429
440
|
) -> AutofillResult:
|
|
430
441
|
"""Apply ``extraction`` to the ``.sub`` ``text`` for ``venue``.
|
|
431
442
|
|
|
@@ -452,6 +463,13 @@ def autofill(
|
|
|
452
463
|
that already holds a value (other than its template default) as it is,
|
|
453
464
|
reporting the differing proposal as ``KEPT``: use it to update a ``.sub``
|
|
454
465
|
the author has edited by hand without losing those edits.
|
|
466
|
+
|
|
467
|
+
``sub_dir`` is the folder the ``.sub`` is written to. With it, every file
|
|
468
|
+
path written is stored relative to that folder when the file is inside it
|
|
469
|
+
(absolute otherwise), so the ``.sub`` survives being moved, copied, or
|
|
470
|
+
shared; a path already in the file that names the same file in the other
|
|
471
|
+
form counts as unchanged and is rewritten in the relative form. Without
|
|
472
|
+
it, paths are written as resolved.
|
|
455
473
|
"""
|
|
456
474
|
by_id = {f.id: f for f in venue.fields}
|
|
457
475
|
floor = _CONFIDENCE_ORDER.get(min_confidence.lower(), 0)
|
|
@@ -482,6 +500,8 @@ def autofill(
|
|
|
482
500
|
value = prop.value
|
|
483
501
|
if role == FILEMAP:
|
|
484
502
|
value = _resolve_filemap(field, value, search_dirs)
|
|
503
|
+
if sub_dir is not None:
|
|
504
|
+
value = relativize_value(field.type, value, sub_dir)
|
|
485
505
|
|
|
486
506
|
if not value.strip():
|
|
487
507
|
outcomes.append(Outcome(field.id, field.label, SKIPPED_EMPTY, confidence=confidence, source=prop.source, note="no value to write"))
|
|
@@ -492,6 +512,11 @@ def autofill(
|
|
|
492
512
|
continue
|
|
493
513
|
|
|
494
514
|
previous = _existing_value(current, field)
|
|
515
|
+
if previous and role == FILEMAP and sub_dir is not None and previous != _normalize(value) and _same_files(previous, value, field, sub_dir):
|
|
516
|
+
# The same file(s), written in the other form: store the relative form.
|
|
517
|
+
result = _write_field(result, field, value)
|
|
518
|
+
outcomes.append(Outcome(field.id, field.label, UNCHANGED, value=value, confidence=confidence, source=prop.source, note="already in the .sub (path now stored relative to the .sub)", previous=previous))
|
|
519
|
+
continue
|
|
495
520
|
if previous and _normalize(value) == previous:
|
|
496
521
|
outcomes.append(Outcome(field.id, field.label, UNCHANGED, value=value, confidence=confidence, source=prop.source, note="already in the .sub", previous=previous))
|
|
497
522
|
continue
|
|
@@ -514,7 +539,11 @@ def autofill(
|
|
|
514
539
|
result, attest_outcomes = _confirm_attestations(result, venue)
|
|
515
540
|
outcomes.extend(attest_outcomes)
|
|
516
541
|
|
|
517
|
-
|
|
542
|
+
parsed = parse(result)
|
|
543
|
+
if sub_dir is not None:
|
|
544
|
+
# Relative paths in the .sub are relative to its folder, not the working directory.
|
|
545
|
+
parsed = resolve_paths(parsed, sub_dir)
|
|
546
|
+
issues = validate(parsed, venue, **FORM_CHECKS_ONLY)
|
|
518
547
|
logger.info("autofill %s: %d filled, %d to review, %d unchanged, %d kept, %d skipped, %d " "validation issue(s)", venue.slug, sum(1 for o in outcomes if o.action == FILLED), sum(1 for o in outcomes if o.action == REVIEW), sum(1 for o in outcomes if o.action == UNCHANGED), sum(1 for o in outcomes if o.action == KEPT), sum(1 for o in outcomes if o.action.startswith("skipped") or o.action == UNKNOWN), len(issues))
|
|
519
548
|
return AutofillResult(text=result, outcomes=outcomes, issues=issues)
|
|
520
549
|
|