# dadicharan/log-analyzer architecture

> Architecture diagram of the GitHub repository dadicharan/log-analyzer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dadicharan/log-analyzer
- Repository: https://github.com/dadicharan/log-analyzer

## Overview

The checked-in app implements ResumeIQ Pro, a Streamlit resume-to-job-description analyzer; this differs from the log-analyzer product described in the README. Its workflow accepts resumes and a job description, extracts and scores resume content, optionally requests AI feedback, then presents candidate rankings and visual summaries. The sampled source is a single file, so its responsibilities are shown as separate components sharing that path. README capabilities unsupported by the source are not mapped.

Main entry points: [`app1.py`](https://github.com/dadicharan/log-analyzer/blob/main/app1.py) (Streamlit App)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["User Interface"]
  node_app["Streamlit App<br/>[app1.py]"]
  node_resume_intake["Resume Upload<br/>[app1.py]"]
end

subgraph group_analysis["Resume Analysis"]
  node_jd_prep["Job Description Prep<br/>[app1.py]"]
  node_text_extract["Text Extraction<br/>[app1.py]"]
  node_keyword_analysis["Keyword Analysis<br/>[app1.py]"]
  node_section_analysis["Section Analysis<br/>[app1.py]"]
  node_similarity["Match Scoring<br/>[app1.py]"]
  node_ai_feedback["AI Feedback<br/>[app1.py]"]
end

subgraph group_insights["Results and Insights"]
  node_candidate_report["Resume Metrics<br/>[app1.py]"]
  node_ranking["Candidate Ranking<br/>[app1.py]"]
  node_skill_gap["Skill Gap Chart<br/>[app1.py]"]
  node_wordcloud["Keyword Cloud<br/>[app1.py]"]
end

node_user(("Recruiter"))
node_embedding_model{{"Sentence Transformer"}}
node_ollama{{"Ollama LLM"}}

node_user -->|"uses"| node_app
node_user -->|"uploads resumes"| node_resume_intake
node_app -->|"prepares keywords"| node_jd_prep
node_app -->|"extracts text"| node_text_extract
node_app -->|"checks keywords"| node_keyword_analysis
node_app -->|"checks sections"| node_section_analysis
node_app -->|"calculates match"| node_similarity
node_similarity -->|"encodes text"| node_embedding_model
node_app -->|"requests suggestions"| node_ai_feedback
node_ai_feedback -->|"sends prompt"| node_ollama
node_app -->|"displays metrics"| node_candidate_report
node_app -->|"ranks results"| node_ranking
node_app -->|"plots missing skills"| node_skill_gap
node_app -->|"renders keywords"| node_wordcloud

click node_app "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_resume_intake "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_jd_prep "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_text_extract "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_keyword_analysis "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_section_analysis "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_similarity "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_ai_feedback "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_candidate_report "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_ranking "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_skill_gap "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"
click node_wordcloud "https://github.com/dadicharan/log-analyzer/blob/main/app1.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_resume_intake toneBlue
class node_jd_prep,node_text_extract,node_keyword_analysis,node_section_analysis,node_similarity,node_ai_feedback toneAmber
class node_candidate_report,node_ranking,node_skill_gap,node_wordcloud toneMint
class node_user,node_embedding_model,node_ollama toneIndigo
```

## Components

### User Interface

- [Streamlit App](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [Resume Upload](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`

### Resume Analysis

- [Job Description Prep](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [Text Extraction](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [Keyword Analysis](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [Section Analysis](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [Match Scoring](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [AI Feedback](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`

### Results and Insights

- [Resume Metrics](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [Candidate Ranking](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [Skill Gap Chart](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`
- [Keyword Cloud](https://github.com/dadicharan/log-analyzer/blob/main/app1.py): `app1.py`

### Other components

- **Recruiter**
- **Sentence Transformer**
- **Ollama LLM**

## Connections

- Recruiter → Streamlit App: uses (evidence: `app1.py`)
- Recruiter → Resume Upload: uploads resumes (evidence: `app1.py`)
- Streamlit App → Job Description Prep: prepares keywords (evidence: `app1.py`)
- Streamlit App → Text Extraction: extracts text (evidence: `app1.py`)
- Streamlit App → Keyword Analysis: checks keywords (evidence: `app1.py`)
- Streamlit App → Section Analysis: checks sections (evidence: `app1.py`)
- Streamlit App → Match Scoring: calculates match (evidence: `app1.py`)
- Match Scoring → Sentence Transformer: encodes text (evidence: `app1.py`)
- Streamlit App → AI Feedback: requests suggestions (evidence: `app1.py`)
- AI Feedback → Ollama LLM: sends prompt (evidence: `app1.py`)
- Streamlit App → Resume Metrics: displays metrics (evidence: `app1.py`)
- Streamlit App → Candidate Ranking: ranks results (evidence: `app1.py`)
- Streamlit App → Skill Gap Chart: plots missing skills (evidence: `app1.py`)
- Streamlit App → Keyword Cloud: renders keywords (evidence: `app1.py`)
