-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cambios Para Elecciones Presidenciales #1
Open
Dofas1
wants to merge
19
commits into
main
Choose a base branch
from
Presidenciales
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
la salida estaba entes ordenada como una salida de String
{ name: 'YoMismo', informacion: { N_Candidatos: '40', Cupos: '5', Poblacion_del_distrito: '11.880', Distrito: '19' }, coherencia: 'TIENES AFINICDAD CON EL PACTO : APRUEBO DIGNIDAD', //Cambio Importante mejoresCandidatos: [ { Nombre1: 'Gabriel�Boric', AporteServel: ' 23.900.000.0 ', NAportantes: '456', GrandesAportes: '', Lista: 'APRUEBO DIGNIDAD', Partido: 'CS + RD', Web: 'https://boricpresidente.cl/', Codigo_candidato: '1', Porcentaje_Cercania: '94.8%' }, { Nombre1: 'Daniel Jadue', AporteServel: ' 11.000.000.0 ', NAportantes: '92', GrandesAportes: '', Lista: 'APRUEBO DIGNIDAD', Partido: 'PC', Web: 'https://www.danieljaduepresidente.cl/', Codigo_candidato: '2', Porcentaje_Cercania: '101.5%' }, { Nombre1: 'Pamela Jiles', AporteServel: ' 1.000.0 ', NAportantes: '1', GrandesAportes: '', Lista: 'PARTIDO HUMANISTA', Partido: 'PH', Web: '', Codigo_candidato: '3', Porcentaje_Cercania: '79.5%' }, { Nombre1: 'Paula Narv�ez', AporteServel: ' 1.000.0 ', NAportantes: '1', GrandesAportes: '', Lista: 'UNIDAD CONSTITUYENTE', Partido: 'PS + PPD', Web: '', Codigo_candidato: '4', Porcentaje_Cercania: '80.9%' }, { Nombre1: 'Carlos Maldonado', AporteServel: ' 1.000.0 ', NAportantes: '1', GrandesAportes: '', Lista: 'UNIDAD CONSTITUYENTE', Partido: 'PR', Web: '', Codigo_candidato: '5', Porcentaje_Cercania: '80.3%' }, { Nombre1: 'Yasna Provoste', AporteServel: ' 1.000.0 ', NAportantes: '1', GrandesAportes: '', Lista: 'UNIDAD CONSTITUYENTE', Partido: 'DC', Web: '', Codigo_candidato: '6', Porcentaje_Cercania: '76.3%' }, { Nombre1: 'Mario Desbordes', AporteServel: ' 28.700.000.0 ', NAportantes: '78', GrandesAportes: '', Lista: 'CHILE VAMOS', Partido: 'RN', Web: 'https://desbordes.cl/', Codigo_candidato: '7', Porcentaje_Cercania: '52.3%' }, { Nombre1: 'Sebasti�n Sichel', AporteServel: ' 96.600.000.0 ', NAportantes: '119', GrandesAportes: 'Candidato fuertemente financiado', Lista: 'CHILE VAMOS', Partido: 'IND ', Web: '', Codigo_candidato: '8', Porcentaje_Cercania: '51.9%' }, { Nombre1: 'Joaqu�n Lav�n', AporteServel: ' 66.300.000.0 ', NAportantes: '35', GrandesAportes: 'Candidato fuertemente financiado', Lista: 'CHILE VAMOS', Partido: 'UDI', Web: '', Codigo_candidato: '9', Porcentaje_Cercania: '48.0%' }, { Nombre1: 'Ignacio Briones', AporteServel: ' 100.900.000.0 ', NAportantes: '161', GrandesAportes: 'Candidato fuertemente financiado', Lista: 'CHILE VAMOS', Partido: 'EVO', Web: '', Codigo_candidato: '10', Porcentaje_Cercania: '48.4%' }, { Nombre1: 'Jos� Kast', AporteServel: ' 1.000.0 ', NAportantes: '1', GrandesAportes: '', Lista: 'REP', Partido: 'REP', Web: '', Codigo_candidato: '11', Porcentaje_Cercania: '40.5%' } ] }
- Update questions 27. - Fix question 11
- Fix any questions. - Add background random. - Update database Candidates. - Add new format in the input web.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Se limita la cantidad de candidatos a 20, se entrega una salida según candidatos activos, es decir si estan solo 11 activos, la salida será con los resultados de estos 11, el ordenamiento es DisL+DisC, la salida tiene el formato parecido, solo que ahora no existe peor candidato y se muestran todos los candidatos de la lista y sus porcentajes de cercanía