Skip to content

docs(qualia): restore 219 music/harmony annotations alongside #1571 data - #1608

Merged
AdaWorldAPI merged 3 commits into
mainfrom
docs/qualia-1571-music-enrichment
Oct 18, 2026
Merged

AdaWorldAPI merged 3 commits into
mainfrom
docs/qualia-1571-music-enrichment

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Purpose

Restore the original musical enrichment of the 219 calibrated qualia as new sidecar data, without modifying any #1571 artifacts or production ABI.

Additions only

  • data/qualia/calibrated_219.music_enriched.json: 219/219 ID-keyed records with verbatim melodic_motions, harmonic_bias, truth_anchor_candidates and neighbors.
  • data/qualia/MUSIC_ENRICHMENT.md: provenance, archival/production boundary and limitations.
  • data/qualia/verify_music_enrichment.py: simple lab-only ID and completeness validator.

Evidence / preservation

Recovered from AdaWorldAPI/ada-consciousness/qualia_17D/MERGED_17D.json (blob 2ebe6454618e1a590e928b53116cb65f4a96c264), originally extracted from AdaWorldAPI/Chat/music/Interval_Qualia_and_Archetypes_694dbdbf.json.

Pre-publication comparison in source and #1571 data:

  • 219/219 IDs equal, no missing or extra IDs.
  • 219/219 vectors and qualia tags equal (vector ↔ vector_17d, qualia ↔ qualia_tags).
  • 219/219 identity metadata equal (label, family, subfamily).
  • All four musical fields populated for every original record.

Guardrails

  • No edits to calibrated_219.json, calibrated_219.bin1024, or Rust production contracts.
  • The companion is archival research data only, not production JSON interchange.
  • Existing neighboring IDs may reference the wider archive and are retained as-is; no synthetic reference resolution.
  • Songs in core/music/qualia_codex.py are codex-level example anchors and are not falsely grafted onto per-record data.

Related: #1571.

@coderabbitai

coderabbitai Bot commented Oct 18, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 51f13a7c-7ee2-447e-a23d-9c354033c7be
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T20:01:59.367482Z 78c9a9d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 78c9a9d525

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

enriched = json.loads((ROOT / "calibrated_219.music_enriched.json").read_text(encoding="utf-8"))
original = canonical["entries"]
extra = enriched["entries"]
assert canonical["count"] == enriched["count"] == len(original) == len(extra) == 219

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep validation active under optimized Python

When this script is invoked with python -O or inherits PYTHONOPTIMIZE, Python removes every assert on lines 11–21. The script can then accept an empty or mismatched sidecar and still print PASS, silently certifying corrupted archival data; use explicit conditional checks that raise exceptions instead.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #1618 (f95c72fe): the verifier now uses explicit checks instead of assert, and compares the sidecar's values with the archived annotations. It is tested under -O.


Generated by Claude Code

@AdaWorldAPI
AdaWorldAPI merged commit d8da13b into main Oct 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant