Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer uses an LLM provider to extract a developer persona from crawled data.
type Persona ¶
type Persona struct {
Username string
CodeStyle string
ReviewStyle string
Communication string
DeveloperIdentity string
Synthesis *SynthesisResult
}
Persona holds all analysis results for a developer.
type SynthesisResult ¶
type SynthesisResult struct {
CodingPhilosophy string `json:"coding_philosophy"`
CodeStyleRules string `json:"code_style_rules"`
ReviewPriorities string `json:"review_priorities"`
ReviewDecisionStyle string `json:"review_decision_style"`
ReviewNonBlockingNits string `json:"review_non_blocking_nits"`
ReviewContext string `json:"review_context_sensitivity"`
ReviewVoice string `json:"review_voice"`
CommunicationPatterns string `json:"communication_patterns"`
TestingPhilosophy string `json:"testing_philosophy"`
DistinctiveTraits string `json:"distinctive_traits"`
DeveloperInterests string `json:"developer_interests"`
ActivityPatterns string `json:"activity_patterns"`
ProjectPatterns string `json:"project_patterns"`
CollaborationStyle string `json:"collaboration_style"`
CodeExamples string `json:"code_examples"`
}
SynthesisResult holds the structured fields produced by the LLM synthesis step.
func ParseSynthesis ¶
func ParseSynthesis(raw string) (*SynthesisResult, error)
ParseSynthesis extracts a SynthesisResult from the LLM response. It handles both raw JSON and JSON wrapped in markdown code fences.
Click to show internal directories.
Click to hide internal directories.