research

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL