-
Notifications
You must be signed in to change notification settings - Fork 0
Document default data locations in Getting Started #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -75,6 +75,16 @@ This interactive demo shows: | |||||
|
|
||||||
| **Try this:** When prompted, ask it to generate code for "process NumPy array to JSON" - it will automatically apply the right patterns. | ||||||
|
|
||||||
| ## Data Locations | ||||||
|
|
||||||
| By default, feedback-loop stores learning artifacts in these locations: | ||||||
|
|
||||||
| - **Metrics** (test runs): `data/metrics_data.json` | ||||||
| - **Patterns** (learned library): `data/patterns.json` | ||||||
| - **Optional markdown sync** (pattern guide): `docs/AI_PATTERNS_GUIDE.md` | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This line says the default markdown sync target is Useful? React with 👍 / 👎.
|
||||||
| - **Optional markdown sync** (pattern guide): `docs/AI_PATTERNS_GUIDE.md` | |
| - **Optional markdown sync** (pattern guide): `docs/AI_PATTERNS_GUIDE.md` (default code path; the file currently lives at `documentation/AI_PATTERNS_GUIDE.md`, so either adjust the path via CLI flags or create a symlink) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The phrase 'keep these files together' is a bit ambiguous. To improve clarity for the user, I suggest rephrasing it to be more specific about the location.
| If you change paths via CLI flags, keep these files together so the metrics and pattern sync stay aligned. | |
| If you change paths via CLI flags, it is recommended to keep these files in the same directory so the metrics and pattern sync stay aligned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default paths
data/metrics_data.jsonanddata/patterns.jsonappear to be inconsistent with the defaults defined in some core components. For instance,metrics.pattern_manager.PatternManagerdefaults topatterns.jsonandmetrics.sync_client.LocalSyncClientdefaults tometrics_data.json, both without thedata/prefix. This discrepancy could cause files to be created in the project root instead of thedata/directory, leading to user confusion. To ensure consistency, it would be best to either align the documentation with the actual behavior or update the code to match these documented paths.