-
Notifications
You must be signed in to change notification settings - Fork 7
add axion data #77
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
base: main
Are you sure you want to change the base?
add axion data #77
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 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -163,13 +163,26 @@ def register_source(site_name, license_type, display_name, url, keywords): | |||||||||||||||
| return False | ||||||||||||||||
|
|
||||||||||||||||
| known_source_urls.add(url) | ||||||||||||||||
| all_sources.append({ | ||||||||||||||||
| source_entry = { | ||||||||||||||||
| 'site_name': site_name, | ||||||||||||||||
| 'license_type': license_type, | ||||||||||||||||
| 'display_name': display_name, | ||||||||||||||||
| 'url': url, | ||||||||||||||||
| 'keywords': keywords if isinstance(keywords, str) else '; '.join(keywords) | ||||||||||||||||
| }) | ||||||||||||||||
| } | ||||||||||||||||
|
|
||||||||||||||||
| # Keep discovered sources grouped with their existing site section instead of | ||||||||||||||||
| # appending them to the very end of the CSV and fragmenting that block. | ||||||||||||||||
| insert_at = None | ||||||||||||||||
| for index, existing_source in enumerate(all_sources): | ||||||||||||||||
| if existing_source.get('site_name') == site_name: | ||||||||||||||||
| insert_at = index + 1 | ||||||||||||||||
|
Comment on lines
+177
to
+179
|
||||||||||||||||
| for index, existing_source in enumerate(all_sources): | |
| if existing_source.get('site_name') == site_name: | |
| insert_at = index + 1 | |
| for index in range(len(all_sources) - 1, -1, -1): | |
| if all_sources[index].get('site_name') == site_name: | |
| insert_at = index + 1 | |
| break |
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.
This change replaces an existing Graviton performance-runbook eval question with new Axion questions. Given the PR title (“add axion data”), confirm whether removing the Graviton evaluation coverage is intentional; if not, please re-add the Graviton question(s) so retrieval evaluation continues to exercise those sources too.