Documentation
¶
Index ¶
- func LeakageAuditMarkdown(rows []LeakageAuditRow) string
- func ParsedTextDocument(paperID, title, text string, chunkSize int) parsing.ParsedDocument
- func ScreeningMarkdown(queue []ScreeningRecord, limit int) string
- func WriteScreeningCSV(w io.Writer, queue []ScreeningRecord) error
- type LeakageAuditRow
- type ScreeningRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LeakageAuditMarkdown ¶
func LeakageAuditMarkdown(rows []LeakageAuditRow) string
LeakageAuditMarkdown renders a paper-level leakage/evidence table and snippets.
func ParsedTextDocument ¶
func ParsedTextDocument(paperID, title, text string, chunkSize int) parsing.ParsedDocument
ParsedTextDocument converts extracted paper text into RForge parsed-document JSON.
func ScreeningMarkdown ¶
func ScreeningMarkdown(queue []ScreeningRecord, limit int) string
ScreeningMarkdown renders a deterministic top-N review queue.
func WriteScreeningCSV ¶
func WriteScreeningCSV(w io.Writer, queue []ScreeningRecord) error
WriteScreeningCSV writes queue rows in a review-friendly tabular form.
Types ¶
type LeakageAuditRow ¶
type LeakageAuditRow struct {
PaperID string `json:"paperId"`
Title string `json:"title"`
Passages int `json:"passages"`
ValidationEvidence []string `json:"validationEvidence"`
FeatureEvidence []string `json:"featureEvidence"`
HorizonDataEvidence []string `json:"horizonDataEvidence"`
LeakageRiskEvidence []string `json:"leakageRiskEvidence"`
LeakageFlags map[string]bool `json:"leakageFlags"`
TriageRisk string `json:"triageRisk"`
RecommendedUse string `json:"recommendedUse"`
}
LeakageAuditRow captures keyword evidence for one parsed paper.
func BuildLeakageAudit ¶
func BuildLeakageAudit(parsedDir string) ([]LeakageAuditRow, error)
BuildLeakageAudit extracts conservative keyword evidence from parsed documents.
func BuildLeakageAuditFromTextDir ¶ added in v0.1.9
func BuildLeakageAuditFromTextDir(textDir string, chunkSize int) ([]LeakageAuditRow, error)
BuildLeakageAuditFromTextDir extracts conservative keyword evidence from plain text files.
type ScreeningRecord ¶
type ScreeningRecord struct {
Score int `json:"score"`
Decision string `json:"decision"`
MatchedGroups []string `json:"matchedGroups"`
NegativeTerms []string `json:"negativeTerms"`
Title string `json:"title"`
Year int `json:"year,omitempty"`
DOI string `json:"doi,omitempty"`
ArXivID string `json:"arxivId,omitempty"`
OpenAlexID string `json:"openAlexId,omitempty"`
SemanticScholarID string `json:"semanticScholarId,omitempty"`
OpenAccess bool `json:"openAccess,omitempty"`
Sources []string `json:"sources"`
}
ScreeningRecord is one deterministic first-pass relevance decision.
func BuildScreeningQueue ¶
func BuildScreeningQueue(libraryPath, searchResultsDir string) ([]ScreeningRecord, error)
BuildScreeningQueue scores library/search-result records for first-pass review.