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

Added option to export explanation csv for all files #228

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

tushar-badlani
Copy link

@tushar-badlani tushar-badlani commented Oct 4, 2024

Added a should_export_csv flag in evaluation_schema, if this value is set to true, explanation_table is exported to csv and stored in Evaluations directory

Sample csv -
{2CB72FA1-077F-49E8-81A6-AF1B114243C3}

@@ -5,6 +5,7 @@

import pandas as pd
from rich.table import Table
from rich_tools import table_to_df
Copy link
Owner

Choose a reason for hiding this comment

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

awesome find!

Copy link
Owner

Choose a reason for hiding this comment

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

Oh actually I read it as rich.tools, is this a new package getting installed?
Need to update requirements.txt in that case

Copy link
Author

Choose a reason for hiding this comment

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

yeah it is a new package, will update requirements.txt

Copy link
Owner

Choose a reason for hiding this comment

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

I was thinking if it should be abstracted inside evaluation only, entry.py doesn't need to know underlying tools getting used. Directly a way to access the df from evaluation_config_for_response

@tushar-badlani
Copy link
Author

done

src/utils/file.py Outdated Show resolved Hide resolved
Copy link
Owner

@Udayraj123 Udayraj123 left a comment

Choose a reason for hiding this comment

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

lgtm, minor comment can be taken up later

@Udayraj123 Udayraj123 merged commit 001a7be into Udayraj123:dev Oct 8, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants