Spaces:
Sleeping
Download docs/domain/glossary.md from DecodeMarketing/decode_tools: direct link, hf CLI and curl.
- Browser
- Download file 3.43 kB
-
https://huggingface.co/spaces/DecodeMarketing/decode_tools/resolve/main/docs/domain/glossary.md
- Command line
-
hf download hf://spaces/DecodeMarketing/decode_tools/docs/domain/glossary.md
-
curl -L -o glossary.md https://huggingface.co/spaces/DecodeMarketing/decode_tools/resolve/main/docs/domain/glossary.md
A newer version of the Streamlit SDK is available: 1.67.0
Domain glossary
Repo-specific language for icat_app. Defines the terms, the aliases to avoid,
and the key relationships an agent needs before touching this codebase.
Satisfies checklist item C12 (domain-language artifacts versioned in-repo).
If a monorepo with multiple domains ever emerges, add a CONTEXT-MAP.md; today
icat_app is a single-domain app, so this one glossary is sufficient.
What this app is
icat_app is a Streamlit web application bundling 8 brand-asset tools used by
DECODE. It runs on Hugging Face Spaces (Python 3.12, Streamlit 1.32.2) and
deploys automatically on push to main.
It is not the IcAt PPTX report generator β that is a separate codebase. The shared "IcAt" prefix refers to the same DECODE product family (Iconic Asset Test), but this repo only handles asset preparation, not report charting.
Core terms
| Term | Meaning |
|---|---|
| IcAt | Iconic Asset Test β DECODE's product family for testing brand assets. Here it names the toolbox, not a single test. |
| Tool / Tab | One self-contained feature. One tool = one tab = one file (tab1.pyβtab8.py). |
| Asset | A brand image/graphic processed by the tools (logo, pack shot, key visual). |
| Stim (stimulus) | An asset prepared for use in a study/survey. "Name Stims by Block" labels stims by their study block. |
| Block | A grouping unit in a study; stims are named/numbered per block, with a sub-block letter. |
| Canvas | The fixed-size backing area an asset is placed on. "Place on Canvas" centers/fits an asset; "Canvas White to Transparent" removes a white background. |
| Re-run Matrix | The tool that regenerates the asset comparison matrix. |
| HF Space | The Hugging Face Space DecodeMarketing/decode_tools where the app is hosted and which redeploys on push to main. |
The 8 tools (canonical order = tab order)
- Extract Images from Excel β pull embedded images out of an Excel file.
- Name Assets by Brand β rename asset files by brand.
- Canvas White to Transparent β make a white background transparent.
- Asset Overview (PDF) β produce a PDF contact-sheet of assets.
- Name Stims by Block β name stims by study block + sub-block letter.
- Re-run Matrix β regenerate the asset matrix.
- Resize β resize assets to target dimensions.
- Place on Canvas β center/fit an asset onto a fixed canvas.
Aliases to avoid
- Do not call a tab a "page" β Streamlit "pages" are a different multi-page construct this app does not use. Use tool or tab.
- Do not call
helper.pya "library" or "package" β it is a single shared utility module (~1.3k lines) imported by the tabs. - Do not conflate Stim with Asset: every stim is an asset, but an asset only becomes a stim once it is prepared/named for a study.
- "Deploy" here always means the HF Space redeploy triggered by push to
mainβ there is no separate release step.
Key relationships
app.py ββimportsββ> tab1.py β¦ tab8.py ββimportββ> helper.py
β
βββ push to main ββ> Hugging Face Space "DecodeMarketing/decode_tools" (auto-deploy)
See ../architecture/repository-erd.md for the
full topology and ../architecture/active-surface.md
for which helpers each tab consumes.