# fchollet/arc architecture

> Architecture diagram of the GitHub repository fchollet/arc, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fchollet/arc
- Repository: https://github.com/fchollet/arc

## Overview

##### Project type and purpose
- This is a simple, static single‐page web application (SPA) that provides a “testing interface” in HTML/CSS/JavaScript.
- It appears to load two sets of JSON artifacts—“training” data and “evaluation” data—from the data folder for inspection or annotation in the browser.
- There is no backend code (no server-side framework), only static files.

##### File structure
- Top‐level files:
- LICENSE
- README.md (empty)
- apps/ – contains the UI assets
- apps/testing_interface.html – the SPA entry point
- apps/css/*.css – styling for the interface
- apps/js/*.js – client‐side logic (common.js, testing_interface.js)
- apps/img/ – any images the UI needs
- data/ – JSON payloads
- data/training/*.json – large set of training data items
- data/evaluation/*.json – large set of evaluation data items
- No build scripts or server config: purely static.

##### README
- README.md is empty. No additional architecture guidance.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser["Client: Testing Interface"]:::ui
    Browser -->|"GET HTML, CSS, JS, IMG"| HTML
    Browser -->|"GET JSON Data"| TRAIN
    Browser -->|"GET JSON Data"| EVAL

    subgraph "Static Hosting Layer"
        APPS["apps/"]:::host
        HTML["testing_interface.html"]:::ui
        CSS1["common.css"]:::ui
        CSS2["testing_interface.css"]:::ui
        JS1["common.js"]:::ui
        JS2["testing_interface.js"]:::ui
        IMG["apps/img/"]:::ui
        LICENSE["LICENSE"]:::host
        README["README.md"]:::host
    end

    subgraph "File System"
        TRAIN["data/training/"]:::data
        EVAL["data/evaluation/"]:::data
    end

    APPS --> HTML
    APPS --> CSS1
    APPS --> CSS2
    APPS --> JS1
    APPS --> JS2
    APPS --> IMG
    APPS --> TRAIN
    APPS --> EVAL

    classDef ui fill:#D0E8FF,stroke:#0366d6,color:#0366d6;
    classDef data fill:#E6FFEB,stroke:#28a745,color:#22863a;
    classDef host fill:#F0F0F0,stroke:#6a737d,color:#6a737d;

    click HTML "https://github.com/fchollet/arc/blob/master/apps/testing_interface.html"
    click CSS1 "https://github.com/fchollet/arc/blob/master/apps/css/common.css"
    click CSS2 "https://github.com/fchollet/arc/blob/master/apps/css/testing_interface.css"
    click JS1 "https://github.com/fchollet/arc/blob/master/apps/js/common.js"
    click JS2 "https://github.com/fchollet/arc/blob/master/apps/js/testing_interface.js"
    click IMG "https://github.com/fchollet/arc/tree/master/apps/img/"
    click TRAIN "https://github.com/fchollet/arc/tree/master/data/training/"
    click EVAL "https://github.com/fchollet/arc/tree/master/data/evaluation/"
```
