Standardize all v1 template READMEs to the canonical structure#95
Draft
cafzal wants to merge 7 commits into
Draft
Standardize all v1 template READMEs to the canonical structure#95cafzal wants to merge 7 commits into
cafzal wants to merge 7 commits into
Conversation
- raiconfig.toml -> raiconfig.yaml across 7 READMEs (rai init now emits raiconfig.yaml; the .toml name was stale). - entity_resolution runbook: chain summary said the pipeline resolves 51 records into 30 parties, but STAGE 1 and the resolve step both report 31 auto-resolved (30 true people plus one review-band split); fix the summary to 31 to match.
ad_spend_allocation, bom-reachability, book_slate_recommendation, campaign_roi, cell_tower_coverage, cicd_runner_allocation. Bring each README to the sample-template structure: remove body H1; plain-sentence description with acronyms expanded; business-framed 'What this template is for' with one bold reasoning sentence; outcome- based 'What you'll build'; Access/Tools prerequisites; trimmed Quickstart expected-output; annotated structure tree + Start here; Sample data; Model overview (Key entities/identifiers/invariants + per-concept tables built from the script); H3 Customize subheads; Learn more + Support. No runtime numbers or runbooks/scripts changed.
commercial_underwriting, cybersecurity-attack-paths, datacenter_compute_allocation, defect_root_cause, demand_forecasting, demand_planning_temporal, diet, disease-outbreak-prevention, energy_grid_planning, entity_resolution, factory_production, financial_index_replication, fraud-detection, hospital_staffing, humanitarian-aid-supply-chain, it-dependency-mapping, memory_supply_allocation, money_laundering_motif_detection, network_flow_planning, patient_cohort_recruitment, planogram_optimization. Same canonical pass as batch 1 (remove body H1; plain description with acronyms expanded; business-framed intro + one bold reasoning sentence; outcome-based What you'll build; Access/Tools; trimmed Quickstart output; annotated tree + Start here; Sample data; Model overview from the script; H3 Customize; Learn more + Support). Compress reasoner apologetics into How it works. No runtime numbers, runbooks, or scripts changed.
pod_placement, portfolio_balancing, product_configurator, production_planning, retail_markdown, retail_planning, shift_assignment, shipment_compliance, smoker_status_prediction, sprint_scheduling, subscriber_retention, supplier_reliability, supply_chain_resilience, supply_chain_transport, telco_network_recovery, transaction_screening_local, traveling_salesman, underwriting_audit, warehouse_allocation, water_allocation, wildlife-conservation-network. Completes the canonical README pass across all 48 v1 templates. Same transforms as prior batches (H1 removal, plain description, business intro + one bold reasoning sentence, outcome What you'll build, Access/Tools, trimmed Quickstart output, Start here, Sample data, Model overview from the script, H3 Customize, Learn more + Support), plus: normalize British->American spelling (pod_placement), cut tag sprawl (portfolio_balancing), fix loop->single-solve wording (production_planning, verified from the script). No runtime numbers, runbooks, or scripts changed.
cell_tower_coverage and cicd_runner_allocation had </content></invoke> appended at EOF during the standardization write; remove them.
Post-standardization verification (re-running dev-templates-review + sample-template) surfaced residual gaps; fixed here: - Add missing Model-overview lead-in bullets (Key entities / Primary identifiers / Important invariants) and per-concept tables where a template had prose-only overviews (commercial_underwriting, defect_root_cause, retail_planning, subscriber_retention). - Add missing '### Scale up / productionize' Customize subhead; rename '### Tune the model' -> '### Tune parameters' (smoker_status_prediction). - Convert remaining bold-label Customize sections to H3 subheads (subscriber_retention). - Add missing 'Start here' pointer (demand_forecasting); reorder to Troubleshooting -> Learn more -> Support (patient_cohort_recruitment, traveling_salesman); Support last (demand_forecasting). - Add 'Identifying?' column to concept tables missing it (retail_planning, smoker_status_prediction, entity_resolution). - Tighten over-long / colon-list / jargon descriptions (energy_grid, book_slate, memory_supply_allocation, money_laundering, patient_cohort, traveling_salesman, underwriting_audit); expand acronyms. - Trim oversized Quickstart expected-output blocks (datacenter, supply_chain_resilience, fraud-detection, warehouse_allocation, water_allocation, underwriting_audit). - Remove reasoner apologetics from 'What this template is for' (water_allocation, wildlife); restructure flat 'What's included'. No runtime numbers, runbooks, or scripts changed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Brings all 48 customer-facing v1 template READMEs to the canonical
sample-templatestructure. This is the standardization follow-up to the runbook PR (#93) — that PR intentionally deferred the portfolio-wide README pass, and a/dev-templates-reviewsweep confirmed most of the portfolio predated the current standard.Every README now follows the same section order and rules as
sample-template/README.mdand the exemplartelco_network_recovery:What this template is for → Who this is for → What you'll build → What's included → Prerequisites (### Access / ### Tools) → Quickstart (ending in a small Expected-output snippet) → Template structure (annotated tree + **Start here**) → Sample data → Model overview → How it works → Customize this template → Troubleshooting → Learn more → SupportPer-README transforms
### Access/### Toolswith therelationalaiSDK pin.Property | Type | Identifying? | Notestable per concept, built by reading each template's script.### Use your own data/### Tune parameters/### Extend the model/### Scale up / productionize).Also fixed (customer-facing bugs surfaced by the review)
private.relational.aidownload URLs →docs.relational.ai(cell_tower_coverage, financial_index_replication).FAVORITA→FAVORITA_MINI(demand_forecasting).</content></invoke>/ tool-markup rendering as literal text (memory_supply_allocation, and two introduced-then-removed during this pass).raiconfig.toml→raiconfig.yamlacross 7 READMEs (rai initnow emitsraiconfig.yaml).Verification
/dev-templates-reviewverification pass: all 48 domain READMEs have the canonical first heading, section order (Troubleshooting → Learn more → Support), the four Customize H3s, Model-overview lead-in bullets, and a Start-here pointer; no stray markup.Out of scope (unchanged): the 5 utility / data-generation READMEs (rai-agent-scaffold, simple-start, synthetic_eligibility_records, synthetic_order_lifecycle, test_data_generation), and the ~12 README-vs-script numeric reconciliations that need per-script reruns (tracked separately).
Note on stacking
This branch is stacked on the small raiconfig/entity-resolution fix in #94, so this PR's diff currently includes that commit. Merge #94 first and it drops out, or merge this PR and close #94 as superseded.