Skip to content

Commit

Permalink
Add farsight, update autoprofiler bib entry
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Wang <[email protected]>
  • Loading branch information
xiaohk committed Mar 9, 2024
1 parent e6ea7c3 commit 766360a
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 33 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ metadata/*.bib
metadata/thumbnails
metadata/resources
metadata/github-issues
metadata/stat*
metadata/stat*
notebooks
41 changes: 17 additions & 24 deletions metadata/parse-table.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'requests_ip_rotator'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m/Users/jaywang/Documents/Programs/phd/23-supernova/metadata/parse-table.ipynb Cell 1\u001b[0m line \u001b[0;36m1\n\u001b[1;32m <a href='vscode-notebook-cell:/Users/jaywang/Documents/Programs/phd/23-supernova/metadata/parse-table.ipynb#W0sZmlsZQ%3D%3D?line=10'>11</a>\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mPIL\u001b[39;00m \u001b[39mimport\u001b[39;00m Image\n\u001b[1;32m <a href='vscode-notebook-cell:/Users/jaywang/Documents/Programs/phd/23-supernova/metadata/parse-table.ipynb#W0sZmlsZQ%3D%3D?line=11'>12</a>\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mtime\u001b[39;00m \u001b[39mimport\u001b[39;00m sleep\n\u001b[0;32m---> <a href='vscode-notebook-cell:/Users/jaywang/Documents/Programs/phd/23-supernova/metadata/parse-table.ipynb#W0sZmlsZQ%3D%3D?line=12'>13</a>\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mrequests_ip_rotator\u001b[39;00m \u001b[39mimport\u001b[39;00m ApiGateway, EXTRA_REGIONS, ALL_REGIONS\n\u001b[1;32m <a href='vscode-notebook-cell:/Users/jaywang/Documents/Programs/phd/23-supernova/metadata/parse-table.ipynb#W0sZmlsZQ%3D%3D?line=13'>14</a>\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mtqdm\u001b[39;00m \u001b[39mimport\u001b[39;00m tqdm\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'requests_ip_rotator'"
]
}
],
"outputs": [],
"source": [
"import numpy as np\n",
"import re\n",
Expand All @@ -30,7 +18,7 @@
"from shutil import copyfileobj, copyfile\n",
"from PIL import Image\n",
"from time import sleep\n",
"from requests_ip_rotator import ApiGateway, EXTRA_REGIONS, ALL_REGIONS\n",
"# from requests_ip_rotator import ApiGateway, EXTRA_REGIONS, ALL_REGIONS\n",
"from tqdm import tqdm"
]
},
Expand Down Expand Up @@ -329,16 +317,16 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"225"
"234"
]
},
"execution_count": 5,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -654,19 +642,24 @@
"name": "stdout",
"output_type": "stream",
"text": [
"161\n"
"163\n"
]
}
],
"source": [
"entries = yaml.safe_load(open('./resources/supernova.yaml', 'r'))\n",
"# Local generated yaml\n",
"# entries = yaml.safe_load(open('./resources/supernova.yaml', 'r'))\n",
"\n",
"# Latest yaml\n",
"entries = yaml.safe_load(open('../src/data/supernova.yaml', 'r'))\n",
"\n",
"print(len(entries))\n",
"entries.sort(key=lambda x: x['name'])"
]
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -699,9 +692,9 @@
"# }\n",
"\n",
"icon_map = {\n",
" \"scientist\": \"icon-user-scientist-alt-c\",\n",
" \"educator\": \"icon-user-student-alt-c\",\n",
" \"data scientist\": \"icon-user-data-alt-c\",\n",
" \"scientist\": \"icon-user-scientist-alt\",\n",
" \"educator\": \"icon-user-student-alt\",\n",
" \"data scientist\": \"icon-user-data-alt\",\n",
" \"monolithic\": \"icon-mono-c\",\n",
" \"modular\": \"icon-modular-c\",\n",
" \"on-demand\": \"icon-display-demand-c\",\n",
Expand Down
Binary file added public/images/thumbnails/farsight.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 62 additions & 8 deletions src/data/supernova.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
- bibtex: |-
@inproceedings{wangFarsightFosteringResponsible2024,
title = {Farsight: {{Fostering Responsible AI Awareness During AI Application Prototyping}}},
booktitle = {{{CHI Conference}} on {{Human Factors}} in {{Computing Systems}}},
author = {Wang, Zijie J. and Kulkarni, Chinmay and Wilcox, Lauren and Terry, Michael and Madaio, Michael},
year = {2024}
}
bibtexKey: wangFarsightFosteringResponsible2024
communication: one-way
description:
"Prompt-based interfaces for Large Language Models (LLMs) have made
prototyping and building AI-powered applications easier than ever before.
However, identifying potential harms that may arise from AI applications
remains a challenge, particularly during prompt-based prototyping. To
address this, we present Farsight, a novel in situ interactive tool that
helps people identify potential harms from the AI applications they are
prototyping. Based on a user's prompt, Farsight highlights news articles
about relevant AI incidents and allows users to explore and edit
LLM-generated use cases, stakeholders, and harms. We report design insights
from a co-design study with 10 AI prototypers and findings from a user study
with 42 AI prototypers. After using Farsight, AI prototypers in our user
study are better able to independently identify potential harms associated
with a prompt and find our tool more useful and usable than existing
resources. Their qualitative feedback also highlights that Farsight
encourages them to focus on end-users and think beyond immediate harms. We
discuss these findings and reflect on their implications for designing AI
prototyping experiences that meaningfully engage with AI harms. Farsight is
publicly accessible at: https://pair-code.github.io/farsight."
githubURL: https://github.com/PAIR-code/farsight
implementation: nova
layouts:
- on-demand
materials:
- runtime
modularity: modular
name: farsight
nameDisplay: Farsight
otherURLs: []
paperURL: https://arxiv.org/abs/2402.15350
releaseYear: 2024
sourceType: paper
supportedNotebooks:
- jupyter
- lab
- colab
thumbnail: farsight.jpg
user: data scientist

- bibtex:
"@inproceedings{wuB2BridgingCode2020,\n title = {B2: {{Bridging Code}}\
\ and {{Interactive Visualization}} in {{Computational Notebooks}}},\n shorttitle\
Expand Down Expand Up @@ -3573,12 +3621,18 @@
thumbnail: pypotree.webp
user: data scientist

- bibtex:
"@misc{eppersonAutoProfilerAutomaticallyProfile2022,\n title = {{{AutoProfiler}}:\
\ {{Automatically}} Profile Dataframes in the {{Jupyter}} Sidebar},\n author\
\ = {Epperson, Will},\n year = {2022},\n url = {https://github.com/cmudig/AutoProfiler},\n\
\ urldate = {2023-04-24}\n}\n"
bibtexKey: eppersonAutoProfilerAutomaticallyProfile2022
- bibtex: |-
@article{eppersonDeadAliveContinuous2023,
title = {Dead or {{Alive}}: {{Continuous Data Profiling}} for {{Interactive Data Science}}},
shorttitle = {Dead or {{Alive}}},
author = {Epperson, Will and Gorantla, Vaishnavi and Moritz, Dominik and Perer, Adam},
year = {2023},
journal = {IEEE Transactions on Visualization and Computer Graphics},
doi = {10.1109/TVCG.2023.3327367},
url = {https://ieeexplore.ieee.org/document/10301695/},
urldate = {2024-03-09}
}
bibtexKey: eppersonDeadAliveContinuous2023
communication: two-way
description: Automatically profile dataframes in the Jupyter sidebar.
githubURL: https://github.com/cmudig/AutoProfiler
Expand Down Expand Up @@ -5204,7 +5258,7 @@
user: data scientist

- bibtex:
"@misc{ToyplotInteractivePlotting2022,\n title = {Toyplot: {{Interactive}}\
"@misc{sandianationallaboratoriesToyplotInteractivePlotting2022,\n title = {Toyplot: {{Interactive}}\
\ Plotting for {{Python}}.},\n year = {2022},\n url = {https://github.com/sandialabs/toyplot},\n\
\ urldate = {2023-04-24},\n howpublished = {Sandia National Laboratories}\n\
}\n"
Expand Down Expand Up @@ -5672,7 +5726,7 @@
\ Yanna and Li, Haotian and Yang, Leni and Wu, Aoyu and Qu, Huamin}, \n journal={IEEE\
\ Transactions on Visualization and Computer Graphics}, \n year={2023}, \n publisher={IEEE}\n\
\ }\n"
bibtexKey: lin2023inksight
bibtexKey: linInkSightLeveragingSketch2023
communication: one-way
description:
Computational notebooks have become increasingly popular for exploratory
Expand Down

0 comments on commit 766360a

Please sign in to comment.