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

20 create level ranking system #21

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions assets/img/logos/level.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 13 additions & 19 deletions assets/js/utils/search-people.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ async function debouncedSearch(
options = {},
debounceTimeoutMs = 300,
) {
if (
options.filters.relevantCourses.length === 0 &&
options.filters.researchAreas.length === 0
) {
const searchResult = await pf.search(term);
return searchResult;
if (!options.filters.level) {
delete options.filters.level;
}
if (options.filters && options.filters.type) {
delete options.filters.type;
}

options.filters.relevantCourses = options.filters.relevantCourses.map(
(course) => course.toLowerCase(),
);
Expand All @@ -34,11 +32,6 @@ async function debouncedSearch(
if (thisSearchID !== currentSearchID) {
return null;
}

if (options.filters && options.filters.type) {
delete options.filters.type;
}

const searchResult = await pf.search(term, options);
if (thisSearchID !== currentSearchID) {
return null;
Expand All @@ -52,6 +45,7 @@ export default function searchPeople() {
filterType: "scientist",
filterResearchAreas: [],
filterRelevantCourses: [],
filterLevel: "",
query: "",
pagefind: null,
error: null,
Expand All @@ -76,6 +70,7 @@ export default function searchPeople() {
"filterType",
"filterResearchAreas",
"filterRelevantCourses",
"filterLevel",
]) {
this.$watch(param, () => this.search());
}
Expand All @@ -92,13 +87,10 @@ export default function searchPeople() {
if (this.filterType) {
options.filters = {
type: this.filterType,
researchAreas: this.filterResearchAreas.map((f) => f.value),
relevantCourses: this.filterRelevantCourses.map((f) => f.value),
level: this.filterLevel,
};
options.filters.researchAreas = this.filterResearchAreas.map(
(f) => f.value,
);
options.filters.relevantCourses = this.filterRelevantCourses.map(
(f) => f.value,
);
}

if (this.hasFilters && !query) {
Expand Down Expand Up @@ -151,6 +143,7 @@ export default function searchPeople() {
role: data.meta.role || "",
researchAreas: data.filters.researchAreas || [],
relevantCourses: data.filters.relevantCourses || [],
level: this.filterLevel,
image: data.meta.image,
alt: data.meta.image_alt,
srcset: data.meta.image_srcset,
Expand All @@ -163,7 +156,8 @@ export default function searchPeople() {
get hasFilters() {
return (
this.filterResearchAreas.length > 0 ||
this.filterRelevantCourses.length > 0
this.filterRelevantCourses.length > 0 ||
this.filterLevel
);
},

Expand Down
3 changes: 2 additions & 1 deletion content/scientist/Al-Kindi.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
}
,
"citations": ["https://doi.org/10.1017/CCOL0521817439.003"],
"layout": "person"
"layout": "person",
"level" : ["K12"]
}
32 changes: 32 additions & 0 deletions content/scientist/Arthur Bertram Cuthbert Walker Jr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"title": "name",
"name": "Arthur Bertram Cuthbert Walker Jr.",
"linktitle": "Arthur Bertram Cuthbert Walker Jr.",
"last": "Walker",
"institution_of_phd": "Case Institute of Technology (Case Western Reserve University)",
"field_of_phd": "Astrophysics",
"year_of_phd": "1962",
"researchAreas": ["Solar physics", "astrophysics", "astronomy"],
"images": ["/img/uploads/Arthur_B_C__Walker.jpg"],
"relevantCourses": [
"Astrophysics",
"Solar System Dynamics",
"High-Energy Astrophysics",
"Observational Astronomy",
"Astronomical Instrumentation",
"Radiative Processes in Astrophysics",
"Gravitational Dynamics"
],
"relevant_concepts": ["XUV telescopes", "telescopes"],
"wikipedia": "https://en.wikipedia.org/wiki/Arthur_B._C._Walker_Jr.",
"general_bio": "Arthur B.C. Walker Jr. was a prominent solar physicist who significantly advanced the field of XUV imaging of the solar corona. After earning his Ph.D. from the University of Illinois in 1962, he worked at the Space Physics Laboratory of the Aerospace Corporation and later joined Stanford University as a professor. Walker was instrumental in developing normal incidence multilayer XUV telescopes, leading to unprecedented high-resolution images of the solar corona. He was a dedicated mentor to many students, including Sally Ride, and actively worked to support and encourage underrepresented minorities in the sciences.",
"key_contributions": {
"normal incidence multilayer XUV telescopes": "Arthur B.C. Walker Jr. pioneered the development of normal-incidence multilayer extreme ultraviolet (XUV) telescopes, which utilize layered materials to reflect and focus XUV light at normal incidence (perpendicular to the surface). These telescopes are capable of capturing high-resolution images of the solar corona, allowing scientists to study the sun's outer atmosphere in unprecedented detail. This technology has been instrumental in advancing our understanding of solar phenomena, particularly the behavior and dynamics of the corona."
},
"citations": [
"http://www.math.buffalo.edu/mad/physics/walker_arthurbc.html",
"https://web.archive.org/web/20130826152433/https://aas.org/obituaries/arthur-b-c-walker-1936-2001"
],
"layout": "person",
"level" : ["UGLD"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@
"nuclear physics",
"beta decay"
],
"images": ["/img/uploads/Chien-shiung_Wu_(1912-1997)_C.jpg"],
"relevantCourses": [
"quantum mechanics",
"nuclear physics",
"statistical mechanics"
"Quantum Mechanics",
"Nuclear Physics",
"Statistical Mechanics",
"Particle Physics",
"Atomic Physics"
],
"relevant_concepts": [
"Parity Violation",
"Beta Decay"
],
"wikipedia": "https://en.wikipedia.org/wiki/Chien-Shiung_Wu",
"images": ["/img/uploads/Chien-shiung_Wu_(1912-1997)_C.jpg"],
"general_bio": "Chien-Shiung Wu was a Chinese-American experimental physicist who made significant contributions in the field of nuclear physics. She is best known for her work on the Manhattan Project and the Wu experiment, which provided critical experimental support for the theory of parity violation in weak nuclear interactions.",
"key_contributions": {
"Manhattan Project": "Worked on the development of the process to separate uranium into U-235 and U-238 isotopes by gaseous diffusion.",
Expand All @@ -29,5 +31,6 @@
"citations": [
"https://doi.org/10.1007/978-3-319-19204-8_8"
],
"layout": "person"
}
"layout": "person",
"level" : ["K12", "UGUD"]
}
34 changes: 34 additions & 0 deletions content/scientist/Donna Strickland.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"title": "Donna Strickland",
"name": "Donna Strickland",
"linktitle": "Donna Strickland",
"last": "Strickland",
"institution_of_phd": "University of Rochester",
"field_of_phd": "Physics",
"year_of_phd": "1989",
"researchAreas": ["Optical physics", "laser technology"],
"images": ["/img/uploads/donna-strickland.png"],
"relevantCourses": [
"Optics",
"Quantum Optics",
"Photonics",
"Laser Technology",
"Advanced Laboratory Techniques"
],
"relevant_concepts": ["Optics"],
"wikipedia": "https://en.wikipedia.org/wiki/Donna_Strickland",
"general_bio": "Donna Strickland is a Canadian physicist and Nobel laureate known for her pioneering work in laser technology. She earned her Ph.D. from the University of Rochester in 1989 under the supervision of Gérard Mourou. Strickland's work focuses on the development of high-intensity laser systems, including chirped pulse amplification, a technique that amplifies laser pulses without damaging the amplifying material. She is a professor at the University of Waterloo and has received numerous awards for her contributions to the field of optical physics. She was appointed as a Companion of the Order of Canada in 2019, one of Canada's highest civilian honors.",
"key_contributions": {
"Chirped pulse amplification": "Strickland and Gérard Mourou developed chirped pulse amplification, a method that stretches, amplifies, and compresses laser pulses, increasing their intensity without damaging the amplifying medium. This technique has transformed laser technology, making it possible to create extremely powerful and precise laser pulses, with applications in various scientific and industrial fields.",
"Ultrafast optical science advancements": "Strickland's research has significantly advanced the field of ultrafast optics, exploring new wavelengths and improving laser system precision. Her work has opened new avenues in scientific research, allowing for more detailed and accurate studies of ultrafast processes.",
"Development of high-intensity laser systems": "Strickland's innovations in high-intensity laser systems have had wide-ranging applications, from medical procedures like laser eye surgery to industrial processes such as laser micromachining. Her work has made lasers more powerful and versatile, enabling new technologies and techniques across various fields."
},
"citations": [
"https://uwaterloo.ca/physics-astronomy/profile/strickla",
"https://www.bbc.com/news/science-environment-45655151",
"https://www.nobelprize.org/prizes/physics/2018/strickland/biographical/",
"https://www.optica.org/history/biographies/bios/donna-t-strickland/"
],
"layout": "person",
"level" : ["K12", "G"]
}
33 changes: 27 additions & 6 deletions content/scientist/Henrietta Swan Leavitt.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,34 @@
"field_of_phd": "---",
"year_of_phd": "1892",
"researchAreas": ["astronomy", "observational astronomy", "variable stars", "novae"],
"relevantCourses": ["Introductory Astronomy", "Galactic Astronomy", "Women in Science"],
"relevant_concepts": ["astronomy", "variable stars", "stellar distances", "distance ladder", "period-luminosity relation", "Leavitt Law"],
"relevantCourses": [
"Introduction to Astronomy",
"Observational Astronomy",
"Galactic Dynamics",
"Stellar Structure and Evolution",
"Cosmology",
"Astrophysics",
"Mathematical Physics"
],
"relevant_concepts": [
"Astronomy",
"Variable Stars",
"Stellar Distances",
"Distance Ladder",
"Period-Luminosity Relation",
"Leavitt Law"
],
"wikipedia": "https://en.wikipedia.org/wiki/Henrietta_Swan_Leavitt",
"images": ["/img/uploads/henrietta-swan-leavitt.jpg"],
"general_bio": "Henrietta Swan Leavitt was born in 1868 in Massachusetts. She attended Radcliffe College, which was Harvard’s School for women at the time. Radcliffe College was a liberal arts college, so Leavitt studied a variety of subjects, including math, art, philosophy, and language. It was not until her final year of study that she took a course on astronomy at the Harvard College Observatory. Leavitt then became a volunteer as a research assistant at the Harvard College Observatory, where she would become a 'computer'. In this role, Leavitt analyzed the data from the telescopes that she was not allowed to operate. Leavitt studied variable stars, which are stars that vary in brightness over time. From this work studying variable stars, she deduced that there is a relationship between the star’s period of dimming and the star’s brightness in general. This property can then determine the distance between the earth and the star. Leavitt did suffer from health issues in her life and began to lose her hearing at age 17. In her adult life, she became deaf. She died at 53 years old from cancer on December 12th, 1921.",
"key_contributions":{
"Leavitt Law, period-luminosity relation" : "Period-Luminosity Relation (Leavitt Law): The Period-Luminosity relation was discovered by Henrietta Swan Leavitt in 1908 when studying Cepheids, which are stars that periodically dim and brighten. These Cepheids that Leavitt observed were located in the Large and Small Magellanic Clouds. It was seen that the brighter the Cepheids were, the longer it took for the Cepheids to complete a full cycle of dimming and brightening. From this, Leavitt devised the following equation m - M = 5 log(d,10), where d is distance, m is apparent magnitude, and M is absolute magnitude. This equation can then determine the distance between us, these Cepheids, and the bodies that the Cepheids are located in. This discovery gave tangible distances of the bodies that surround us and cued scientists into the astronomical size of the universe."},
"citations": ["https://pweb.cfa.harvard.edu/news/remembering-astronomer-henrietta-swan-leavitt", "https://www.nytimes.com/2024/03/27/obituaries/henrietta-leavitt-overlooked.html", "https://www.atnf.csiro.au/outreach/education/senior/astrophysics/variable_cepheids.html"],
"layout": "person"
}
"Leavitt Law, period-luminosity relation" : "Period-Luminosity Relation (Leavitt Law): The Period-Luminosity relation was discovered by Henrietta Swan Leavitt in 1908 when studying Cepheids, which are stars that periodically dim and brighten. These Cepheids that Leavitt observed were located in the Large and Small Magellanic Clouds. It was seen that the brighter the Cepheids were, the longer it took for the Cepheids to complete a full cycle of dimming and brightening. From this, Leavitt devised the following equation m - M = 5 log(d,10), where d is distance, m is apparent magnitude, and M is absolute magnitude. This equation can then determine the distance between us, these Cepheids, and the bodies that the Cepheids are located in. This discovery gave tangible distances of the bodies that surround us and cued scientists into the astronomical size of the universe."
},
"citations": [
"https://pweb.cfa.harvard.edu/news/remembering-astronomer-henrietta-swan-leavitt",
"https://www.nytimes.com/2024/03/27/obituaries/henrietta-leavitt-overlooked.html",
"https://www.atnf.csiro.au/outreach/education/senior/astrophysics/variable_cepheids.html"
],
"layout": "person",
"level" : ["G"]
}
33 changes: 33 additions & 0 deletions content/scientist/J Ernest Wilkins Jr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title":"J. Ernest Wilkins Jr.",
"name":"J. Ernest Wilkins Jr.",
"linktitle":"J Ernest Wilkins Jr",
"last":"Wilkins",
"institution_of_phd":"University of Chicago",
"field_of_phd":"Mathematics",
"year_of_phd":"1942",
"researchAreas":["nuclear physics","mathematical physics"],
"images": ["/img/uploads/J._Ernest_Wilkins,_Jr._9.jpg"],
"relevantCourses": [
"Thermodynamics",
"Nuclear Physics",
"Mathematical Physics",
"Statistical Mechanics",
"Quantum Mechanics",
"Advanced Laboratory Techniques"
],
"relevant_concepts": [
"Thermodynamics",
"Maxwell-Boltzmann distribution"
],
"wikipedia":"https://en.wikipedia.org/wiki/J._Ernest_Wilkins_Jr",
"general_bio":"Born in 1923, J. Ernest Wilkins, Jr. entered the University of Chicago at age 13, and received his Ph.D. at age 19. His first job was teaching mathematics at the Tuskegee Institute (now Tuskegee University). He co-discovered the Wigner-Wilkins approach for estimating the distribution of neutron energies in nuclear reactors in 1944 (declassified in 1948). He worked with Fermi and Compton on the Manhattan Project (without knowing the ultimate goal of the work until after the atomic bomb was dropped) in the early 1940s. Distinguished Professor of Applied Mathematical Physics at Howard University in 1970. He was the second African American to be elected to the National Academy of Engineers in 1976. He published more than 100 papers on differential geometry, linear differential equations, integrals, nuclear engineering, gamma radiation shielding, and optics. He passed away at age 87 in 2011.",
"key_contributions": {
"Wigner-Wilkins approach": "In a nuclear reactor, energy is released when uranium atoms fission, or split, after being hit by a neutron. Each fission also releases additional neutrons, which bounce around within the reactor at a variety of energies. Wigner and Wilkins' work on determining the energy distribution of such neutrons is a foundation of nuclear physics, still cited by researchers today. Those neutrons go on to initiate more fissions, producing a chain reaction, so understanding their energies is crucial for designing reactors.",
"Radiation Shielding Theory": "Developed significant theories in radiation shielding that are still in use today.",
"Mathematical Models": "Created mathematical models that have advanced the understanding of nuclear physics."
},
"citations":["https://doi.org/10.1007/978-3-642-77425-6_33"],
"layout":"person",
"level" : ["UGLD", "UGUD"]
}
Loading
Loading