Skip to content

Commit

Permalink
fix: update Paper type to allow null values for subsection
Browse files Browse the repository at this point in the history
  • Loading branch information
XuhuiZhou committed May 5, 2024
1 parent a6e3061 commit dfcfffb
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 42 deletions.
1 change: 1 addition & 0 deletions bibtex_to_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def bibtex_to_table(bibtex: str, taxonomy: dict[str, list[str]]) -> tuple[str, s
other: string
url: string
bibtex: string
subsection: string
}
export const data: Paper[] = [""", file=file)
Expand Down
82 changes: 41 additions & 41 deletions components/data/chartData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,29 +131,29 @@ export const area_data = [
human: 1,
rule_based: 1,
human_agent: 1,
more_information_asymmetrical: 0,
simulated_humans: 0,
agents_with_memory: 0,
text: 0,
more_omniscient: 0,
embodied: 0,
finetuning: 0,
virtual: 0,
prompting_and_in_context_learning: 0,
two_agents: 0,
qualitative: 0,
not_applicable: 0,
model_based: 0,
education: 0,
simulated_humans: 0,
agents_with_memory: 0,
more_than_three_agents: 0,
competition: 0,
fully_omniscient: 0,
education: 0,
prompting_and_in_context_learning: 0,
health: 0,
agent_teams: 0,
not_applicable: 0,
policy: 0,
more_than_three_agents: 0,
pretraining: 0,
health: 0,
qualitative: 0,
embodied: 0,
agents_with_personas: 0,
more_omniscient: 0,
more_information_asymmetrical: 0,
policy: 0,
virtual: 0,
text: 0,
implicit_objectives: 0,
two_agents: 0,
},
{
name: '2016',
Expand All @@ -173,19 +173,19 @@ export const area_data = [
rule_based: 2,
embodied: 1,
more_than_three_agents: 1,
more_information_asymmetrical: 0,
more_omniscient: 0,
not_applicable: 0,
model_based: 0,
simulated_humans: 0,
agents_with_memory: 0,
prompting_and_in_context_learning: 0,
model_based: 0,
education: 0,
fully_omniscient: 0,
education: 0,
prompting_and_in_context_learning: 0,
health: 0,
agent_teams: 0,
not_applicable: 0,
policy: 0,
pretraining: 0,
health: 0,
more_omniscient: 0,
more_information_asymmetrical: 0,
policy: 0,
implicit_objectives: 0,
},
{
Expand All @@ -203,22 +203,22 @@ export const area_data = [
robotics: 1,
qualitative: 1,
human: 1,
more_information_asymmetrical: 0,
simulated_humans: 0,
more_omniscient: 0,
embodied: 0,
finetuning: 0,
collaboration: 0,
prompting_and_in_context_learning: 0,
model_based: 0,
education: 0,
simulated_humans: 0,
more_than_three_agents: 0,
fully_omniscient: 0,
education: 0,
prompting_and_in_context_learning: 0,
health: 0,
agent_teams: 0,
policy: 0,
more_than_three_agents: 0,
pretraining: 0,
health: 0,
embodied: 0,
agents_with_personas: 0,
more_omniscient: 0,
more_information_asymmetrical: 0,
policy: 0,
implicit_objectives: 0,
},
{
Expand Down Expand Up @@ -248,11 +248,11 @@ export const area_data = [
health: 1,
education: 1,
more_omniscient: 1,
more_information_asymmetrical: 0,
model_based: 0,
agent_teams: 0,
policy: 0,
pretraining: 0,
more_information_asymmetrical: 0,
policy: 0,
},
{
name: '2019',
Expand All @@ -278,14 +278,14 @@ export const area_data = [
agent_teams: 1,
model_based: 1,
health: 1,
more_information_asymmetrical: 0,
more_omniscient: 0,
simulated_humans: 0,
agents_with_memory: 0,
education: 0,
fully_omniscient: 0,
policy: 0,
education: 0,
pretraining: 0,
more_omniscient: 0,
more_information_asymmetrical: 0,
policy: 0,
},
{
name: '2020',
Expand Down Expand Up @@ -316,9 +316,9 @@ export const area_data = [
education: 1,
more_omniscient: 1,
pretraining: 3,
more_information_asymmetrical: 0,
agents_with_memory: 0,
agent_teams: 0,
more_information_asymmetrical: 0,
},
{
name: '2021',
Expand Down Expand Up @@ -348,10 +348,10 @@ export const area_data = [
more_omniscient: 1,
agents_with_personas: 1,
prompting_and_in_context_learning: 1,
more_information_asymmetrical: 0,
agents_with_memory: 0,
fully_omniscient: 0,
pretraining: 0,
more_information_asymmetrical: 0,
},
{
name: '2022',
Expand Down Expand Up @@ -383,8 +383,8 @@ export const area_data = [
education: 6,
policy: 2,
more_omniscient: 2,
more_information_asymmetrical: 0,
fully_omniscient: 0,
more_information_asymmetrical: 0,
},
{
name: '2023',
Expand Down
2 changes: 1 addition & 1 deletion components/papers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type Paper = {
other: string
url: string
bibtex: string
subsection: string|null
subsection: string
}

export const data: Paper[] = [
Expand Down

0 comments on commit dfcfffb

Please sign in to comment.