Skip to content
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

feature(wren-ai-service): add mdl view in sample dataset for validation #187

Merged
merged 2 commits into from
May 2, 2024

Conversation

paopa
Copy link
Member

@paopa paopa commented May 2, 2024

This PR is designed to add views to the sample datasets (music, NBA) and includes running the following query to validate that the MDL view integration functions as expected.

  • E-commerce

    • What is the average number of items purchased in each state?
      image

    • Which state has the highest total number of items purchased?
      image

    • Can you list the total items purchased by customers state-wise?
      image

    • How does the item purchase volume vary from state to state?
      image

    • Which states have purchased fewer than 100 items in total?
      image

    • What are the top three states in terms of total items purchased?
      image

    • How many items were purchased in total by customers in California?
      image

    • Compare the number of items purchased between Texas and New York.
      image

    • What is the lowest number of items purchased in any state?
      image

    • How many states have more than 1,000 total items purchased?
      image

  • Music

    • Which artist has the most tracks in the database?
      image

    • What is the average number of tracks per artist?
      image

    • How many artists have more than 50 tracks in the database?
      image

    • Which artists have only one album in the database but more than ten tracks?
      image

    • What is the total number of tracks in the database?
      image

    • What percentage of the total tracks does each artist contribute?
      image

    • Who are the top five artists by the number of tracks released?
      image

    • Which artist has tracks in the most number of albums?
      image

  • NBA

    • What is the average score per game for each of the top five scoring players?
      image

    • What are the individual highest scoring games by a player for each team?
      image

    • How many of the top five scoring games resulted in a win for the player's team?
      image

    • Who are the top five players in terms of rebounds in a single game this season, and which teams were they playing against?
      image

    • Which players have achieved the highest assists in a single game this season, and who were their opponents?
      image

    • Who are the top five players in terms of three-point shots made in a single game this season, and what were the opposing teams?
      image

    • Who had the most blocks in a single game this season, and against which teams did they play?
      image

    • Which players have the most steals in a single game this season, and what teams were they facing?
      image

    • Identify the top five performances in terms of free throws made in a single game this season, and the opponents in those games.
      image

    • Which players have had the highest turnover games this season, and who were the opposing teams?
      image

@paopa paopa added the module/ai-service ai-service related label May 2, 2024
@paopa paopa requested a review from cyyeh May 2, 2024 11:14
Copy link
Member

@cyyeh cyyeh left a comment

Choose a reason for hiding this comment

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

LGTM

@cyyeh cyyeh merged commit e143e97 into main May 2, 2024
4 checks passed
@cyyeh cyyeh deleted the feature/more-cases-mdl-view branch May 2, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/ai-service ai-service related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants