# AI use cases for Finathink (ceyyy427/finathink)

Repo: [ceyyy427/finathink](https://github.com/ceyyy427/finathink) | Use cases: 3 | Page: https://dedupedai.com/use-cases/ceyyy427-finathink/

Finathink is a local-first Python workbench that turns user data, evidence, factors, backtests, risk checks and paper portfolios into a traceable research record with offline HTML reports.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Run the offline research sample and open its workbench: https://dedupedai.com/use-cases/ceyyy427-finathink/run-offline-research-sample-and-open-report/
- Normalize your own data API into point-in-time batches: https://dedupedai.com/use-cases/ceyyy427-finathink/connect-own-data-api-with-point-in-time-checks/
- Trace why a paper decision card cannot be executed: https://dedupedai.com/use-cases/ceyyy427-finathink/audit-why-paper-decision-card-is-blocked/

## How to run the offline research sample and open its workbench with Finathink

Repo: [ceyyy427/finathink](https://github.com/ceyyy427/finathink) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Start the local app on bundled fixtures and inspect the staged research workbench without any external services.

**Who it is for:** A new user or developer who wants to see how a full research run is recorded before using their own data.

**The problem:** Research tools often hide how a result was produced, so it is hard to trust or reproduce a backtest or a decision.

**The outcome:** A running local app serving the /workbench page, showing staged analyst, research, quant, risk and paper decision records from the sample fixtures.

### Steps

1. Run `python3 -m venv .venv`
2. Run `source .venv/bin/activate`
3. Run `python3 -m pip install -e '.[dev]'`
4. Run `PYTHONPATH=src python3 -m pytest -q` to confirm the test suite passes
5. Run `python3 scripts/run_local_app.py --sample --port 8765`
6. Open the /workbench page on port 8765 and review the stages, checkpoints and manifest fingerprints

### Prompt to paste into your agent

```text
In the finathink repo, set up the environment as described in its Quick Start, then run the local app with --sample on port 8765. Report the /workbench stage list, each stage status, and the manifest fingerprint shown. Verify that the sample run reports the stages from the research flow without requiring any external credentials.
```

### Caveat

The README marks the offline modules as OFFLINE_PASS, but real vendors, models, browsers and production deployment are EXTERNAL_UNVERIFIED and not covered by this sample.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/ceyyy427-finathink/run-offline-research-sample-and-open-report/

## How to normalize your own data API into point-in-time batches with Finathink

Repo: [ceyyy427/finathink](https://github.com/ceyyy427/finathink) | Difficulty: Advanced | Time: 60 minutes | Basis: From the README

Save a data connection, map its fields, run a trial pull and check PIT status and fingerprints before research uses it.

**Who it is for:** A researcher with an existing market data API who wants its data checked for point-in-time correctness before running any analysis.

**The problem:** Data pulled from APIs can leak future information or silently change fields, which invalidates backtests.

**The outcome:** A normalized DataBatch with recorded data fingerprint, field quality, source notes and point-in-time status, with credential values kept out of research records.

### Steps

1. Read docs/USER_DATA_API_GUIDE.md to see the connection contract and field mapping format
2. Save your data API connection config and field mapping in the app's provider settings
3. Store the credential as an environment variable or system keychain reference, not as a value in the config
4. Run an explicit trial connection to pull JSON data and standardize it into a DataBatch
5. Review the recorded fingerprint, field quality and PIT status before using the batch in any research run

### Prompt to paste into your agent

```text
In the finathink repo, follow docs/USER_DATA_API_GUIDE.md to map the fields of <data API name> and run one explicit trial connection. Report the DataBatch fingerprint, field quality summary and PIT status. Verify that no credential value appears in any saved research record or log.
```

### Caveat

The README states that real vendors are EXTERNAL_UNVERIFIED and the repo has no real credentials, so the connection step only works with an API you supply and configure yourself.

Risk, credentials: Your data vendor key must stay in an environment variable or system keychain reference; never paste it into a config file, prompt or research record.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/ceyyy427-finathink/connect-own-data-api-with-point-in-time-checks/

## How to trace why a paper decision card cannot be executed with Finathink

Repo: [ceyyy427/finathink](https://github.com/ceyyy427/finathink) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Follow the risk, portfolio and quant gates to see which stage kept a paper decision card in a non-executable state.

**Who it is for:** A strategy reviewer or AI agent that has received a paper decision card and must explain whether it is actionable.

**The problem:** A paper decision can look ready even when an upstream risk or quant stage did not pass, and the reason is hard to find.

**The outcome:** A written audit that names each failed or passed stage (PIT, liquidity, concentration, drawdown, stress, quant) and states the decision card status.

### Steps

1. Run the offline sample steps from the Quick Start to produce a complete run
2. Open the HTML report for the run and locate the risk, paper decision and quant sections
3. For each risk check (PIT, liquidity, concentration, drawdown, stress scenarios), record pass or fail
4. Confirm the paper decision card is marked non-executable whenever risk, portfolio or quant stages did not pass
5. Write the audit with stage names, status and evidence references

### Prompt to paste into your agent

```text
In the finathink repo, open the HTML report from a local sample run and list each risk, portfolio and quant stage with its status and evidence reference. Report whether the paper decision card is executable. Verify that the card is non-executable if any upstream stage failed, and state that the repo does not place broker orders.
```

### Caveat

Broker orders, live trading and arbitrary execution are NOT_IN_SCOPE in this repo, so the paper decision card is a research output only.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/ceyyy427-finathink/audit-why-paper-decision-card-is-blocked/
