# jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026 architecture

> Architecture diagram of the GitHub repository jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026
- Repository: https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026

## Overview

This repository is a survival-analysis study of time to rearrest and COMPAS scores, presented as a report and a defense presentation. The documented analytical capabilities are Cox models, survival forests, race-stratified analysis, and subsample simulation; each is attributed to the report source, without inferring internal call order. The README documents the dataset and rendering relationships, but no source excerpts were provided to verify finer-grained data flow.

Main entry points: [`informe/informe-compas.Rmd`](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd) (Analysis report), [`presentacion/presentacion_compas.qmd`](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/presentacion/presentacion_compas.qmd) (Defense source), [`data/cox-parsed.csv`](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/data/cox-parsed.csv) (COMPAS data), [`informe/informe-compas.pdf`](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.pdf) (Report PDF)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Study data"]
  node_dataset["COMPAS data<br/>[cox-parsed.csv]"]
end

subgraph group_analysis["Survival analysis"]
  node_report["Analysis report<br/>[informe-compas.Rmd]"]
  node_cox["Cox models<br/>[informe-compas.Rmd]"]
  node_forests["Survival forests<br/>[informe-compas.Rmd]"]
  node_race["Race analysis<br/>[informe-compas.Rmd]"]
  node_simulation["Subsample simulation<br/>[informe-compas.Rmd]"]
end

subgraph group_outputs["Research outputs"]
  node_pdf["Report PDF<br/>[informe-compas.pdf]"]
  node_slides["Defense source"]
  node_html["Presentation HTML"]
end

node_analyst(("Analyst"))

node_dataset -->|"analyzes"| node_report
node_report -->|"renders to"| node_pdf
node_slides -->|"renders to"| node_html
node_analyst -->|"knits"| node_report
node_analyst -->|"renders"| node_slides

click node_dataset "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/data/cox-parsed.csv"
click node_report "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd"
click node_cox "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd"
click node_forests "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd"
click node_race "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd"
click node_simulation "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd"
click node_pdf "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.pdf"
click node_slides "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/presentacion/presentacion_compas.qmd"
click node_html "https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/presentacion/presentacion_compas.html"

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_dataset toneBlue
class node_report,node_cox,node_forests,node_race,node_simulation toneAmber
class node_pdf,node_slides,node_html toneMint
class node_analyst toneIndigo
```

## Components

### Study data

- [COMPAS data](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/data/cox-parsed.csv): `data/cox-parsed.csv`

### Survival analysis

- [Analysis report](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd): `informe/informe-compas.Rmd`
- [Cox models](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd): `informe/informe-compas.Rmd`
- [Survival forests](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd): `informe/informe-compas.Rmd`
- [Race analysis](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd): `informe/informe-compas.Rmd`
- [Subsample simulation](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.Rmd): `informe/informe-compas.Rmd`

### Research outputs

- [Report PDF](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/informe/informe-compas.pdf): `informe/informe-compas.pdf`
- [Defense source](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/presentacion/presentacion_compas.qmd): `presentacion/presentacion_compas.qmd`
- [Presentation HTML](https://github.com/jimenapadin/reincidenciapenitenciaria-analisissupervivencia-2026/blob/main/presentacion/presentacion_compas.html): `presentacion/presentacion_compas.html`

### Other components

- **Analyst**

## Connections

- COMPAS data → Analysis report: analyzes (evidence: `README.md`)
- Analysis report → Report PDF: renders to (evidence: `README.md`)
- Defense source → Presentation HTML: renders to (evidence: `README.md`)
- Analyst → Analysis report: knits (evidence: `README.md`)
- Analyst → Defense source: renders (evidence: `README.md`)
