Skip to content

data(qualia): preserve original 219 musical anchors beside #1571 corpus - #1607

Merged
AdaWorldAPI merged 3 commits into
mainfrom
docs/qualia-219-musical-anchors-20261018
Oct 18, 2026
Merged

AdaWorldAPI merged 3 commits into
mainfrom
docs/qualia-219-musical-anchors-20261018

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Summary

Add the verbatim enriched 219-item musical-qualia corpus as data/qualia/calibrated_219.musical_anchors.json, adjacent to the current #1571 data. Preserve everything already shipped, including calibrated_219.json, calibrated_219.bin1024, palette semantics, ABI, and readers.

Added files only

  • data/qualia/calibrated_219.musical_anchors.json (219 original full records, verbatim, source AdaWorldAPI/ada-consciousness/qualia_17D/MERGED_17D.json, blob 2ebe6454618e1a590e928b53116cb65f4a96c264)
  • data/qualia/MUSICAL_ANCHORS.md (provenance, limitations and meaning)
  • data/qualia/verify_musical_anchors.py (read-only standard-library exact join/field checks)

Verification

Compared all 219 IDs to the #1571 fixture: ID sets, labels, family, subfamily, 17D coordinate values and felt tags are identical. The rich companion preserves melodic_motions, harmonic_bias, truth_anchor_candidates, and neighbors for all 219 entries.

To rerun: python3 data/qualia/verify_musical_anchors.py.

Important boundaries

This is archive/cold-path restoration, not a request to relabel production states or overwrite existing binary data. Song examples from the original core/music/qualia_codex.py are documented upstream; they are not silently assigned to individual records. neighbors may reference IDs outside this subset. The mechanically generated 806 'placeholder' states are excluded.

Related: #1571.

@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:35.995877Z 8d5345c 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.

@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: bf3928ad-1ade-404d-a949-86aebb0a4cf4
  • 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 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: 8d5345cb7e

ℹ️ 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".

Comment on lines +40 to +41
for field in ("melodic_motions", "harmonic_bias", "truth_anchor_candidates", "neighbors"):
assert isinstance(src[field], list), f"{ident}: missing {field}"

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 Verify the archived musical field contents

When any musical annotation is altered or emptied, this loop only confirms that the field remains a list, so the verifier still reports that the original annotations were retained. Because these four fields are the companion file's unique archival content, validate them against the pinned source blob digest or expected per-record values rather than only checking their types.

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 four musical fields are now compared against a pinned SHA-256 (MUSICAL_FIELDS_SHA256), so a value can no longer be changed silently as long as its type stays the same. A negative control covers this.


Generated by Claude Code

Comment on lines +16 to +19
assert calibrated.get("schema") == "ada.qualia.calibrated/1"
assert calibrated.get("count") == 219
assert len(calibrated["axes_17d"]) == 17
assert len(calibrated["entries"]) == len(original) == 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 verification active under optimized Python

When this documented command runs with PYTHONOPTIMIZE=1 or via python -O, Python removes every assert, allowing mismatched labels, vectors, tags, counts, and duplicate IDs to reach the unconditional success message. Use explicit conditional checks that raise an exception so environment-level optimization cannot silently disable the verifier.

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 that raise errors instead of assert. Under -O it rejects a corrupted copy, which the old version accepted. Negative controls run under -O in qualia-verify.yml.


Generated by Claude Code

@AdaWorldAPI
AdaWorldAPI merged commit ca4d742 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