Skip to content

feat(scoring): score pdf-to-wiki conversion with jev - #20

Closed
vishwajeet-13 wants to merge 11 commits into
bwhtech:mainfrom
vishwajeet-13:feat/jev-conversion-score
Closed

vishwajeet-13 wants to merge 11 commits into
bwhtech:mainfrom
vishwajeet-13:feat/jev-conversion-score

Conversation

@vishwajeet-13

@vishwajeet-13 vishwajeet-13 commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Scores how well each PDF converted to wiki using TypeSafe's Jev (via the existing OpenRouter key): per-page score + overall score on the import, with a Re-score with Jev button.

Opt-in via Settings → Scoring → Jev score (off by default). When on, Jev runs after parse and its score replaces the audit score in the UI. When off, no Jev calls are made and the audit score shows as before.

Screenshots

Setting
jev-setting.png

Pages, Jev on
jev-on-pages.png

Pages, Jev off (audit)
jev-off-pages.png

Logs, Jev on
jev-logs.png

🤖 Generated with Claude Code

vishwajeet-13 and others added 8 commits September 22, 2026 02:33
Splits into two PRs: hiding Explore/generate-only Wiki tabs and folding
publish into a renamed Tree->Wiki tab, then locking Regenerate after
first publish and linking each page to its real editor in the Wiki app
instead of round-tripping edits through Wikify.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Explore and the standalone generate-only Wiki tab are hidden (their
components stay on disk, unreferenced). Tree is renamed to Wiki and
now also carries the publish action, via a new compact WikiPublish
control extracted from the old WikiGenerate.vue.
Remove the docs/superpowers spec + plan markdown files added while
drafting this change - not meant to ship in the PR. Also reformats
the Route FormControl in WikiPublish.vue to satisfy prettier (CI was
failing the Frappe Linter job on line length).
Per review feedback - shrink the multi-line note explaining the
tab list down to a single line.
- Legacy /import/:name/wiki links resolve to the consolidated "tree"
  (Wiki) panel instead of falling back to PDF.
- WikiPublish's Publish/Regenerate button is always subtle, so
  "Approve & Build Graph" stays the toolbar's one solid action.
add_wiki_title_customizations() decided whether to (re)create the
title-widening Property Setter by reading frappe.get_meta(), a
process-level cache that isn't transaction-aware. In CI's full test
run this let an earlier test's rolled-back Property Setter still
read as present via the stale cache, so a later test's call skipped
recreating it - leaving 0 rows where 1 was expected
(test_running_again_keeps_one_property_setter). Check the Property
Setter's own existence in the DB instead, which is what the function
is actually trying to guarantee.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@vishwajeet-13
vishwajeet-13 marked this pull request as draft September 28, 2026 20:21
vishwajeet-13 and others added 2 commits September 29, 2026 02:12
… invented

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vishwajeet-13
vishwajeet-13 marked this pull request as ready for review September 29, 2026 07:58

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@Rl0007

Rl0007 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@NagariaHussain closing this for now.

@Rl0007 Rl0007 closed this Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants